... 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, ...
... 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 := ...
... 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
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 ...
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 ...
... 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", ...
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 ...
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.
... 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 ...
... 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 ...
... ) // 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 ...
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.
... 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 ...
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?
... 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 ...