Results 1 to 3 of 3

Thread: Visual Basic Access

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2012
    Posts
    1

    Visual Basic Access

    Hi,

    I would like some advice on Visual Basic Access. I have put the following bits of code in VB.

    Option Compare Database
    Option Explicit

    Dim RS As New ADODB.Recordset

    But for some reason it is coming back with an error saying that it can't recognise it. Are there particular settings or declarions that need to be put in place before the code will work?

    Hope you can help.

    Cheers

    Dave

  2. #2

  3. #3
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Visual Basic Access

    Code:
    Option Compare Database
    This doesn't exist in VB4/5/6, are you talking about VBA?

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