Re: How to open a QUERY made in MSAccess2002 in VB6?




puneetmehra.nsit@xxxxxxxxx wrote:
Goodevening all.

I am making a project in which i need to open:-
1)Table
2)Query

made in MSAccess2002 in VB6. I think i should use DAO library. But can
someone tell me the command i should write for button_click() in VB6
which
1)opens the Table
2)opens the Query?

Further can i modify the Tables from within VB itself, not thru
MSAccess?


Sounds a LOT like homework. Did you look in the Access help? how about
OpenTable and OpenQueryDef?

Make friends with the help file. And don't be afraid to actually learn
something.

.