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

Nothing I can type here will make sense

Status
Not open for further replies.

Sontec

IS-IT--Management
May 20, 2002
12
GB
This seems to me like it should be really simple, but I can't work it out for the life of me. What I need to do is pull a field from 1 table if a job exists in it, otherwise pull the same field from a different table. If that doesnt make much sense, i'll explain a litle further.

Our system handles electrical unit repair information, and if a job has had spare parts fitted to it, I need to pull the field {Spares.CircuitDesc}...if the job was repaired without the use of parts i need to pull {Instruct.CircuitDesc}.

Can anyone help?
 
Use a null test:

If IsNull({Spares.CircuitDesc}) then {Instruct.CircuitDesc} else {Spares.CircuitDesc}



Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
 
I knew it'd be something stupidly simple. Thanks for solving it so quickly!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top