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

How to handle DB Null

Status
Not open for further replies.

besto1a

Programmer
Aug 20, 2006
41
0
0
GB
I have this code that check is a value from a dataset is Null but it wont work, can any help

If IsDBNull(Me.DsData.tbl_SocTar_ALL_SAP_AND_INFOPAC_COMBINED(count1).Canc_date) = True Then

 
Try this:

If IsDBNull(Me.DsData.tbl_SocTar_ALL_SAP_AND_INFOPAC_COMBINED[red].Rows(count1).Item("Canc_date")[/red]) = True Then

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day! Ye has a choice: talk like a pira
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top