thank you for your reply and example.
this is the code where the error is reported, line 8
1)METHOD Dispatch(oE) CLASS WindowPatients_Browse
2)
3) // this method is fundamental to handle all the events of the window of
4) // membership keep it in mind !!!! is outstanding
5) LOCAL nRETURN as int
6) STATIC cLastKey := "" as STRING
7)
8) nReturn := SUPER:Dispatch(oE)
9)
10) IF oE:Message = WM_TIMER .and. ; // a message has arrived from the timer
11) self:oDCCerca <> null_object .and. ; // the control has already been created
12) Trim(self:oDCCerca:TEXTValue)<> cLastKey // the search key has changed
13) cLastKey := FabAllTrim(self:oDCCerca:TEXTValue)
14)
15) self:oSF_WindowPatients_Browse:Server:SetOrder(2)
16) // execute the search
17) self:oSF_WindowPatients_Browse:Server:Seek(cLastKey)
18)
19) IF self:oSF_FWindowPatients_Browse:Server:EOF
20) Tone(800,3)
21) self:oSF_FWindowPatients_Browse:Server:GOTOP()
22) ENDIF
23)
24) ENDIF
25) RETURN nRETURN
I must then create a global variable glexit := false as logic
the control should be inserted where ?
Could you be more precise?
thanks
Aurora Baccio