Formatting calculated fields in a Query

pnpez

Registered User.
Local time
Today, 08:39
Joined
Nov 10, 2011
Messages
23
I have 2 queries that create 2 separate tables, A and B. The 2nd query is dependent on the answers from table A, made from the 1st query.

I put a calculation in X-field in the 1st query, but the resulting answer in table B formats this X-field as text, no matter what I try.

I'm not great at formatting in queries so any suggestions would be helpful.

Thanks
 
Post the sql of the query.
 
Wrap the result in the desired type-conversion function, Cint, Cdbl , Cwhatever, to cast the result into desired data type.
 
Sorry, but I don't have SQL programming knowledge.
 

Users who are viewing this thread

Back
Top Bottom