Microsoft Office Forums


Reply
Thread Tools Display Modes

Filling control in a form from a calling form

 
 
SAC
Guest
Posts: n/a

 
      11-12-2003, 08:55 PM
I have a form with a command button on it.

The command button opwns another form and I'd like some of the data from the
1st form to be inserted into some of the controls on the 2nd form when it
opens.

The second form is unbound.

Do I need to make a temp table?

Thanks.



 
Reply With Quote
 
 
 
 
Gary Miller
Guest
Posts: n/a

 
      11-12-2003, 09:08 PM
No, you shouldn't need to make a temp table as you can do
this from the code that opens the form. You can do something
like this using your correct names, of course...

DoCmd.OpenForm "Form2Name"

Forms!frmForm2Name!1stControl = Me!1stControl
Forms!frmForm2Name!2stControl = Me!2stControl
--

Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
"SAC" <(E-Mail Removed)> wrote in message
news:uX$(E-Mail Removed)...
> I have a form with a command button on it.
>
> The command button opwns another form and I'd like some of

the data from the
> 1st form to be inserted into some of the controls on the

2nd form when it
> opens.
>
> The second form is unbound.
>
> Do I need to make a temp table?
>
> Thanks.
>
>
>



 
Reply With Quote
 
SAC
Guest
Posts: n/a

 
      11-12-2003, 09:31 PM
Got it! Thanks!

"Gary Miller" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> No, you shouldn't need to make a temp table as you can do
> this from the code that opens the form. You can do something
> like this using your correct names, of course...
>
> DoCmd.OpenForm "Form2Name"
>
> Forms!frmForm2Name!1stControl = Me!1stControl
> Forms!frmForm2Name!2stControl = Me!2stControl
> --
>
> Gary Miller
> Gary Miller Computer Services
> Sisters, OR
> ________________________
> "SAC" <(E-Mail Removed)> wrote in message
> news:uX$(E-Mail Removed)...
> > I have a form with a command button on it.
> >
> > The command button opwns another form and I'd like some of

> the data from the
> > 1st form to be inserted into some of the controls on the

> 2nd form when it
> > opens.
> >
> > The second form is unbound.
> >
> > Do I need to make a temp table?
> >
> > Thanks.
> >
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filling out a form to create a template for another form? David Moore Infopath Newsgroup 0 03-21-2007 06:02 PM
cant re-open a form with the infopath form control in a windows ap Daniel Infopath Newsgroup 0 08-30-2006 06:44 AM
Infopath Form Control within Outlook Form Region Sachin Infopath Newsgroup 0 08-08-2006 08:19 PM
Filling out form without InfoPath Marie-Lynn Infopath Newsgroup 3 02-22-2006 01:56 PM
OnLoad hasn't been executed when filling out a form in SPS form library mj Infopath Newsgroup 0 08-19-2004 02:12 AM



All times are GMT. The time now is 02:16 PM.