peskywinnets
Registered User.
- Local time
- Today, 04:23
- Joined
- Feb 4, 2014
- Messages
- 582
I have two tables both of which contain 'sales receipt' number information
Table 1 has this information in number format (long integer)
Table 2 has this same information but in 'Short Text' format
I've created a query to convert the table 2 'Short Text' into a number .....but I keep getting data type mismatch when I run another query using the result (the end goal is to link the two tables using the sales receipt number), here's how I'm converting...
SalesReceiptNumber: CLng(Val([Table2]![SalesReceipt]))
...the command works but clearly the result isn't in long integer...which is what I need.
Any ideas?
Table 1 has this information in number format (long integer)
Table 2 has this same information but in 'Short Text' format
I've created a query to convert the table 2 'Short Text' into a number .....but I keep getting data type mismatch when I run another query using the result (the end goal is to link the two tables using the sales receipt number), here's how I'm converting...
SalesReceiptNumber: CLng(Val([Table2]![SalesReceipt]))
...the command works but clearly the result isn't in long integer...which is what I need.
Any ideas?
Last edited: