Search found 196 matches: vars

Return to advanced search

Re: 2012 server

... 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) Deleted records are immediately removed from table and cant be recovered again. So code like: Delete record recnoBlankRec() ...
by AHF
Fri Jun 12, 2015 8:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: 2012 server
Replies: 24
Views: 5977

Re: Looking for Harbour/Advantage Advice

... did. We just convert an app with ADS to MySQL with the new adordd developed by us. Not one single line of code change besides INDEX ON where the vars must be evaluated before but just like ADS. Ill post a new version fully working and tested in the next days . Although there are still small issues ...
by AHF
Wed Jun 03, 2015 12:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Looking for Harbour/Advantage Advice
Replies: 7
Views: 2282

ADO Filtering - Mr. Nages and others

... We are almost finishing ADORDD, but there is a problem converting some filters from Clipper sinatx to ADO Filter command: The problem is with the vars (oData:Codigo, cName)...:   SET FILTER TO FIELD->NAME = cName  SET FILTER TO AUXILIAR->RELACION  == alltrim(  STR( ...
by lucasdebeltran
Sat May 23, 2015 11:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO Filtering - Mr. Nages and others
Replies: 3
Views: 549

Re: ADO RDD xHarbour

... Please explain. Also, SET FILTER does not suport values, i.e: Code: SET FILTER TO LUCAS->NAME == cName Thats what I was speaking about. All vars must be evaluated before sent to ado filter once they are out of scope there. In order to be 100 % compatible with standard syntax we must evaluate ...
by AHF
Sat May 23, 2015 10:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447079

Re: ADO RDD xHarbour

... So we must enter each corresponding function into SET ADO or SET ADODBF. Also please note that as in other rdds such as ADS all functions and vars in indexes must be evaluated before sending it to the server as the funcs or vars do not exist there. For and while and all Index parameters should ...
by AHF
Tue May 19, 2015 10:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447079

Re: ADO RDD xHarbour

... Upper(cCity)+"'" Then the string would be: Upper(FIELD->City) ='LONDON' The same will happen in index expressions with vars. Sorry there isnt any other way. For us no problem because the app worked already with ADS and it was already doing that. Nevertheless this should ...
by AHF
Tue Apr 28, 2015 10:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447079

Re: Different radio- and checkbox-styles

A small extension : I added predefined logical vars. It belongs to sample 2 and 4 can be replaced with any others lVar := { { .F., .F., .T., .T., .F., .F. } } added a message wait on button-click deleted the alerts creating a PRG and EXE ( only ...
by ukoenig
Wed Feb 18, 2015 6:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Different radio- and checkbox-styles ( UPDATE 2.1 )
Replies: 6
Views: 1335

Re: possible changing BtnBmp-gradient at runtime ?

Mr. Rao, it works fine now. Just a symple REFRESH needed. I forgot using vars inside the testbutton. ( late at night, I lost my concentration ) The used vars : nBColorF1 := 12434811 nBColorB1 := 16777215 nBGradPos1 := 0.50 nBColorF2 := 255 nBColorB2 := 16777215 ...
by ukoenig
Fri Feb 13, 2015 9:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: possible changing BtnBmp-gradient at runtime ?
Replies: 3
Views: 556

Re: a function return 2 values

... oObj:value1 )msgInfo( oObj:value2 )  3) If the calling program is in the same prg as the function you could use file-wide static vars I highly recommend number 2, the class method. James
by James Bott
Sat Jan 31, 2015 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: a function return 2 values
Replies: 11
Views: 2295

Re: Copy or paste one record

... > 0 will replace a record. A selected replace-checkbox will auto-switch from .T. to .F. if nesessary, to avoid double selections. sample : date-vars selected : < empty date > date vars changed to DATE() will reset the checkbox < empty date > selected before to .F. sample : 2 copies ...
by ukoenig
Sat Jan 10, 2015 1:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy or paste one record
Replies: 12
Views: 5477

Re: Copy or paste one record

Maybe do You want to < RESET or REPLACE > defined vars of the new record ? A test, using different copy-options for the destination record of types < numeric, logic and date > : I added a new logic-field in DBF customer, to show how to receive ...
by ukoenig
Thu Jan 08, 2015 1:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy or paste one record
Replies: 12
Views: 5477

Re: ButtonBar od DIALOG

The only way I know to put a buttonbar on a dialog is with the ON INIT clause. You can solve your PRIVATE vars issue by creating a class and declaring all the vars as DATA. Then you can just pass the class object. The object will then be holding all the data. Think OOP. You ...
by James Bott
Mon Jan 05, 2015 5:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ButtonBar od DIALOG
Replies: 6
Views: 1389

Re: dbcombo blank

... Well, you can resort to what you have been doing and assign each field to memory variable. This does mean writing lots of code to load those vars then save them. This gets very tedious very quickly. Fortunately, there is a better solution, and that is to use a record class which copies the ...
by nageswaragunupudi
Sun Jan 04, 2015 8:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbcombo blank
Replies: 5
Views: 1430

Re: dbcombo blank

... Well, you can resort to what you have been doing and assign each field to memory variable. This does mean writing lots of code to load those vars then save them. This gets very tedious very quickly. Fortunately, there is a better solution, and that is to use a record class which copies the ...
by James Bott
Tue Dec 09, 2014 4:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbcombo blank
Replies: 5
Views: 1430

Re: dbcombo blank

I am trying to understand your code. Are TComp, TDesc, etc database objects? If so you don't need to create memory vars, you can just use the database object fieldname, ie oCust:name.

And please use the code tags when posting code so it retains its format.
by James Bott
Tue Dec 09, 2014 7:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbcombo blank
Replies: 5
Views: 1430
PreviousNext

Return to advanced search