i am doing a project for school, and this is a nessacery function for my project, anyone who can help me with this i would highly appricate it.
Use ADODC control
Add this component to your project
Microsoft ADO Data Control 6.0 (OLEDB)
and set the ConnectionString properties.
Below is just an example, you can set all these using the wizard.
Provider=MSDASQL.1;Persist Security Info=False;Extended Properties="DBQ=C:\Documents and Settings\5144\My Documents\db1.mdb;DefaultDir=C:\Documents and Settings\5144\My Documents;Driver={Driver do Microsoft Access (*.mdb)};DriverId=25;FIL=MS Access;FILEDSN=C:\Program Files\Common Files\ODBC\Data Sources\test.dsn;MaxBufferSize=2048;MaxScanRows=8; PageTimeout=5;SafeTransactions=0;Threads=3;UID=adm in;UserCommitSync=Yes;";Initial Catalog=C:\Documents and Settings\5144\My Documents\db1
Regards,
Padhu