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

how to retrive values from DB at runtime

Status
Not open for further replies.
Nov 29, 2001
1
GB
Hi - I am writing a report in BO 5.1.2, which prompts the user to enter a value, as follows:
@prompt('Enter classes?','A',{<values>},multi,constrained)

My question is, how can I get the <values> variable to be a list of the values in a particular table column in the DB I am querying on?

If I were to use SQL, the <values> would look like 'select distinct name from class'. I imagine its possible with VB, but I don't have that. Or perhaps a stored proc? Obviously the best way would be to do it on the fly.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top