gprinsloo
01-12-2004, 06:43 PM
I have a strange one here.
The
Data1.RecordSource = "Select * FROM " & tablename & " where onenumber = " & fromnumber & " AND othernumber = " & tonumber
Works fine if the windows regional settings uses
the point for the Decimal symbol
and
the comma for the digit grouping symbol.
When they are set in reverse the runtime error 3075 comes up and the numeric number contained in the fromnumber and tonumber seems to raise the error. How do I get around this, I cannot alter the regional settings.
Thanks for the advice.
The
Data1.RecordSource = "Select * FROM " & tablename & " where onenumber = " & fromnumber & " AND othernumber = " & tonumber
Works fine if the windows regional settings uses
the point for the Decimal symbol
and
the comma for the digit grouping symbol.
When they are set in reverse the runtime error 3075 comes up and the numeric number contained in the fromnumber and tonumber seems to raise the error. How do I get around this, I cannot alter the regional settings.
Thanks for the advice.