Assigning values

  • Thread starter Thread starter TBird
  • Start date Start date
T

TBird

I have a text box on a form with look up values assigned-"SHIP METH".
The field is for mode of shipment so the look up values are: UPS,
FEDEX, USPS, and Other. If "Other" is selected, I want a window to pop
up instructing the user to define "Other" in a text box below. How do
I do this?
 
In the after update property of the text box put the code:

If me.SHIP_METH = "Other" then
Msgbox " Define Other in text box below"
End If

Realize that this will only put up a pop up form telling
the user to define Other and will not actually make the
user do anything other than acknowlege the message box.

-----Original Message-----
I have a text box on a form with look up values assigned- "SHIP METH".
The field is for mode of shipment so the look up values are: UPS,
FEDEX, USPS, and Other. If "Other" is selected, I want a window to pop
up instructing the user to define "Other" in a text box below. How do
I do this?



------------------------------------------------
 
On Update:
If Me![FieldName] = "Other" then Me![OtherText].Visible = -
1 Else Me![OtherText].Visible = 0.
 

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