swompfrawg
03-21-2001, 10:10 AM
This seems like it should be easy, but for the life of me I can't figure it out.
I have a table that holds client information with the primary key as the client number.
example fields: Client#, LName, FirstName, ID#
Clients are given a number in a specific range for 4 different "types" of clients. For example, numbers from 1000 to 4999 are used for type A, 5000 to 9999 for type B, and so on.
All records are entered into one table through a data entry form. As a convenience to the person entering the data, i would like to be able to display the last client number for each type of client - this way the clerk can easily determine which client number to use for a new client.
I assumed this could be done with 4 queries and a 4 calculated text boxes on the form. So i made 4 queries - all they do is determine the last client number used for that specific type (A, B, C, D) So each query only returns one field and one value.
And here's where I have trouble. I can't figure out how to make the form display that one value from each of the 4 queries. Any ideas would be a big help!! I hope this makes sense....
I have a table that holds client information with the primary key as the client number.
example fields: Client#, LName, FirstName, ID#
Clients are given a number in a specific range for 4 different "types" of clients. For example, numbers from 1000 to 4999 are used for type A, 5000 to 9999 for type B, and so on.
All records are entered into one table through a data entry form. As a convenience to the person entering the data, i would like to be able to display the last client number for each type of client - this way the clerk can easily determine which client number to use for a new client.
I assumed this could be done with 4 queries and a 4 calculated text boxes on the form. So i made 4 queries - all they do is determine the last client number used for that specific type (A, B, C, D) So each query only returns one field and one value.
And here's where I have trouble. I can't figure out how to make the form display that one value from each of the 4 queries. Any ideas would be a big help!! I hope this makes sense....