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

Seeting the row source value of a list box to parameter SP

Status
Not open for further replies.

Zirak

MIS
Feb 3, 2003
164
US
Hi,
I'm trying to set the row source of a list box to a parameterized SP through code.

If I set the ro source to a SP and the parameter is the same as one of the fields in the form its OK. But if I set the row source to somthing like
Me.ResList.RowSource="dbo.SP_getResult @prm='" & intID & "'"
it won't work.
Is the only work around to have all the parameters as hidden fields in the form?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top