dbTalk Databases Forums  

Re: new table with field of one-many relation text string

comp.database.ms-access comp.database.ms-access


Discuss Re: new table with field of one-many relation text string in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael Slade
 
Posts: n/a

Default Re: new table with field of one-many relation text string - 12-28-2003 , 09:41 AM






(
I'm running win98 and Access 2000)
http://www.mvps.org/access/modules/mdl0004.htm


still looks like what I want to use and I've done -

"You need to set a reference to DAO. While in the VB Editor, click
Tools -> References..., locate the list entry for

Microsoft DAO 3.6 Object Library

and put a check mark in the box next to it. Then close the dialog.

Also, where you see the declarations in the code:

Dim db As Database
Dim rs As Recordset

change them to

Dim db As DAO.Database
Dim rs As DAO.Recordset"

but things still don't work - no data is being picked up.

Attempting to debug shows that the line -

Set db = CurrentDb

does not get set. Is there something else that needs to be set first so that
CurrentDb will work?

thanks again!
Michael Slade



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.