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

Stored procedure as combo box row source 2

Status
Not open for further replies.

tellytubbie

Programmer
Oct 29, 2003
6
AU
Hi all
any one know the syntax I need ot use a stored procedure as the rowsource on a combo box and to pass in a parameter?
tia
Glenn
 
I don't believe you can do it with the Tabs/Properties provided in the combobox. If I remember correctly, a pass-through query is a work around.
 
Thanks cmmrfrds - as I understand it, I can't use pass through queries in a project, aren't they just for odbc. What I was hoping for was to set my rowsource to something like

me.cbMyCombo.rowsource='exec spMyLookup @Key=12345'
or
me.cbMyCombo.rowsource='spMyLookup 12345'
or
me.cbMyCombo.rowsource='spMyLookup(12345)'

etc

thanks
glenn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top