Results 1 to 2 of 2

Thread: Recordset lock type

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Location
    Posts
    14

    Post

    pl. help me, i am new to VB.

    i request u to suggest me which lock type and i want to open a recordset with dynamic/keyset etc., for database application (around 50000 records database)connected 10 users to SQL server to update/search/delete the records etc., (clinet server technology).

    thanks in advance.








  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    Personally I use these rules;

    1. If the recordset is to be opened for 'lookup' lists etc, ie Read Only with no updating I use adOpenStatic.

    2. If the recordset is to be opened for editing, and the recordset has a primary key, I would use adOpenKeyset

    3. If the recordset is to be opened for editing, but does not have a primary key, use adOpenDynamic
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

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