PDA

View Full Version : Visual Basic6.0 and my access


suu
08-12-2004, 06:01 PM
Hi!

I'm working on a program in Visual Basic 6.0. My problem comes when, after placing a DATA and linking it to my DB, i get an error when i try to select the desired table.

My access is access 2003. such problem does not occur with access97.

so i gather it must be an update problem right?

do you guys know how to solve this?
it's kinda urgent. :cry:

thanks in advance,
Suu

oracleguy
08-13-2004, 01:42 AM
How about you post some code? We are programmers not telepaths. ;)

suu
08-13-2004, 08:42 AM
there is no code yet.

i'm just configuring my DATA, that's all.

the only thing i can do is give you it's properties:

connect = access
databasename = D:\DB_CIGRE.mdb
recordsource = ----> ERROR

i can't access the recordsource. it gives me this error:
"unregcognized database format 'D:\DB_CIGRE.mdb'"

that's all.

if i use access97 i have no such error. is there any way to solve this and use access 2003 with visual basic 6.0?

suu
08-13-2004, 04:29 PM
I've solved it.

for anyone who wants to know the only thing needed was to check in the references window the option Microsoft DAO 3.6 Object Library and uncheck Microsoft DAO 3.51 Object Library.

then ou must program the Data Control manually to acess you DB and respective table.

See you guys! :thumbsup: