reader question

Results 1 to 2 of 2

Thread: reader question

  1. #1
    Join Date
    Dec 1969

    Default reader question

    I am querying a db and am getting an error if there is no data in the specific field. I tried adding conditionals, but nothing i try seems to work.<BR><BR>if dtr.Read then<BR> intID = dtr("ID")<BR> txtProperty = dtr("property")<BR> txtDescription = dtr("description") // this is empty, needs conditional.<BR><BR>thanks

  2. #2
    Join Date
    Dec 1969

    Default RE: reader question

    I&#039;m thinking your having trouble with a NULL field so try<BR><BR>if not(dtr("description") is DBNULL.Value) then<BR>&nbsp;&nbsp;txtDescription = dtr("description")<BR>end if

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts