Link to home
Start Free TrialLog in
Avatar of Amour22015
Amour22015

asked on

MS Access Query - Data Mismatch Float DataType to nvarchar(100)

Hi Experts,

Currently I am linking a Float DataType to a nvarchar(100) and am getting the error "Data Mismatch)

so I do not link the two tables and create a?:
Convert(varchar(100),[ID])=[UserID3]

ID = Float
UserID3 = nvarchar

But this is not working:
Undefined function 'Convert' in expression
Or it I delete the link:
The SQL Statement could not be executed because it contains ambiguous outer joins

So I tried deleting the link (from one field to the other) and did this:
 IIf(CStr([ID])=[UserId3],[Contact])

Open in new window


But it runs and runs with a large number of records...

Please help and thanks...
ASKER CERTIFIED SOLUTION
Avatar of Mike Eghtebas
Mike Eghtebas
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Amour22015
Amour22015

ASKER

I ended up using:
CStr(USER_dbo_cnv_GTPParseNameContactPerson.ID)

Open in new window


And this worked fine

thanks for all you help
Thanks for helping