Hi All,
I have an Access97 application working with linked SQL Server 2000 data. In Access I have a table where the currency field is padded with zeros so it can go into a mainframe.
To create a report based on the table, the currency field that's originally text is converted to a double using this syntax:
Sum(CDbl([journal_entry].[OS_AMOUNT]))
This is in some module code that makes another table altogether for the report to be run off of. When I try to run the code I get an ODBC error. I've narrowed it down to a data type conversion error which I figured out to be this field.
This has worked for the past three years but suddenly doesn't. (I last ran this routine on 1/15/04 and it worked fine.) What is going on??
Does this even make any sense? Please let me know if I'm completely not making any sense. Of course this is all a rush -- I'm holding up accounting with this problem.
TIA!!!
Penelope
PenelopeC
~~~>-/O~~~~~swimming right along
I have an Access97 application working with linked SQL Server 2000 data. In Access I have a table where the currency field is padded with zeros so it can go into a mainframe.
To create a report based on the table, the currency field that's originally text is converted to a double using this syntax:
Sum(CDbl([journal_entry].[OS_AMOUNT]))
This is in some module code that makes another table altogether for the report to be run off of. When I try to run the code I get an ODBC error. I've narrowed it down to a data type conversion error which I figured out to be this field.
This has worked for the past three years but suddenly doesn't. (I last ran this routine on 1/15/04 and it worked fine.) What is going on??
Does this even make any sense? Please let me know if I'm completely not making any sense. Of course this is all a rush -- I'm holding up accounting with this problem.
TIA!!!
Penelope
PenelopeC
~~~>-/O~~~~~swimming right along