Simple syntax in a form

G

Guest

Can you provide me with the correct expression to show data in one form onto
another form? The expression would be typed in the Control Source of "Form A"
and the data viewed is in Form B:

IF FormA ClientID = FormB ClientID show FormB, field [ArtCompleted]

I tried the following and it doesn't work (don't know how to have ClientID =
ClientID and can't have a subform as FormA as to remain a continuous form)

=[FormB]![ArtCompleted]

THANK YOU
 
G

Guest

To get a value from another form
=Forms![FormName]![FieldName]

To get a value from a subform
=Forms![FormName]![SubFormName].Form![FieldName]
 
G

Guest

That part works but how do I link to the main form by clientId again without
inserting a subform?

Ofer said:
To get a value from another form
=Forms![FormName]![FieldName]

To get a value from a subform
=Forms![FormName]![SubFormName].Form![FieldName]

--
Please respond to the group if your question been answered or not, so other
can refer to it.
Thank you and Good luck



VAL said:
Can you provide me with the correct expression to show data in one form onto
another form? The expression would be typed in the Control Source of "Form A"
and the data viewed is in Form B:

IF FormA ClientID = FormB ClientID show FormB, field [ArtCompleted]

I tried the following and it doesn't work (don't know how to have ClientID =
ClientID and can't have a subform as FormA as to remain a continuous form)

=[FormB]![ArtCompleted]

THANK YOU
 

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

Top