Apr 18, 2003 #1 sgd3476 Programmer Joined Mar 3, 2003 Messages 37 Location 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 Joined Feb 12, 2002 Messages 1,048 Location 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 Joined Mar 3, 2003 Messages 37 Location 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 Joined Feb 12, 2002 Messages 1,048 Location 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 Joined Mar 23, 2002 Messages 20,180 Location 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