changing form field source?

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

I have a text field on a form that's connected to a query source field.
However I'd like to sometimes connect it to another field instead. Is that
possible?

/e
 
To change the control's controlsource property, open the form in Design
View. Open the property sheet (double-click on the text box or open it from
the tool bar or View menu) Go to the Data tab and click in the controlsource
property. Using the down arrow, select the field you want.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
Arvin said:
To change the control's controlsource property, open the form in
Design View. Open the property sheet (double-click on the text box or
open it from the tool bar or View menu) Go to the Data tab and click
in the controlsource property. Using the down arrow, select the field
you want.

Or consider putting both fields in or maybe a trigger to switch the
source.
 
sry, I meant during runtime, ie what I want to do is to check if the field
is empty, if that is the case I want to switch to the other controlsource.

/e
 

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