Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying one of two parameters in one field on report

Status
Not open for further replies.

SparkleTrangerine

Programmer
Jan 25, 2005
2
CA
Hi
I have two queries for one report. Depending on which
query is run, my user parameters will have a differnet value. Does anyone know how to disply one or the other depending on the query run. I do have code written in the afterform for calling the right query based on a selection in the parameter form.

Any help would be great!.

Thanks
Serena
 
Actually, never mind, I figured it out. I just set the old parameter equal to the new parameter in the afterform code where I am checking for the query to run. Just incase anyone else every comes accross this.

Serena
 
Create a formula column that would return value based on the parameter. Then source a field with the column.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top