Convert DBF to MDB via VB

Hi,
How to add data from DBF database to ACCESS database if not exists in access database... check all fields value to prevent that record already exitsts

i was tray with SQL querys but any error has occrues ...
SQL query sintaxs that i use is
SELECT * FROM access_table WHERE field1=value1 AND field2=value2 AND ...
fieldn=valuen

don't use any data field pointer, autonumbering field or id's to check data

also i must say that in DBF Database exists fields with any empty records, dbDate,dbText,dbDouble type fields with empty value... and soon...

please send me source code or any sample with this ... to email bokinet@infosky.net
bokikgAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

adityauCommented:
I am sorry. I did not understand. Can u please reframe the question with a little bit of grammar change.
0
bokikgAuthor Commented:
how to transfer all data from any dbf database to access database ...
null value for date type of fields in dbf database are present...
0
jackgCommented:
bokikg, create an Access table with the same structure as the FoxPro table and then create a recordset to read the data from the FoxPro table and then insert it into the Access table. You can also asign the field values to variables and check for null values.
0
bokikgAuthor Commented:
i tray that but when i have any empty record in dbf database (field is date type) error has occrud... because field is empty
0
jackgCommented:
okay, if you use a variant variable to hold the dates from foxpro then vb will accept NULL values.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.