Results 1 to 6 of 6

Thread: DataBase RESOLVED

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Blacknight's Avatar
    Join Date
    Nov 2002
    Posts
    381

    DataBase RESOLVED

    VB Code:
    1. dim a as adodb.recordset
    2. Dim usersDB As ADODB.Connection
    3.  
    4. Private Sub Form_Load()
    5. Set usersDB = New ADODB.Connection
    6. usersDB.Open "dsn=DATABASENAME;"
    7.  
    8. Set a = New ADODB.Recordset
    9. usersDB.Execute ("update FIELDNAME where)
    10. 'a.fields(number) I know that this line gives me the value of the
    11. 'field however i don't know how i can find the field's name
    12. 'lets say that i want to print all of my table's fieldls' names
    13. 'in a loop How can i do this? i want to use it to update many cells
    14. 'as shown above (FIELDNAME)

    Thank you,
    Blacknight
    Last edited by Blacknight; Mar 11th, 2004 at 10:40 AM.

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