Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting a control on a combobox

Status
Not open for further replies.

mooneye

Technical User
Jan 14, 2002
27
0
0
IE
I have a combobox which is used to indicate a records staus. I am trying to set a control on this combobox so that it may only have a status of 'closed' when a particular field has information in it.
 
Hi, might look cleaner using a text box, but something like
this would work as the control source:

=iif([yourstatus] = "status1", "Closed","")

Hope that helps.

 
in the "Particular Field" after update event, use code similar to below.

If not isnull(particular field) then
comboboxcontrol="closed"
else
comboboxcontrol="Open"
end if

Some better suggestions may come up from others but this may get you started.


Good day
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top