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

Access Query Help

Status
Not open for further replies.

SmileeTiger

Programmer
Mar 13, 2000
200
US
I want to do a query such as this one:<br>
SQLstmt3 = &quot;select CPUID, SoftID, CDID, HDDID, MouseID, KeyboardID, MonitorID, FDDID, RAMSize, VideoID, SoundCardID from CustomSystem where CSID = '&quot; & CSID & &quot;')&quot;<br>
<br>
The only problem is CSID is a Number (AutoNumber) in my database. I know that '&quot; & CSID & &quot;' specifies a string. How do I tell the system that is is a number and not a string.
 
Never mind I didn't notice those single quotes were still there
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top