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

Please help: Creating formula based on database field value.

Status
Not open for further replies.

TimothyP

Programmer
Aug 6, 2002
135
US
What is the proper syntax to accomplish this?

If Table.FieldA is null
use Table.FieldB
else
use Table.FieldA.

Thanks in advance for your assistance.
 
If IsNull({TableA.Field})
Then {TableB.Field}
Else {TableA.Field}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top