Search found 196 matches: vars

Return to advanced search

Re: ADO RDD xHarbour

... Corrected bugs: Logical fields array initialization. scoped relations Scopes were not cleared when clear relation. Eof and Bof vars were not being reset correctly by gotop and gobottom. Changes: 1) New SET ADO TABLES DECIMAL FIELDS LIST TO.... Some engines like Access and SQlLite ...
by AHF
Fri Nov 13, 2015 8:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447072

Re: ADO RDD xHarbour

Antonio,

It also seems that your TRYADORDD.PRG file has not been updated as it is erroring out with 3 errors. And there are undeclared vars too.

If would really help if you could provide in this test PRG, tests of all the new functions also. Otherwise each of us has to create test programs.

James
by James Bott
Wed Oct 14, 2015 9:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447072

Re: Can TGraph do X,Y plots?

... This makes it confusing when looking at the code since you don't know if it is just the label on the chart that is wrong, or are all the code vars containing a Y actually referring to the X-axis. This will be fun... James
by James Bott
Thu Oct 08, 2015 11:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can TGraph do X,Y plots?
Replies: 18
Views: 5515

Re: refresh a get with when

... control set is .f. ? May be there is a problem in your logic: If the first combo has the value "clients", ANY VALUE for the third set of vars have NO MEANING. As a rule of thumb, if a control has it's when in .f. there is nothing to do with it's value. Probably you should put more code ...
by Carlos Mora
Wed Sep 23, 2015 8:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: refresh a get with when
Replies: 10
Views: 2873

Re: PUBLIC var declaration issue

Carlos, May be it's not so easy. It depends on how vars are being used: a LOCAL can't replace a PRIVATE, because the scope of PRIVATEs go beyond the current function to the called ones. Fortunatelly in your case every var has it's own (weird) name, ...
by James Bott
Tue Sep 01, 2015 1:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 6349

Re: PUBLIC var declaration issue

... variable used in every function. This forces me to declare all of them at the top of the function. May be it's not so easy. It depends on how vars are being used: a LOCAL can't replace a PRIVATE, because the scope of PRIVATEs go beyond the current function to the called ones. Fortunatelly ...
by Carlos Mora
Tue Sep 01, 2015 11:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 6349

Re: PUBLIC var declaration issue

... the top of the function. Note that many of the functions in this app are hundreds or even thousands of lines long. So I need to document all the vars to help me understand the function and hopefully make them more bomb proof. The code is also complicated since many, if not most, of the variable ...
by James Bott
Mon Aug 31, 2015 2:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 6349

Re: PUBLIC var declaration issue

... I have been able to lookup the /a, I remember why I don't use it. I don't want automatic memvar declarations since I am trying to document all vars used in each function. This is mainly so I can look for locals and privates that may be overriding publics. As I am sure you know these situations ...
by James Bott
Sun Aug 30, 2015 3:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 6349

Re: ADO RDD xHarbour

... of that SQL function in our app must be defined in SET ADODBF INDEX LIST to enable our app to evaluate it any time. Besides that remember that the Vars must be passed in the index expressions already evaluated as in SQL engine they are out of scope. Never tried it but it should work. With ADS its ...
by AHF
Thu Aug 27, 2015 8:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447072

Re: Input form

... do oEdit:oLand_Pos, but rather just oLand_Pos. All the controls are stored in an array of the dialog object, so the dialog object doesn't have vars matching the names of the vars (such as oEdit:oLand_Pos). If you want them disabled, you should just do: REDEFINE GET oLand_Cover VAR LAND_COVER ...
by James Bott
Thu Jul 23, 2015 11:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Input form
Replies: 8
Views: 1711

Re: List of existing variables used

... maybe more than 15 or 20. Stamp them out. And you can store all PUBLICs in a static var in a function. The var is a class which contains all the vars you need. So, for instance, you could get the path to the data from anywhere in the program something like this: app():dataPath And the font face: ...
by James Bott
Fri Jul 10, 2015 8:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: List of existing variables used
Replies: 5
Views: 941

Re: List of existing variables used

... of the FWH debugger in FWH\source\classes\fwdbg.prg you will see that we use some HB_Dbg_vmVar... functions to retrieve the value of the different vars. But you have to compile your PRGs using /b Also in c:\fwteam\source\function\errsysw.prg we use the functions GetParam() and GetLocal() based ...
by Antonio Linares
Thu Jul 09, 2015 2:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: List of existing variables used
Replies: 5
Views: 941

Re: 2012 server

David, I ported a large app with no code change. In this case was easy because the app worked already with ADS so the indexes expressions with vars were all evaluated before sent to adordd. This should be the only exception in the code of actual apps because vars are out of scope when sent to ...
by AHF
Tue Jun 16, 2015 7:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: 2012 server
Replies: 24
Views: 5977

Re: Nuevo ADORDD

... ADS, MySql y MS Access. No se requiere un cambio de código. Excepto: 1) Al igual que con ADS en expresiones de índice que tiene que evaluar las vars antes de enviarlo a ADORDD. 2) Eliminar registros se eliminan inmediatamente de la tabela y no puedo recuperar de nuevo. Así código como: delete ...
by AHF
Fri Jun 12, 2015 8:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo ADORDD
Replies: 55
Views: 16618

Re: ADO RDD xHarbour

... have been made only with ADS, MySql and MS Access. No change code required. Except: 1) As with ADS in index expressions you have to evaluate vars before send it to adordd. 2) Delete records are immediately removed from table and cant be recovered again. So code like: Delete record recnoBlankRec() ...
by AHF
Fri Jun 12, 2015 7:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447072
PreviousNext

Return to advanced search