Search found 54 matches: scatter

Return to advanced search

Re: TxBrowse 8.12 nuevo error

... dFecha TEMP->(__dbZap()) TEMP->(dbAppend()) oDlgAlb:Update() oBrw:Refresh() Return nil la función Inicampo, es similar al Gatter/Scatter de clipper, o a las funciones Load/Save de Database, simplemente inicializa una matriz con el tipo y longitud de campos de la tabla que se la ...
by Pedro
Mon Jan 05, 2009 5:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TxBrowse 8.12 nuevo error
Replies: 4
Views: 1015

... to index files to locate a element without scanning a array (i suppose , i am not a specialist) Also the syntach is much easier. In clipper i scatter the elements with LOCAL h[FCOUNT()] , i := 1 AEVAL(h,{||h[i]:=FIELDGET(i++)}) RETURN h To use i have to replace fieldnames with fieldnumbers ...
by demont frank
Tue Dec 23, 2008 7:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A much faster Class TDataBase !!!
Replies: 18
Views: 7254

With xHarbour you cann use HASH aDati := TAssociativeArray() aDati:c1 := "WWWW" aDati:c2 := "eeeeee" You cann simulate Scatter and gather of the record //------------------------------------------------------------------------- FUNCtion Scatter() Local aVars := {=>} LOcal nField ...
by Maurizio
Fri Sep 26, 2008 6:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: estructura de datos
Replies: 11
Views: 3545

... overcome these issues. >> As Otto showed, it does not. >What Otto showed is how you program around the issue - that is you automatically scatter/gather what you can and manually do the rest. It splits the code for a data object into multiple places which I don't really like. But that ...
by James Bott
Wed Apr 23, 2008 12:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849

... programs and printers work). > As Otto showed, it does not. What Otto showed is how you program around the issue - that is you automatically scatter/gather what you can and manually do the rest. It splits the code for a data object into multiple places which I don't really like. I am not ...
by xProgrammer
Tue Apr 22, 2008 11:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849

... to either their data structure or your application. >It makes sense to add your own data types (stored as text) but that pretty much blows scatter/gather out of the water. As Otto showed, it does not. James
by James Bott
Tue Apr 22, 2008 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849

... thought to be yes / no ends up with a third possibility. It makes sense to add your own data types (stored as text) but that pretty much blows scatter/gather out of the water. But if there is an existing data object that returns data as xml then its easy to use your existing UI and BL layers ...
by xProgrammer
Mon Apr 21, 2008 9:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849

Doug, >>Why? I take the opposite position. If they are aware of the fields, then there is MUCH less coding required-in fact for the gather/scatter there is no coding required. Even if you don't wish to use this feature, why would it be a negative? >Because when you want your software ...
by James Bott
Thu Apr 17, 2008 3:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849

... very useful >Why? I take the opposite position. If they are aware of the fields, then there is MUCH less coding required-in fact for the gather/scatter there is no coding required. Even if you don't wish to use this feature, why would it be a negative? Because when you want your software to ...
by xProgrammer
Wed Apr 16, 2008 11:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849

Doug, >>> My only point would be that automatic scatter gather means that the UI layer has to be aware of the fieldnames used by the data layer. >> They are. >But it would be preferable if they didn't need to be. Why? I take the opposite ...
by James Bott
Wed Apr 16, 2008 6:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849

Hi James >> My only point would be that automatic scatter gather means that the UI layer has to be aware of the fieldnames used by the data layer. > They are. But it would be preferable if they didn't need to be. > I suggest thinking about ...
by xProgrammer
Tue Apr 15, 2008 4:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849

Doug, >My only point would be that automatic scatter gather means that the UI layer has to be aware of the fieldnames used by the data layer. They are. >Clearly the Read(), Write() and Blank() methods of my classes can be automatically generated ...
by James Bott
Tue Apr 15, 2008 1:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849

Hi James I am 100% with you on that. My only point would be that automatic scatter gather means that the UI layer has to be aware of the fieldnames used by the data layer. Clearly the Read(), Write() and Blank() methods of my classes can be automatically generated ...
by xProgrammer
Tue Apr 15, 2008 1:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849

... called. (Data was passed as xml.) Whilst my code isn't exactlly three tier, it does pretty much conform to the general idea. If you use automated scatter/gather as I understand its current form, then your UI layer has to be aware of the field names that data is stored under. That becomes a problem ...
by xProgrammer
Mon Apr 14, 2008 10:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849

... date() ::lastTime:= time() return super():save() >I don't currently use any form of generic scatter / gather but I do buffer all data and updates are only written after the user confirms that they want to update / write. (Actually I mostly ...
by James Bott
Mon Apr 14, 2008 8:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question Abot DIALOGs
Replies: 45
Views: 12849
PreviousNext

Return to advanced search