Re: Dim db As Database doesn't work
- From: "Bill Howell" <BillHowell@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 11:41:02 -0700
Thanks Paul,
That fixed it and it is running fine now. All I need to do now is figure
out how to copy a table (for backup) using VBA. But I'll do my homework
first before yelling help here. By the way, I cannot find any MS Access
specific discussion groups here. Others have suggested a newsgroup but my
company blocks access to all newsgroups. I only have access to
support.microsoft.com.
Regards,
Bill
"Paul Clement" wrote:
> On Wed, 29 Jun 2005 06:57:01 -0700, "Bill Howell" <BillHowell@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> ¤ Doug,
> ¤ I followed your steps and the Database type is now recognized but I get a
> ¤ "type mismatch" error on the following code**:
> ¤ Dim thisDB As Database
> ¤ Dim rsCtl As Recordset
> ¤ Set thisDB = CurrentDb
> ¤ Set rsCtl = thisDB.OpenRecordset("qryControlDate") **
> ¤ I don't remember DAO being this fussy. :-)
> ¤ Thanks again for your help.
> ¤ Bill
> ¤
>
> To avoid confusion with ADO (which also has a Recordset object), fully qualify the database object
> types:
>
> Dim thisDB As DAO.Database
> Dim rsCtl As DAO.Recordset
>
>
> Paul
> ~~~~
> Microsoft MVP (Visual Basic)
>
.
- Follow-Ups:
- Re: Dim db As Database doesn't work
- From: Paul Clement
- Re: Dim db As Database doesn't work
- References:
- Dim db As Database doesn't work
- From: Bill Howell
- Re: Dim db As Database doesn't work
- From: Douglas J. Steele
- Re: Dim db As Database doesn't work
- From: Bill Howell
- Re: Dim db As Database doesn't work
- From: Paul Clement
- Dim db As Database doesn't work
- Prev by Date: Re: Remove a Logical Record from a Normalized Database
- Next by Date: Currency Formats Not Coming Thru
- Previous by thread: Re: Dim db As Database doesn't work
- Next by thread: Re: Dim db As Database doesn't work
- Index(es):
Relevant Pages
|