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

Selection Formula in ASP

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi there,

I have this statement in ASP code:

selection_formula = cstr("{stock.stockno}") & cstr("=") & " " & cstr("1000")

And i have this error message:

cpeaut32 error '800a5023'

Error in formula <Record_Selection>. '{stock.stockno}= 1000' A number, currency amount, boolean or string is expected here.

Does anyone know what is wrong with my syntax?

Thanx :)
 
try using the following format:
selection_formula = &quot;{stock.stockno}=&quot; & &quot;1000&quot;
--Mukhben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top