PC Review


Reply
Thread Tools Rate Thread

Switchboard Error

 
 
Michael Beckinsale
Guest
Posts: n/a
 
      22nd May 2004
Hi All,

Help urgently required please.

Using Access 97 and Windows 98

I was hoping to put the finishing touches on my project and have come across
a problem with the switchboard.

Using the Switchboard manager l created a switchboard with the various forms
l required.

When l try to open the switchboard i get an 'Error 13' message and when l
hit the debug key the following line of code
is highlighted in yellow

SET rst = dbs.OpenRecordset (strSQL)

I assume that this code is generated by the use of the Switchboard manager
as l certainly haven't written it.

I think that the problem may be with References and these are the ones l
have ticked.

Visual Basic for Applications
Microsoft Access 8.0 Object Library
OLE Automation
Microsoft Active X Data Object 2.1 Library
Microsoft DAO 3.51 Object Library

All help / suggestions gratefully received.

Regards

Michael Beckinsale


 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      22nd May 2004
Both the ADO library and the DAO library have a Recordset object. You need
to specify which you want when you declare your variable, i.e.:
Dim rst As DAO.Recordset

Alternatively, deselect the ActiveX Data Object library if you do not need
it.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Michael Beckinsale" <(E-Mail Removed)> wrote in message
news:eFfuIS%(E-Mail Removed)...
>
> Help urgently required please.
>
> Using Access 97 and Windows 98
>
> I was hoping to put the finishing touches on my project and have come

across
> a problem with the switchboard.
>
> Using the Switchboard manager l created a switchboard with the various

forms
> l required.
>
> When l try to open the switchboard i get an 'Error 13' message and when l
> hit the debug key the following line of code
> is highlighted in yellow
>
> SET rst = dbs.OpenRecordset (strSQL)
>
> I assume that this code is generated by the use of the Switchboard manager
> as l certainly haven't written it.
>
> I think that the problem may be with References and these are the ones l
> have ticked.
>
> Visual Basic for Applications
> Microsoft Access 8.0 Object Library
> OLE Automation
> Microsoft Active X Data Object 2.1 Library
> Microsoft DAO 3.51 Object Library
>
> All help / suggestions gratefully received.
>
> Regards
>
> Michael Beckinsale



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switchboard Error kyhigh Microsoft Access Forms 2 15th Jul 2008 07:15 PM
Switchboard created with Switchboard Manager doesn't open AccessNeophyte Microsoft Access Forms 3 27th Jun 2007 03:58 AM
Re: Switchboard Error stevens Microsoft Access 0 7th Aug 2004 01:24 AM
switchboard error Michael S. Montoya Microsoft Access Form Coding 2 3rd Feb 2004 05:04 PM
Switchboard Error elsa Microsoft Access 1 23rd Dec 2003 06:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:00 PM.