petermeachem
Programmer
I've asked this before, but didn't get very far.
I am trying to open an Excel sheet and display it in a grid and edit it.
Set cnn = New ADODB.Connection
cnn.ConnectionString = cConnectionString
cnn.Open
adoPrimaryRS.Open csql, cnn, adOpenStatic, adLockOptimistic
Set GridEX1.ADORecordset = adoPrimaryRS
If someone could enlighten me on what cConnectionString and csql should contain, I should be very pleased. All I have managed to do is to produce a variety of different error messages, none of which could be classed as helpful.
Peter Meachem
peter@accuflight.com
I am trying to open an Excel sheet and display it in a grid and edit it.
Set cnn = New ADODB.Connection
cnn.ConnectionString = cConnectionString
cnn.Open
adoPrimaryRS.Open csql, cnn, adOpenStatic, adLockOptimistic
Set GridEX1.ADORecordset = adoPrimaryRS
If someone could enlighten me on what cConnectionString and csql should contain, I should be very pleased. All I have managed to do is to produce a variety of different error messages, none of which could be classed as helpful.
Peter Meachem
peter@accuflight.com