G
Guest
Hello,
I have a ’97 Access DB (we can call it “to_be_convertedâ€) which I should
convert into 2000 format.
The DB can’t be linked or re-designed: I have to convert the existing file.
I have tried using the built-in conversion features… Not working…
The problem is The problem is having filled each field with a huge
description while designing tables in the ’97 database. This seems makes the
conversion features crashing.
I don’t’ have Access ’97 on my pc so I have tried building a 2000 format DB
(we can call it “converterâ€) with a command button on a form.
Now... i would like to know:
a) since “to_be_converted†is a '97 DB, should I use DAO in “converter†to
connect and make changes? (i think "yes")
b) i have used the opendatabase method to connect to " to_be_converted "
from "converter". Anything went fine: I have tested the connection with this
routine:
Private sub test_click()
Dim pisa As Database
Dim i As Integer
Set pisa = OpenDatabase("C:\Documents and Settings\rocco n
forgione\Desktop\grant.mdb", , , "uid=gestore;pwd=paolarucci")
for i=0 to .tabledefs.count-1
MsgBox .tabledef(i).name
Next
End sub
and i could read tables' name.
WHY the same kinf of stuff doesn't allow me to ready how many fields each
table has?
I Mean, the following statements gives me always "0" (zero)
for i=0 to .tabledefs.count-1
MsgBox .tabledef(i).fields.count
next
What I have in mind is building a routine that launched against
"tobeconverter" will clean descriptions fro each field in each table. This
will solve the problem. Does anybody have any suggestion? Does anybody know
if all those problems arise because I don’t have ’97 on my pc?
Thanks,
Nico
I have a ’97 Access DB (we can call it “to_be_convertedâ€) which I should
convert into 2000 format.
The DB can’t be linked or re-designed: I have to convert the existing file.
I have tried using the built-in conversion features… Not working…
The problem is The problem is having filled each field with a huge
description while designing tables in the ’97 database. This seems makes the
conversion features crashing.
I don’t’ have Access ’97 on my pc so I have tried building a 2000 format DB
(we can call it “converterâ€) with a command button on a form.
Now... i would like to know:
a) since “to_be_converted†is a '97 DB, should I use DAO in “converter†to
connect and make changes? (i think "yes")
b) i have used the opendatabase method to connect to " to_be_converted "
from "converter". Anything went fine: I have tested the connection with this
routine:
Private sub test_click()
Dim pisa As Database
Dim i As Integer
Set pisa = OpenDatabase("C:\Documents and Settings\rocco n
forgione\Desktop\grant.mdb", , , "uid=gestore;pwd=paolarucci")
for i=0 to .tabledefs.count-1
MsgBox .tabledef(i).name
Next
End sub
and i could read tables' name.
WHY the same kinf of stuff doesn't allow me to ready how many fields each
table has?
I Mean, the following statements gives me always "0" (zero)
for i=0 to .tabledefs.count-1
MsgBox .tabledef(i).fields.count
next
What I have in mind is building a routine that launched against
"tobeconverter" will clean descriptions fro each field in each table. This
will solve the problem. Does anybody have any suggestion? Does anybody know
if all those problems arise because I don’t have ’97 on my pc?
Thanks,
Nico