Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Highlighter Class
Message
From
04/01/2001 09:51:33
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00458827
Message ID:
00459321
Views:
29
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...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform