Hello Guy,
recently I had create a form which allow to select the record by using data grid and I had to set the find method in main form, when I calling findform.show, the operation still be continue in main form even I had not finish choose the record.
How do this work around to passing the valid value back to main form after I found the record in findform?
My code is: (rsSQL is my Recordset and xLogCode contain a text which after complete frmFind operation)
frmFind.Show
rsSQL.Find "logcode = " & xLogCode
dspRECORD()
It's dosen't care whether I had get the record or not, the program still display record where the operation frmFind still not completed!
Please advice!![[2thumbsup] [2thumbsup] [2thumbsup]](/data/assets/smilies/2thumbsup.gif)
recently I had create a form which allow to select the record by using data grid and I had to set the find method in main form, when I calling findform.show, the operation still be continue in main form even I had not finish choose the record.
How do this work around to passing the valid value back to main form after I found the record in findform?
My code is: (rsSQL is my Recordset and xLogCode contain a text which after complete frmFind operation)
frmFind.Show
rsSQL.Find "logcode = " & xLogCode
dspRECORD()
It's dosen't care whether I had get the record or not, the program still display record where the operation frmFind still not completed!
Please advice!
![[2thumbsup] [2thumbsup] [2thumbsup]](/data/assets/smilies/2thumbsup.gif)