C
chris
Hi,
I have a text field with numeric values (values have dot(.) as decimal
symbol ex. 5.3). Unfortunately it must be text as sometimes includes text
values also.
Now for numeric values I would like to compare values and get records
between a range.
When my decimal symbol is dot(.) the query below executes without any
problem.
SELECT *
FROM AD
WHERE (CSng([AD].[d_name])>=0.5 And CSng([AD].[d]))<=1.8)
When user's decimal point in control panel is not dot(.) then error "Data
type mismatch in criteria expression" appears.
Can anyone help me ? Is there a solution ?
Thanks a lot in advance!
I have a text field with numeric values (values have dot(.) as decimal
symbol ex. 5.3). Unfortunately it must be text as sometimes includes text
values also.
Now for numeric values I would like to compare values and get records
between a range.
When my decimal symbol is dot(.) the query below executes without any
problem.
SELECT *
FROM AD
WHERE (CSng([AD].[d_name])>=0.5 And CSng([AD].[d]))<=1.8)
When user's decimal point in control panel is not dot(.) then error "Data
type mismatch in criteria expression" appears.
Can anyone help me ? Is there a solution ?
Thanks a lot in advance!