Hello John
I could noy help but notice a small problem .....
"IIF(RECNO('csrtmpFile') <> this.parent.Gridhighlighter1.nRecno,'',RGB(0,0,128))"
change it to
"IIF(RECNO('csrtmpFile') <> this.parent.Gridhighlighter1.nRecno,<b>RGB(255,255,255)</b>,RGB(0,0,128))"
>Hi
>thank you for reply
>the expression I get is
>
>
>"IIF(RECNO('csrtmpFile') <> this.parent.Gridhighlighter1.nRecno,'',RGB(0,0,128))"
>
>
>I use messagebox to trace the line of code of error occured. I found that it happen when
>
>>>SELECT 0
>>>USE DBF("csrItemGrid") AGAIN SHARED IN 10 ALIAS csrtmpFile
>>>CURSORSETPRO("Buffering", 5, "csrtmpFile")>
>>>thisform.mygrid.RECORDSOURCE = "csrtmpFile"
>>>thisform.gridhighlighter1.init()
>
>It donesnt happen everytime. The error occured sometime only.
>Any ideas??
>
>thank you
Regards
Hiten K M
( The best and the worst are yet to come .. keep coding ! )
My Resume >>