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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pull data based on condition

Status
Not open for further replies.

Chuku

Programmer
Jun 9, 2011
25
US
Hi,

I need to display Operator Names in my report. From the front end, this field can be created based on Role or User Name.
When created by UserName, entries are created in Worklog.AssignedID and when created by role this field is null.
For Role based, entries are created in LoanOper.OperID. This field is notnull field. I need to write a formula to pull both userName and role based values. a Simple if else doesnt work on this. How to proceed. Could anybody help
 
if isnull({worklog.AssignedID})
then {LoanOper.OperID)
else {worklog.AssignedID}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top