Results 1 to 2 of 2

Thread: SQL and DAO

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 1999
    Location
    Amman,-,Jordan
    Posts
    3

    Post

    How can I update, add and delete records of a Data object whos recordset is retrieved by an SQL statement? Do I have to first make the record source point to an existing table, then add the record, and finally re-issue the SQL statement?

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    Using DAO, you have a couple of ways of doing this. You can code everything in SQL and pass it thru a recordset/execute or you can use the DAO methods.

    For updates, I genereally use a recordset to retrieve the data and "executes" to update. I mostly use "execute" for delete and "recordset" for inserts.

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