pesquinaldo
Member
- Joined
- Jul 19, 2008
- Messages
- 6
- Programming Experience
- 5-10
Hi,
I created a very simple form with a Datagrind that is attached to a MS Access database named Vehicles.accdb. I created the binding with OleDbConnection1, OleDbDataAdapter1 and Dataset11.
The database location will change so I've tried to include a string variable in the connection string (as defined in OleDataAdapter1 properties). I tried loading the string with the location, in the Form_Load event, but OleDbDataAdapter1.fill(DataSet11) fails each time.
I hope someone has a suggestion regarding how to make this work. I apologize for the nOOb question.
Thanks in advance for the help.
I created a very simple form with a Datagrind that is attached to a MS Access database named Vehicles.accdb. I created the binding with OleDbConnection1, OleDbDataAdapter1 and Dataset11.
The database location will change so I've tried to include a string variable in the connection string (as defined in OleDataAdapter1 properties). I tried loading the string with the location, in the Form_Load event, but OleDbDataAdapter1.fill(DataSet11) fails each time.
I hope someone has a suggestion regarding how to make this work. I apologize for the nOOb question.
Thanks in advance for the help.
Last edited: