Data Linking between Forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form called [frm_NewQuote] where I enter certain data. upon entering
this data it automatically assigns a Unique Identifier called [OrderInfoID].
Then when I finish filling out the entries I want to hit a command button
[Command99]. I want this to automatically open a different form
[frm_QuoteDetails]. When it opens this form I want [OrderInfoID] from
[frmNewQuote] to automatically update into [OrderInfoID] from
[frm_QuoteDetails].

I've tried using the wizard with the command button but the link doesn't
work.
I'm terrible at Coding so could you please write out exactly what my code
should look like based on the names I've given above. If you need more names
then what is there then please let me know so I can give them too you. I've
been stuck on this for 3 days and I'm out of ideas and not knowledgable
enough to know how to fix my code.

Thank you in advance.
Travis
 
I have a form called [frm_NewQuote] where I enter certain data. upon entering
this data it automatically assigns a Unique Identifier called [OrderInfoID].
Then when I finish filling out the entries I want to hit a command button
[Command99]. I want this to automatically open a different form
[frm_QuoteDetails]. When it opens this form I want [OrderInfoID] from
[frmNewQuote] to automatically update into [OrderInfoID] from
[frm_QuoteDetails].

I've tried using the wizard with the command button but the link doesn't
work.
I'm terrible at Coding so could you please write out exactly what my code
should look like based on the names I've given above. If you need more names
then what is there then please let me know so I can give them too you. I've
been stuck on this for 3 days and I'm out of ideas and not knowledgable
enough to know how to fix my code.

If you want to avoid coding completely, and have the link maintained
automatically and easily, consider making frm_QuoteDetails a Subform
of frm_NewQuote. Use OrderinfoID as the Master and Child Link Field.

If you're short of screen space, you can put a Tab Control on the
form; put all of the controls currently on frm_NewQuote onto the first
page of the tab control, and the subform on the second.

John W. Vinson[MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top