create button to link 2 forms

kevin19

Registered User.
Local time
Today, 01:16
Joined
Jan 28, 2013
Messages
81
Hi All!
Wonder anyone can help me?
I have a main form called Task (master field) which has a sub form named Notes (child field) They are linked by the task ID.
I created a button to open the Notes form to add a new record. But I need to link this new note to the current record of the main form Task.
How can I do this? Any advice is much appreciated. Thanks!
 
Not sure why you need to create a Command Button to open a Data Entry form ... and I strongly suspect this is where the disconnect is arising.

If you have the Main and Subform linked then you should be able to add Notes in the subform to any record displayed/selected in the Main form. Just make sure the Properties in the subform allow you to Edit and Add Records.
 

Users who are viewing this thread

Back
Top Bottom