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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Choose Function

Status
Not open for further replies.

d1004

Programmer
May 9, 2002
78
US
Can somebody help me explain how the choose function works.
Code:
Choose([ServiceCenters]![ID],15,30,46,61,0,0,0,0,0,0,95)

If this code is in an update query, and the criteria are met, then it will choose one of this value and updated in the ID field of the ServiceCenters Table?
 
What is it about the Help topic that you don't understand? It seems quite clear to me. Rick Sprague
Want the best answers? See faq181-2886
To write a program from scratch, first create the universe. - Paraphrased from Albert Einstein
 
Hi d1,

(Very subtle Tek-Tips (and sneaky)).

Choose basically contains the values that your [ServiceCentres]![ID] may contain.

You should use it like this:

=Choose([ServiceCenters]![ID],15,30,46,61,0,0,0,0,0,0,95)

in a text field control source property.

You are basically limiting the possible values allowed in this field. (As far as I can see).

(I hope Rick the explains it all for us - lol).

Regards,

Darrylle "Never argue with an idiot, he'll bring you down to his level - then beat you with experience." darrylles@totalise.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top