Search found 53 matches: principle

Return to advanced search

Re: Bad workaround for code that i can't get working

... in the codeblock created inside the loop. If and when that becomes necessary, we need to create the codeblock in a separate function using the principle of detached locals. Instead, I advise you to create the 3 buttons individually like this: @ r, c BTNBMP PROMPT { || TOKEN( FIELD->NAAM, ...
by nageswaragunupudi
Sun Mar 21, 2021 4:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bad workaround for code that i can't get working
Replies: 2
Views: 441

Re: Almacenar/Recuperar imagenes, binarios en Tablas DBF

... TEXT data in MySql, MsSql or other databases, it can be done in one simple step. MYSQL Example (using FWHMYSQL and can be tested with FWH 17.01): Principle is the same for other libraries too. #include "fivewin.ch"function Main()   // MYSQL   local oCn, oRs   local cFile    := ...
by AIDA
Thu Feb 11, 2021 7:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Almacenar/Recuperar imagenes, binarios en Tablas DBF
Replies: 12
Views: 5017

Re: XBrowse: how to load image data instead of image name

... nRow, nCol GET oGet VAR aVar[ n ] of oWnd <clauses> // note this value of "n" remains the same till oGet goes out of scope // the principle is called "detached locals" return oGet
by Otto
Tue Nov 03, 2020 9:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: how to load image data instead of image name
Replies: 17
Views: 1547

Re: Belgium VAT-Controle function

Marc, Do you know the principle of checking a Belgian VAT-number? A Belgian VAT-number looks like BE0574.774.488. Take "BE0" at the start away. You keep 574.774.488. Get rid of the points. You keep 574774488. Take the first ...
by nageswaragunupudi
Sat Mar 28, 2020 3:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Belgium VAT-Controle function
Replies: 5
Views: 815

Re: Belgium VAT-Controle function

Marc, Do you know the principle of checking a Belgian VAT-number? A Belgian VAT-number looks like BE0574.774.488. Take "BE0" at the start away. You keep 574.774.488. Get rid of the points. You keep 574774488. Take the first ...
by driessen
Fri Mar 27, 2020 11:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Belgium VAT-Controle function
Replies: 5
Views: 815

FWH 18.08: Gets with loop variable as array subscript

... this problem, we need to create the Gets in a separate function using the concept of detatched locals. Here is a working sample using this principle. Code-3: (Correct working sample) #include "fivewin.ch"function Main()   local oDlg   local aPrompts := { "First", ...
by nageswaragunupudi
Thu Sep 27, 2018 6:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 18.08: Gets with loop variable as array subscript
Replies: 15
Views: 2518

Re: To all MySQL experts

Otto, It seems that your code is php. This is hosted on your server and in principle NO ONE should access your server. If someone accesses it, yoi will be a dead man. You must differentiate windows applications / web applications. In windows you can have your ...
by Carles
Fri Aug 31, 2018 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To all MySQL experts
Replies: 13
Views: 2224

Re: Drag and drop image resources

In principle, Yes.

Depending on how we want to store the dropped files or their contents in the target database, we need to provide suitable code for the bDropFiles codeblock or handle the paste object.
by nageswaragunupudi
Wed Aug 15, 2018 2:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drag and drop image resources
Replies: 4
Views: 875

Re: O API — an alternative to REST APIs

... in 2 lines. With the OApi any of the methods are predictable, you write every single one in both sides of the application, going against the principle "Convention over Configuration", http://rubyonrails.org/doctrine/#convention-over-configuration For complex resources, GraphQL ...
by Carlos Mora
Wed May 02, 2018 10:55 am
 
Forum: Off Topic / Otros temas
Topic: O API — an alternative to REST APIs
Replies: 4
Views: 1042

Re: Dynamic button on buttonbar

... try this sample. For this test, I have used customer.dbf in fwh\samples folder and used FIELD->MARRIED instead of Member/AddMember. But the principle is the same. Upto version FWH17.06, prompt changes (Married/Single) when browse row is changed but bitmap does not change. Please wait for ...
by nageswaragunupudi
Thu Jul 27, 2017 12:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dynamic button on buttonbar
Replies: 2
Views: 946

Re: FWHMARIADB Samples

... ) // In case the rowset is being browsed. bEditDilog: { |oRec| MyEditDialog( oRec ) } The following is a simple demonstration of this method. The principle can be extended to multiple dialogs and more complex cases. maria15.prg #include "fivewin.ch"#include "dbcombo.ch"static ...
by nageswaragunupudi
Thu Apr 27, 2017 1:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMARIADB Samples
Replies: 48
Views: 20746

Re: Organizador de ficheros multimedia o ficheros externos

If you are using DBFFCDX, you can store any data of any type of any size in the memo-fields. We can easily put together a small xbrowse to work with drag and drop or copy and paste any kind of data into the dbf.

Even if you are using Mysql, etc also principle is the same.
by nageswaragunupudi
Mon Mar 06, 2017 11:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Organizador de ficheros multimedia o ficheros externos
Replies: 4
Views: 1264

Re: Almacenar/Recuperar imagenes, binarios en Tablas DBF

... TEXT data in MySql, MsSql or other databases, it can be done in one simple step. MYSQL Example (using FWHMYSQL and can be tested with FWH 17.01): Principle is the same for other libraries too. #include "fivewin.ch"function Main()   // MYSQL   local oCn, oRs  ...
by nageswaragunupudi
Mon Mar 06, 2017 11:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Almacenar/Recuperar imagenes, binarios en Tablas DBF
Replies: 12
Views: 5017

Re: ADO RDD xHarbour

Antonio.
In principle should be present here all ones that are not only to convert data types, such as SUBSTR for ex.
The ones that alter the value, length of a field must be present here.

Also upper() and so on should be in this list?
And whats ex. should not to be in list?
by byte-one
Fri Nov 20, 2015 11:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447256

Re: ADO RDD xHarbour

... I think its international. SET ADO INDEX UDFS TO should contain for standard SUBS and SUBSTR. You can place here any functions you want. In principle should be present here all ones that are not only to convert data types, such as SUBSTR for ex. The ones that alter the value, length of a ...
by AHF
Fri Nov 20, 2015 10:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 447256
PreviousNext

Return to advanced search