How do I look up a value based on a report field

J

Joe Leon

I have a table (NamesTable) that contains several fields of information. Two
of these fields are: Invited By and PhoneNunber.

When I generate a report here is what I would like to accomplish.

Look at the InvitedBy field and based on its content look up the PhoneNumber..

So for example: the InvitedBy field contains the name Joe Leon but the
name Joe Leon is in the NamesTable with FirstName and LastName fields. Now I
need to take the Leon and the Joe from the InvitedBy field and use them to
search the table for LastName "Leon" and FirstName "Joe". Upon a match, I
would like to take from this record the PhoneNumber to place in the report.

I would greatly appreciate help with this. Please let me know if this is
doable and if so, how would I do this. Thanks! Joe...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top