I want to be able to move through a Ado recordset that I have assigned to a flexgrid so that if I click on a cel, the recordset moves to that particular record.
So far, I have been able to create the recordset and
assign it to the flex grid but that is where I get stuck
StrSql = "Select CustName, CustPhone from Customers"
Set rsBrowse = New ADODB.Recordset
rsBrowse.Open StrSql, dbCTS(Cust), adOpenKeyset, adLockOptimistic
Set fMainForm.gridBrowse.DataSource = rsBrowse
Now how do I make the recordset move to the record on the cel I click?
Thanks,
Dan
So far, I have been able to create the recordset and
assign it to the flex grid but that is where I get stuck
StrSql = "Select CustName, CustPhone from Customers"
Set rsBrowse = New ADODB.Recordset
rsBrowse.Open StrSql, dbCTS(Cust), adOpenKeyset, adLockOptimistic
Set fMainForm.gridBrowse.DataSource = rsBrowse
Now how do I make the recordset move to the record on the cel I click?
Thanks,
Dan