Apr 18, 2003 #1 sgd3476 Programmer Mar 3, 2003 37 US In my report I have a client account number, but am unable to pull in the name from the db. How can I replace the client number with name?
In my report I have a client account number, but am unable to pull in the name from the db. How can I replace the client number with name?
Apr 18, 2003 #2 lyanch Programmer Feb 12, 2002 1,048 US Use a subreport from the customer table linked to the customer Id in the main report. Slow, but it works. Lisa Upvote 0 Downvote
Use a subreport from the customer table linked to the customer Id in the main report. Slow, but it works. Lisa
Apr 18, 2003 Thread starter #3 sgd3476 Programmer Mar 3, 2003 37 US I'm sorry, I was not clear. The database does not contain a field for the client name, just the number. Upvote 0 Downvote
I'm sorry, I was not clear. The database does not contain a field for the client name, just the number.
Apr 18, 2003 #4 lyanch Programmer Feb 12, 2002 1,048 US Then you have to create a formula something like: if {table.custId} = 1 then "Company One" else if {table.custId} = 2 then "Company Two" else if ... else "Unknown" Lisa Upvote 0 Downvote
Then you have to create a formula something like: if {table.custId} = 1 then "Company One" else if {table.custId} = 2 then "Company Two" else if ... else "Unknown" Lisa
Apr 18, 2003 1 #5 synapsevampire Programmer Mar 23, 2002 20,180 US Sounds like a good Case candidate: CASE Table.AcctNum WHEN 1 THEN "Fishlips Inc." WHEN 2 THEN "Some other firm" ... ELSE "Unknown" END Upvote 0 Downvote
Sounds like a good Case candidate: CASE Table.AcctNum WHEN 1 THEN "Fishlips Inc." WHEN 2 THEN "Some other firm" ... ELSE "Unknown" END