Hi,
Sorri, I got another problem here. Any thing go wrong with the code below?
The code will be called in my SEARCHFORM.INIT(). It cause INVALID EXPRESSION DYNAMICBACKCOLOR if I launch my SEARCHFORM, I run a report and launch the SEARCH FORM AGAIN!!!
Thank you
LPARAMETER tcCardType
THIS.grdMembers.RECORDSOURCE = ""
SELECT Card_No, E_Name, IC_No, DELETED() AS lDeleted;
FROM Member NOFILTER ;
WHERE LEFT(Card_No, 3) = tcCardType ;
INTO CURSOR myMember
IF _TALLY > 0
WITH THIS
.ShowList("Card_No")
.grdMembers.RECORDSOURCE = "myMember"
ENDWITH
ENDIF
WITH THIS
.GRIDHIGHLIGHTER1.Init()
.RefreshGrid()
.grdMembers.SETFOCUS
.txtKeyword.SETFOCUS
ENDWITH
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...