Linking 2 tables by a value with different dattypes

bugsy

Registered User.
Local time
Today, 11:34
Joined
Oct 1, 2007
Messages
99
in one table id is a text, in other its a number.
what 's the best solution ?

If needed, i can have a query of a table rhere the value is numeric, and convert it to text.

something like
Code:
VAL(ID)

but the other way around
 
One problem with Str() is that it adds a leading space to positive numbers. If you don't want the space use CStr() instead.
 
One problem with Str() is that it adds a leading space to positive numbers. If you don't want the space use CStr() instead.

guess i should have used CStr; STR - converted them to text, but I wan't able to link to my other table.

So i had to change the other table to use VAL (and thus getting integer value)
 

Users who are viewing this thread

Back
Top Bottom