
Hi All,
I have problem with MSHFlexgrid ,if the recordset is null then the cursor not perform anything i.e
if recordset return null then click or double click events on the mshflexgrid its not performing any action,
i have to close the form and open it again.
below is my code
vstr = " select * from emp"
Set adoRS = New ADODB.Recordset
adoRS.Open vstr, db, , adLockOptimistic
Set MSHflexgrid.DataSource = adoRS
adoRS.Close
Set adoRS = Nothing
Thanks in advance,
I really appreciate if any help.