×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • 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!

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

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Field not populated

Field not populated

Field not populated

(OP)
I have a query based on 2 tables.  Emptbl, Availtbl. They are related by EmpNo field. When the empno is typed the name field fills in.  

I need to get all the records for certain fields to export to a text file. Join type 2 gives me the records but does not populate the empno field for all the records.

What can I do to get all the fields I've queried, for all the records.  Thanks you for your help.

RE: Field not populated

Sorry, can't figure out what you're talking about.

<I have a query based on 2 tables.  Emptbl, Availtbl. They are related by EmpNo field.> Do you mean you have set up a relationship with referential integrity between the two tables on the EmpNo field, with Emptbl as the parent? If not please specify.

<When the empno is typed the name field fills in.> Don't understand what this has to do wtih the problem. Do you mean that the EmpNo field is set up as a lookup that displays Employee name in table design, or are you talking about something having to do with a separate form or query?

<I need to get all the records for certain fields to export to a text file. Join type 2 gives me the records but does not populate the empno field for all the records.> In a query? In the table? In a form?

Try to make this easy on us by giving more detail ... and paste your SQL statement here too.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

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! Already a Member? Login

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