Hello friends,
I am having some problems with a sub form which does not display data as I wish.
My db refers to a small insurance company. Clients are identified with a number (similar to the SSN but it is not a SSN) ending with either one or two characters which indicate the type of clients (worker, spouse or child).
Once users type the insurance number in the search box, a list box will display all records that relate that number. By double clicking on a selected record, a form displays r data related to that record.
In this form, I would like to add a sub form which displays data for all the other clients except the one selected in the list box. I have been able to do this but cannot understand how to display also the last or last two characters which identify the client.
Example:
Records selected 000-00-0000W
The main form will display data related to 000-00-0000W
The sub form should display data related to 000-00-0000S and 000-00-0000C.
I am attaching a simple db file which hopefully makes it more clear where I am doing wrong.
Thank you for any help.
I am having some problems with a sub form which does not display data as I wish.
My db refers to a small insurance company. Clients are identified with a number (similar to the SSN but it is not a SSN) ending with either one or two characters which indicate the type of clients (worker, spouse or child).
Once users type the insurance number in the search box, a list box will display all records that relate that number. By double clicking on a selected record, a form displays r data related to that record.
In this form, I would like to add a sub form which displays data for all the other clients except the one selected in the list box. I have been able to do this but cannot understand how to display also the last or last two characters which identify the client.
Example:
Records selected 000-00-0000W
The main form will display data related to 000-00-0000W
The sub form should display data related to 000-00-0000S and 000-00-0000C.
I am attaching a simple db file which hopefully makes it more clear where I am doing wrong.
Thank you for any help.