Hi all,
Here's the dilema,
I have a main form which houses Demographic info on patients. On that Main Form is the first Subform "Admission Info" and on the Admission Info Subform there lives another sub-subform "Discharge Info". (all three linked by a common ID#) Unfortunately, this methodology is needed due to circumstances too painful and frustrating to go into...
Question is - Can I create a command button that will allow the user to create a new record for both the Admission Info Subform AND the Discharge Info Sub-Subform?
I have tried using a macro with two commands, one for the Admission Info Subform stating "GotoRecord - New" and another for the Discharge info stating the same. This does not work because when I open the Main Form and click on the command button the popup error box tells me that the form "Admission Info" isn't open and then halts me. Please help me if you can!!
If it helps, i'm using both 97 (at work) and 2000 (at home) and I don't know much about writing code so be gentle.
Thanks in advance,
Andy
Here's the dilema,
I have a main form which houses Demographic info on patients. On that Main Form is the first Subform "Admission Info" and on the Admission Info Subform there lives another sub-subform "Discharge Info". (all three linked by a common ID#) Unfortunately, this methodology is needed due to circumstances too painful and frustrating to go into...
Question is - Can I create a command button that will allow the user to create a new record for both the Admission Info Subform AND the Discharge Info Sub-Subform?
I have tried using a macro with two commands, one for the Admission Info Subform stating "GotoRecord - New" and another for the Discharge info stating the same. This does not work because when I open the Main Form and click on the command button the popup error box tells me that the form "Admission Info" isn't open and then halts me. Please help me if you can!!
If it helps, i'm using both 97 (at work) and 2000 (at home) and I don't know much about writing code so be gentle.
Thanks in advance,
Andy