Morning;
I'm unable to link two tables, because the primary key in one is numeric, and string in the other. I'm using a command instead of setting the relation, but am getting a failure as the "ToNumber" function is not (I am presuming) a recognized function at the server level.
My command looks like this:
Select *
From "Datafile" [Dat]
full outer join "Clientfile" [Clients]
on "Dat"."ClientID"=Tonumber("Clients"."ID")
Can anyone tell me where I'm going wrong, or an alternate function to accomplish the same thing?
Thanks.
D
I'm unable to link two tables, because the primary key in one is numeric, and string in the other. I'm using a command instead of setting the relation, but am getting a failure as the "ToNumber" function is not (I am presuming) a recognized function at the server level.
My command looks like this:
Select *
From "Datafile" [Dat]
full outer join "Clientfile" [Clients]
on "Dat"."ClientID"=Tonumber("Clients"."ID")
Can anyone tell me where I'm going wrong, or an alternate function to accomplish the same thing?
Thanks.
D