Search found 33 matches: delrepos

Return to advanced search

Re: sobre comportamiento de txbrowse

... con ! FOR deleded() Un saludo JLL Yes. Finally I am going to come to a similar recommendation. Before that I wanted to know the effect of ::DelRepos(). Some users have been occasionally facing this problem and I am trying to decide a final fix. About ! Deleted() condition: Having a for clause ...
by nageswaragunupudi
Wed Aug 10, 2011 2:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: sobre comportamiento de txbrowse
Replies: 9
Views: 3484

Re: sobre comportamiento de txbrowse

May I know the version of FWH you are using?

Please see the method Refresh() in the xbrowse.prg and locate the line with the code:
::DelRePos()

Please comment out this line and link to your program. Can you let me know if the problem is resolved or not with this change?
by nageswaragunupudi
Wed Aug 10, 2011 9:29 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: sobre comportamiento de txbrowse
Replies: 9
Views: 3484

Re: New FTDN March/Marzo 2009 (9.03)

... escrito con llamadas a ToExcel() o ToCalc() funciona en cualquier sistema en el que, ya sea Excel o OpenOffice Calc estén instalados. Método DelRePos Este método es llamado desde el método Refresh. Se utiliza para lanzar un error en tiempo de ejecución cuando en una dbf se usa SET FILTER ...
by Antonio Linares
Fri Apr 10, 2009 6:34 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2009 (9.03)
Replies: 1
Views: 2276

Re: XBROWSE : Error in method Delrepos

... , cFilter will be empty. Next code tries to avoid this //----------------------------------------------------------------------------//METHOD DelRepos() CLASS TXBrowse   local lRepos := .f.   local rec1 , rec2   if lAnd( ::nDataType, DATATYPE_RDD ) .and. ::nLen > 0      ...
by demont frank
Mon Mar 30, 2009 3:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Error in method Delrepos
Replies: 22
Views: 3568

New FTDN March/Marzo 2009 (9.03)

... software is not found. Now software written with call to ToExcel or ToCalc work on any system where either excel or calc are installed. METHOD DelRePos This method is called from Refresh method. This used to raise a runtime error when DBF is SET FILTER TO an expression containing local / static ...
by Antonio Linares
Fri Mar 27, 2009 9:15 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2009 (9.03)
Replies: 1
Views: 2276

Re: XBROWSE : Error in method Delrepos

NageswaraRao, Thanks for the detailed explaination. It does seem that it would be less work to change from using a local or static than to write repostioning code. One other possible solution would be to leave the original code as is (so that it does error out with locals and statics) and add a comm...
by James Bott
Sun Mar 22, 2009 4:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Error in method Delrepos
Replies: 22
Views: 3568

Re: XBROWSE : Error in method Delrepos

... modification has become a great irritant to the programmers who use local / static variables in their filter expressions. I propose revision of DelRePos() method as below: //----------------------------------------------------------------------------//METHOD DelRepos() CLASS TXBrowse  ...
by nageswaragunupudi
Sun Mar 22, 2009 4:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Error in method Delrepos
Replies: 22
Views: 3568

Re: XBrowse Sample

Hi Richard, The filter now works fine, but an error in DelRepos encountered when pressing the Alt key or when resizing columns with mouse.: Error description: Error BASE/1003 Variable does not exist: CALIAS_PAYDB Stack Calls =========== Called from: ...
by ryugarai27
Sat Mar 21, 2009 2:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Sample
Replies: 7
Views: 1117

Re: XBrowse Sample

... the variables contained in the filter expression private not local so they remain visible to xbrowse 2. Change your copy of xbrowse.prg in the delrepos method and comment the filter section this way METHOD DelRepos() CLASS TXBrowse   local lRepos := .f.   local cFilter, ...
by Richard Chidiak
Fri Mar 20, 2009 5:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Sample
Replies: 7
Views: 1117

XBrowse Sample

... 2 xbrowses with reference to different database respectively.. I have used DBFilter but the browses crashes the display after each method call to DelRepos(). I wonder if somebody could send me a sample working program with the situation below: First browse have records of employee indexed by lastname ...
by ryugarai27
Fri Mar 20, 2009 2:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse Sample
Replies: 7
Views: 1117

Re: XBROWSE : Error in method Delrepos

James,

Yes, I also thought about that yesterday, when I answered :-)

That enhancement was developed by Nageswararao, as far as I remember. His comments would be welcome.
by Antonio Linares
Sun Mar 15, 2009 7:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Error in method Delrepos
Replies: 22
Views: 3568

Re: XBROWSE : Error in method Delrepos

Antonio, >Basically the idea is that we are going to repaint the browse, and if the current record does not match the filter expression, then we skip it, so it is not displayed. But as Frank said, isn't this redundant since the database RDD is already handling the filter? It seems to me that the ...
by James Bott
Sun Mar 15, 2009 4:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Error in method Delrepos
Replies: 22
Views: 3568

Re: XBROWSE : Error in method Delrepos

Otto,

>
But if the filter expression contained references to local or static variables you get an error:
Error BASE/1003 Variable does not exist: CRGZIMMERNR
>

You can create a temporary private variable to hold such value.
by Antonio Linares
Sat Mar 14, 2009 3:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Error in method Delrepos
Replies: 22
Views: 3568

Re: XBROWSE : Error in method Delrepos

Thank you, Antonio. But if the filter expression contained references to local or static variables you get an error: Error BASE/1003 Variable does not exist: CRGZIMMERNR How can you resolve this problem? Thanks in advance Otto Otto, The problems comes from macro evaluation cFilter ( := Dbfilter() )...
by demont frank
Sat Mar 14, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Error in method Delrepos
Replies: 22
Views: 3568

Re: XBROWSE : Error in method Delrepos

Thank you, Antonio.

But if the filter expression contained references to local or static variables you get an error:
Error BASE/1003 Variable does not exist: CRGZIMMERNR

How can you resolve this problem?
Thanks in advance
Otto
by Otto
Sat Mar 14, 2009 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE : Error in method Delrepos
Replies: 22
Views: 3568
Next

Return to advanced search