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...
Amour22015Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike EghtebasDatabase and Application DeveloperCommented:
Convert(decimal(5,2),[ID])=[UserID3]

123.45

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
Convert function is from MS SQL? I guess Access do not have such function, for a quick fix, try do comparison like this instead?
"" & [ID] = [UserID3]

Open in new window

Amour22015Author Commented:
I ended up using:
CStr(USER_dbo_cnv_GTPParseNameContactPerson.ID)

Open in new window


And this worked fine

thanks for all you help
Amour22015Author Commented:
Thanks for helping
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.