mfaqueiroz
Registered User.
- Local time
- Today, 07:03
- Joined
- Sep 30, 2015
- Messages
- 125
Hei!
I have one simple doubt about decimals numbers, how should I declare them to work in a SQL sentence?
as Single?
I have one sentence that count the number of entries with code=1 and with the TimeMS(time converted in miliseconds) between MEtimeMS and MeTimeMS2.
The TimeMs is in this format: xxxxxxxxx,xxxx
in this case:
TimeMs= 363270805,1955
Count1 = Nz(DCount("*", "Tab", " ((Tab.[TimeMS])> " & MeTimeMS & ") and Tab.[TimeMS] < " & MeTimeMS2 & " And Tab.
I have one simple doubt about decimals numbers, how should I declare them to work in a SQL sentence?
as Single?
I have one sentence that count the number of entries with code=1 and with the TimeMS(time converted in miliseconds) between MEtimeMS and MeTimeMS2.
The TimeMs is in this format: xxxxxxxxx,xxxx
in this case:
TimeMs= 363270805,1955
Count1 = Nz(DCount("*", "Tab", " ((Tab.[TimeMS])> " & MeTimeMS & ") and Tab.[TimeMS] < " & MeTimeMS2 & " And Tab.
Code:
= '1' "), 0)
appears always this error:
Syntax error(comma) in query expression.
Could anyone help me with this issue?
thank you!:)