Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...It is good to know that there are groups such as this willing to share knowledge in this money driven economy..."

Geography

Where in the world do Tek-Tips members come from?
ronwmon (Programmer)
19 Jun 12 14:24
I have a table that contains the "Company Bame" and the "Company Number". I import a table from a supplier that contains the company number as UserID. My company number is a number, the supplier has the UserID as text.

I want to include the company name in a report. I have a query that collects the data I want for the report but I can't figure out how to to select the company name, I need the UserId as a number. I have tried Cint(userid) but get verious errors such as "Invalid use of null."

Any ideas are appreciated.

Ron--
Andrzejek (Programmer)
19 Jun 12 14:54

Do you have some userid's as NULLs?
If so, investigate NZ function to turn those NULLs into 0, for example

Have fun.

---- Andy

ronwmon (Programmer)
19 Jun 12 15:08
Yes, I do have some userid's that are nulls. I'm not familure with the NZ function but I will do a search and see what I find.

Thanks
ronwmon (Programmer)
19 Jun 12 15:14
Andy,

The NZ function worked great. Thanksa.

Ron--
Andrzejek (Programmer)
19 Jun 12 15:47

Glad to help smile

Have fun.

---- Andy

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close