Solved

Report Unbound field value based on another fields contents

Posted on 2002-04-04
3
175 Views
Last Modified: 2012-05-04
I am trying to actively set the value of an unbound field based upon the value of another field:

Set Me!Name = queries!qryTeamName where Me!NameID = queries!qryTeamID

I can't do this in the underlying query do to inner join violations.

Is there any way to get this done, or do you have any other suggestions?

Thanks,

tcoc
0
Comment
Question by:tcoc
  • 2
3 Comments
 
LVL 54

Accepted Solution

by:
nico5038 earned 100 total points
ID: 6919441
For this normally a DLOOKUP is used.
Syntax:
=DLOOKUP("Teamname","qryTeamname","Me!NameID="&me.teamid)

This assumes that the field teamid is (hidden?) on the report.

Nic;o)
0
 

Author Comment

by:tcoc
ID: 6919481
Nic,

You da Man!  I forgot to try that - duh!

TeamId is hidden in the report.

Working syntax = DLookUp("Name","qryTeam","TPM=teamid")

Thanks for quick response too!

tcoc

0
 
LVL 54

Expert Comment

by:nico5038
ID: 6919498
You're welcome, the quick response is just luck as I'm now off to bed ;-)

C U

Nic;o)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now