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

SQL Backend Report limited by form value?

Status
Not open for further replies.

MadBnz

Technical User
Jan 30, 2002
18
NZ
Hello, I have an Access 2000 ADP connecting to a SQL backend. I want to print a report of a single record based on the value of a field called OID of type INT.

I have tried putting into the reports record source the criteria of OID
= Forms!Orders!OID
to get its Value but Access 2000 changes it to
= '[Forms]![Orders]![OID]'
and from then on it use the above as a string and not its value, and cannot change the VARCHAR to type INT. I have tried using " instead of ' but have had no luck.

HELP!
 
Fixed the problem - changed from a report based query to a stored procedure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top