Re: Automatically populate a form field
From: Leah (anonymous_at_discussions.microsoft.com)
Date: 04/14/04
- Next message: Dan M: "Re: DLookup in Access Project"
- Previous message: nico: "unable to goto new record"
- In reply to: Gerald Stanley: "Re: Automatically populate a form field"
- Next in thread: Leah: "Re: Automatically populate a form field"
- Reply: Leah: "Re: Automatically populate a form field"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 14 Apr 2004 08:40:54 -0700
Thank you!
>-----Original Message-----
>If Form2 is being opened as non-modal, your code should
>look something like
>DoCmd.OpenForm "Form2"
>Forms!Form2!txtCustomerName = Me.txtCustomerName
>
>You will have to change txtCustomerName to the control
>names that you have on your forms.
>
>Hope This Helps
>Gerald Stanley MCSD
>>-----Original Message-----
>>If I have 2 forms, one being the main form and the
second
>>being form two, how can I populate a field in form 2
when
>>it is triggered by the main form?
>>
>>For instance, If I select and option button in the main
>>form that triggers form 2, I would like the name of the
>>Customer from the main form to be populated in the form
2
>>CustomerName field.
>>
>>Any help would be appreciated. Thanks!!
>>.
>>
>.
>
- Next message: Dan M: "Re: DLookup in Access Project"
- Previous message: nico: "unable to goto new record"
- In reply to: Gerald Stanley: "Re: Automatically populate a form field"
- Next in thread: Leah: "Re: Automatically populate a form field"
- Reply: Leah: "Re: Automatically populate a form field"
- Messages sorted by: [ date ] [ thread ]