V
Vrijesh Jeswant
Hi All,
I am trying to use an Access database from within a Visual
Basic 6.0 application. I have several forms that are
supposed to work with various table in the DB. I have a
few questions regarding this:
1. Is it absolutely necessary to use a Data Control field
with each form that accesses the database. Is there a way
to specify the database without using a data control in
the VB form?
2. I am able to include a Data Control and set its
Database Name to the required DB, but when I try to set
the RecordSource, I get the "Unrecognized Database Format
error". I even tried converting the db to both 2000 and
2002 formats, but get the same error. Also, is there a way
to use the tables without having to set the record source?
I have Win2K, Office 2003, VStudio6.0 with Service pack 5
installed.
I know this question deals more with VB than with Access,
and I apologize for this, but I am hoping someone has the
answer. Any help will be very much appreciated.
Thank you and have a great day,
VJ
I am trying to use an Access database from within a Visual
Basic 6.0 application. I have several forms that are
supposed to work with various table in the DB. I have a
few questions regarding this:
1. Is it absolutely necessary to use a Data Control field
with each form that accesses the database. Is there a way
to specify the database without using a data control in
the VB form?
2. I am able to include a Data Control and set its
Database Name to the required DB, but when I try to set
the RecordSource, I get the "Unrecognized Database Format
error". I even tried converting the db to both 2000 and
2002 formats, but get the same error. Also, is there a way
to use the tables without having to set the record source?
I have Win2K, Office 2003, VStudio6.0 with Service pack 5
installed.
I know this question deals more with VB than with Access,
and I apologize for this, but I am hoping someone has the
answer. Any help will be very much appreciated.
Thank you and have a great day,
VJ