|
-
Mar 5th, 2002, 12:42 PM
#1
Thread Starter
Hyperactive Member
TableDefs.Append errors out *RESOLVED*
i can use
daoOutputDatabase.TableDefs.Append newTable
on a database I create with:
Set daoOutputDatabase = daoDbengine.Workspace.(0).CreateDatabase(strOutputPath, dbLangGeneral, dbVersion30)
but not with :
Set daoOutputDatabase = daoDbengine.Workspaces(0).CreateDatabase(strOutputPath, dbLangGeneral, dbVersion20)
here it just errors out with runtime error #3649:
"The language-specific code page was not specified or could not be found."
is there something about appending tables to an access 2.0 database I should know.
Last edited by frigginjerk; Mar 8th, 2002 at 08:50 PM.
-
Mar 5th, 2002, 01:51 PM
#2
Are you trying to do this from VB6???
-
Mar 5th, 2002, 06:00 PM
#3
Thread Starter
Hyperactive Member
Yes, I'm using VB6.0
Yes, I'm using VB6.0
I'm trying to aquaint myself with more DAO objects.
-
Mar 6th, 2002, 03:33 PM
#4
Thread Starter
Hyperactive Member
Why did you ask?
Hack,
Why did you ask if I was using VB, can this not be done to a Access 2.0 database in VB.
-
Mar 8th, 2002, 01:59 PM
#5
Thread Starter
Hyperactive Member
Resolution
I found my problem.
I was using a reference to DAO 3.6, I guess it does not support adding fields to a tabledef in Access 2.0
Instead I have to use DAO 3.51, except this does not support creation of Access 2000 database, etc.
I just wanted to put this here in case anyone was curious.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|