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

Check for nulls

Status
Not open for further replies.

asrinath

Programmer
Joined
Apr 25, 2003
Messages
8
Location
US
Hello All,

I want to check for the existence of nulls in a database column and display Not Found if it is null. How do I do that using Actuate programming?

TIA
 
Use the IsNull( ) function. If this is for a text control, you could do this on the DataRow's OnRead( ) method:

If IsNull(ColumnA) Then
ColumnA = "Not Found"
End If

Or, you could use the IIF expression in the control's ValueExp expression:

IIF(IsNull(ColumnA), "Not Found", ColumnA)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top