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

Format

Status
Not open for further replies.

mayu03

Programmer
Joined
Oct 3, 2003
Messages
91
Location
US
I have the following statement in my module.
For some reason (I can't understand...) it is running on one pc but not running on the other.
I am getting an error about format function. Can you help me please....
qdf.SQL = "SELECT CVSSN, CVGRP, CVLOC, Format(CVLECY, '00') & Format(CVLEYR, '00') & Format(CVLEMT, '00') & Format(CVLEDY, '00') AS EFF, ...
 
Try using double quotes instead of single quotes.

HTH,

Steve
 
Sounds like you're missing a dll file on the computer with the error...check the references (tools->references in a code window) and see if anything says "missing" next to it.

Hope that helps.

Kevin
 
I can't chaneg to the double qu. it gives me an error
 
I try to look at reference to see if any dll missing and I couldn't see anything missing. To what libraty belong format?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top