Search found 995 matches: deleted

Return to advanced search

Mr leandro If the RecSet has atleast one Row at the beginning, later even if all the rows are deleted also, the browse works well. But if we start with an empty RecordSet ( like an empty array ), the browse fails while trying to compute the datawidths. Try writing code ...
by nageswaragunupudi
Wed Feb 13, 2008 4:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Someone has an example of the use of a recorset with xbrowse
Replies: 19
Views: 5582

... some change in behavior that you want all your database to inherit, you an add it to the TXData class. For example, lets say you want to reuse deleted records. You can add the code to do that in TXData, then TMeter and any other database class that you have created will automatically inherit ...
by James Bott
Tue Jan 22, 2008 7:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: filter database using tdata class
Replies: 1
Views: 619

... the filter expressions. If not, the RDD optimizes the filter either patially or not at all depending on the availability of filters. When we SET DELETED ON, the RDD's require index on the expression 'DELETED()' also to optimize. Then, if we set filter like 'FLD1 = 'SOMETHING' .AND. FLD2 = 'SOMETHING' ...
by nageswaragunupudi
Tue Jan 15, 2008 2:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OrdKey CDX-NTX
Replies: 10
Views: 2339

On large tables if you find the filter to make the program slow, you can always create one more index tag 'INDEX ON DELETED() TAG DELETED'


Can you explain it because i don't understand it

Thank you
A.S.K
by ask
Mon Jan 14, 2008 3:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OrdKey CDX-NTX
Replies: 10
Views: 2339

There is another way if you are using DBFCDX only. Create the index on normal way. But when you open the table, set filter to !deleted(). OrdKeyCount() and OrdKeyNo() respect filters and scopes. So you get only 2 keys. On large tables if you find the filter to make the program slow, you ...
by nageswaragunupudi
Mon Jan 14, 2008 2:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OrdKey CDX-NTX
Replies: 10
Views: 2339

Create index with for !deleted() condition.
by nageswaragunupudi
Mon Jan 14, 2008 2:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OrdKey CDX-NTX
Replies: 10
Views: 2339

Yes but WHY? If i use set deleted on WHY does it counts the records? This is a BIG problem because i cannot move within my indexed records. Any solution?

Thank you
A.S.K
by ask
Mon Jan 14, 2008 1:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OrdKey CDX-NTX
Replies: 10
Views: 2339

Please create the table, index and close.
Reopen and then do the test. Both RDDs count deleted records.
by nageswaragunupudi
Mon Jan 14, 2008 1:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OrdKey CDX-NTX
Replies: 10
Views: 2339

OrdKey CDX-NTX

Try this #include "fivewin.ch" request DBFcdx FUNCTION MAIN() SET DELETED On DBCREATE( "TMPTEST", { { "TEST", "C", 10, 0 } } ) USE TMPTEST via "DBFcdx" INDEX ON FIELD -> test ...
by ask
Mon Jan 14, 2008 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OrdKey CDX-NTX
Replies: 10
Views: 2339

... each row.. Rick oBRW:nClrText := ; { || SelColor( oRs:Fields("code"):Value,oRs:Fields("DEL_CODE"):Value,oRs:Fields("EXPIR_DATE"):Value,oRs:Fields("DELETED"):Value,"F" ) } oBRW:nClrPane := ; { || SelColor( oRs:Fields("code"):Value,oRs:Fields("DEL_CODE"):Value,oRs:Fields("EXPIR_DATE"):Value,oRs:Fields("DELETED"):Value,"B" ...
by Rick Lipkin
Sun Dec 30, 2007 8:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about SQL
Replies: 52
Views: 12215

Why Some Browses with ADS are slow?

... we do notice great sluggishness with large tables, To find a solution we need to understand the behaviour of these functions. We normally use SET DELETED ON. We are not interested in seeing the deleted records but interested in dealing with the live records only. The functions AdsGetRecordCount ...
by nageswaragunupudi
Mon Dec 24, 2007 4:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Why Some Browses with ADS are slow?
Replies: 22
Views: 11387

James Bott wrote:Enrico,

It seems that the logical-length can only change when a record is added, deleted, or the filter or scope is changed.


Or when another user adds or deletes a record... :-(

EMG
by Enrico Maria Giordano
Sun Dec 23, 2007 9:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bLogicLen
Replies: 3
Views: 805

Enrico, It seems that the logical-length can only change when a record is added, deleted, or the filter or scope is changed. So, if there was a new var, nLogicLen, then it could be corrected only when any of the above things changed, and thus bLogicLen would only ...
by James Bott
Sun Dec 23, 2007 8:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bLogicLen
Replies: 3
Views: 805

Construye el indice con la claúsula FOR ! TuAlias->( Deleted() )
by Antonio Linares
Wed Dec 05, 2007 3:29 pm
 
Forum: FiveWin para CA-Clipper
Topic: Ayuda con Colores en Listbox
Replies: 10
Views: 2465

Prueba con

SET DELETED ON | OFF
by Antonio Linares
Wed Dec 05, 2007 2:58 pm
 
Forum: FiveWin para CA-Clipper
Topic: Ayuda con Colores en Listbox
Replies: 10
Views: 2465
PreviousNext

Return to advanced search