Hi Experts!
In my Access DB, I have a data entry form as the main form which includes ‘HospName’ and other information. The ‘HospName’ was selected from a list in the main form. I also created a subform linked to the main form by ‘HospName’ which I want to show all the entered record for the selected ‘HospName’ whenever the data entry person click the list from the main form. Both main form and subform are linked to the same table. When I choose the existing record of the form it works fine -- subform gives me all the record for the selected ‘hospname’. But when I go to a new record and select a ‘hospName’, nothing shows up in the subform. I think it is because the record in Access is updated only after you go to next.
How can I realize my original design?
Thank you in advance,
In my Access DB, I have a data entry form as the main form which includes ‘HospName’ and other information. The ‘HospName’ was selected from a list in the main form. I also created a subform linked to the main form by ‘HospName’ which I want to show all the entered record for the selected ‘HospName’ whenever the data entry person click the list from the main form. Both main form and subform are linked to the same table. When I choose the existing record of the form it works fine -- subform gives me all the record for the selected ‘hospname’. But when I go to a new record and select a ‘hospName’, nothing shows up in the subform. I think it is because the record in Access is updated only after you go to next.
How can I realize my original design?
Thank you in advance,