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!

Type Conversion Error & Format function not working correctly

Status
Not open for further replies.

jackpot

Vendor
Mar 6, 2004
3
US
One of the Query is formatting date in this way
Format([EFF DATE],"mm/dd/yyyy") AS Effdate
For the same database a person in one location can run the query correctly but another person in another location gets #Error in that column. Can any body suggest any solution.
Format function used that way on other table works fine.
 
Both M/c have same setting for long date & short in regional settings. I just checked it.

To continue with it most function seems to give problem. I am also using Left$ , Right$, Format and all give problem.

Yet on another database on same m/c it works fine.
If I apply the mask thru format tab then output is correct.
Then what is going wrong by directly using the functions.
 
Hi!

Check the references in a VBA window. If one is marked missing, recheck it. It is possible that you may need to re-install Access on the machine in question.

hth
Jeff Bridgham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top