Hi,
I've "inherited" this database from someone that has departed our office.
I've been brain-dead and am in need of help...please. I have a database with a Main table where RecordID is the primary key - autonumber. I have another table called DMC where RecordID is set up in a relationship with Main table RecordID. Records in DMC can have more than one entry per RecordID. The users enter the information in a Main form. On the Main form, I have a subform (datasheet view) based on the DMC table. This subform includes three fields: RecordID, DMC#, and DMC Date. The users now would like to do a search on the DMC# field on the subform. I have a Find button on the Main form, but it only works on the Main form. The prompt appears for their criteria, but the message says there are no records. They want to enter a DMC#, and have the appropriate record show. There could be more than one RecordID with the same DMC# and Date. Can I code this button to also search the subform, or is there a better way to go about it? Or does this need to be reworked? I'm probably making it harder than it really is. Any help is appreciated.
I've "inherited" this database from someone that has departed our office.
I've been brain-dead and am in need of help...please. I have a database with a Main table where RecordID is the primary key - autonumber. I have another table called DMC where RecordID is set up in a relationship with Main table RecordID. Records in DMC can have more than one entry per RecordID. The users enter the information in a Main form. On the Main form, I have a subform (datasheet view) based on the DMC table. This subform includes three fields: RecordID, DMC#, and DMC Date. The users now would like to do a search on the DMC# field on the subform. I have a Find button on the Main form, but it only works on the Main form. The prompt appears for their criteria, but the message says there are no records. They want to enter a DMC#, and have the appropriate record show. There could be more than one RecordID with the same DMC# and Date. Can I code this button to also search the subform, or is there a better way to go about it? Or does this need to be reworked? I'm probably making it harder than it really is. Any help is appreciated.