Results 1 to 2 of 2

Thread: .TimesOpened

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Location
    Philippines
    Posts
    5

    Question

    Hi!

    In determining how many times a database has been opened, I use currentdb.properties("TimesOpened") in VBA code. Is there a similar property in Visual Basic 6? I'm using ADODB.Connection and ADODB.Recordset objects in accessing databases and its recordsets. Your comments are highly appreciated.

    Thanx in advance!!


  2. #2
    New Member
    Join Date
    Jun 2000
    Posts
    5
    You can try the ADODB.Connection.Properties(Index) function. Where Index is an integer. I'm not sure what all of the properties are, but you can simply create a loop to loop through many values for Index and print out each property to see what they are.

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