Results 1 to 2 of 2

Thread: Stuck, Please Give it a look

  1. #1

    Thread Starter
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    I have some invoice numbers (which is a string) pulling from an SQL database using an adodc control. Some of the invoices that are in the database are blank. I can't figure out how to check and make all the invoice numbers that are blank to be changed to a zero. here's what i tried

    Do while adodc1.recordset.Eof = false Then
    If adodc1.recordset.Invoice_no = "" '(I tried Null also)
    adodc1.recordset.Invoice_no = "0"
    End if
    Loop

    **I'm still new to using databases and the adodc

    Thanks

  2. #2

Posting Permissions

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



Click Here to Expand Forum to Full Width