Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1] 2 3 ... 10
 on: October 09, 2019, 03:55:16 pm 
Started by Lu?s T. - Last post by Lu?s T.
Hi Sebastien and Reuben,

I did some experiments and made it work.

The problem was that I didn't know how to make the equivalent of (count=-1) in the Dynamic Dialog version. Without that fgl_dialog_getbufferlength() and fgl_dialog_getBufferStart() don't work as expected. I had to call d.setArrayLength() after creating the Display Array Dialog
  1.    CALL d.addDisplayArrayTo( thFielList, theSreenRecord )
  2.    CALL d.setArrayLength( theSreenRecord, -1 )

Infomix SQL allows me to select only certain rows using SKIP and FIRST:

  1.    SELECT SKIP ofs FIRST len field1, ..., fieldn FROM ...

I prepare the select and only get the rows based on what is returned by fgl_dialog_getbufferlength() and fgl_dialog_getBufferStart().

Works very well.



 on: October 07, 2019, 12:07:09 am 
Started by Lu?s T. - Last post by Reuben B.

One puzzling thing you said

  1. As I am using "ON FILL BUFFER" ... and d.getArrayLength() seems to return the number of elements of the array and not the maximum elements.
with ON FILL BUFFER, the screen array only has the visual rows in memory.  That is if the database cursor returns 1000 rows but on the screen only 10 rows are visible, only 10 rows will ever be in the array at a time.  So note in this example the line FETCH ABSOLUTE row c1 INTO arr.*, i.e i is a value between 1 and say 10, not between 1 and 1000

Also my example fgl_zoom is an example of a generic use of dynamic dialog with a display array (and a construct), probably similar to what you are trying to achieve although it doesn't use ON FILL BUFFER.    In particular around lines 776 of  I actually keep a copy of the entire array in memory, hence the use of[row, column] instead of using base.SqlHandle.getResultValue directly.


 on: September 30, 2019, 08:11:25 pm 
Started by Lu?s T. - Last post by Sebastien F.

ON FILL BUFFER trigger should work see

Please prepare a sample that reproduces your issue and send it to the support.

We will then contact you to help.


 on: September 30, 2019, 01:24:49 pm 
Started by Lu?s T. - Last post by Lu?s T.
I have several forms with screen arrays (tables), The interaction I want with all of them are similar. That's why I prefer to generic code. In other hand I prefer to design the form manually because each has is owns additional elements.

As far I understand I write directly in screen array with setFieldValue() method. So it is my problem of mapping an eventual program array to the screen array or getting directly the info from the database, using base.SqlHandle.

As I am using "ON FILL BUFFER" I am stuck because I don't know how to get the dimension of the array.  fgl_dialog_getBufferLength() returns 0 and d.getArrayLength() seems to return the number of elements of the array and not the maximum elements.

Should I inspect the XML of the form (TableElement.buffersize), or there are a method for this?

 on: September 30, 2019, 07:47:30 am 
Started by Lu?s T. - Last post by Sebastien F.
Hello !

First of all please can you tell us why you want to use dynamic dialogs?

Is there a good reason to not use static dialogs?

Then, to answer your question:

The purpose of dynamic dialogs is to handle data models dynamically, so it makes no sense to associate a program array with a static structure to a dynamic dialog!

For more details see:


 on: September 26, 2019, 05:47:56 pm 
Started by Lu?s T. - Last post by Lu?s T.
I want to transform a static display array in a dynamic one.

The manual says it is possible using the method addDisplayArrayTo of the ui.Dialog.Class.

  1. ui.Dialog.addDisplayArrayTo(
  3.                        name STRING,
  4.                        type STRING
  5.                    END RECORD,
  6.   screenRecord STRING )

What I don't understand is where should I refer to the program array!

The static code I want to replace is:

  2.    RECORD
  3.        code        INTEGER
  4.        description STRING
  5.    END RECORD
  7. DISPLAY ARRAY myArray to myScreenArray.*

Anyone has experience with this?


 on: September 26, 2019, 04:21:19 pm 
Started by Christine R. - Last post by Christine R.
[ANNOUNCE] Genero Enterprise 3.10 - Genero BDL Maintenance Release

 Genero Enterprise 3.10 - Genero BDL
 Maintenance Release

Four Js is pleased to announce a Maintenance Release of Genero BDL 3.10.22.

The Genero BDL bundle (FGLGWS) 3.10.22 is including
  • Business Development Language (FGL) 3.10.19
  • Web service extension (GWS) 3.10.19
  • Testing tool (GGC) 1.10.08
  • Application Server for Java (JGAS) 1.00.15
  • Web Components and wrappers (WCG) 1.00.17
  • Genero Browser Client (GBC) 1.00.54

These versions include the following fixes :

These versions are now downloadable from the web site :

Note : All Four Js Genero customers under maintenance have free access to the new release.

Best regards,

Four Js Development Tools

 on: September 25, 2019, 05:50:33 pm 
Started by Gary C. - Last post by Frank G.
Hi Gary,

 Sorry my fault, the auto logout time out has nothing to do with the USER_AGENT timeout, you should get a message that you have been logged out.

What is your GDC and GAS version ? Can you please contact your local support center to follow your case.


 on: September 25, 2019, 05:41:45 pm 
Started by Olivier E. - Last post by Olivier E.

  Genero Mobile 1.40 - iOS 13.1 and Xcode 10

Dear Customer,

Apple released iOS 13 on Friday, September 20, 2019.

Genero Mobile for iOS (GMI) 1.40 supports iOS 13 with Xcode 10.

To support Xcode 11, we must fix some issues encountered. We  will let you know when support is added for Xcode 11.

Best regards,

Four Js Development Tools

 on: September 25, 2019, 12:52:33 pm 
Started by Gary C. - Last post by Gary C.

Thanks for the reply. It may by my lack of understanding but is the USER_AGENT element still relevant when using GDC as the front end?

The manual states that USER_AGENT is a child of the TIMEOUT element which itself is a child of the UA_OUTPUT element. I only use UA_OUTPUT for our GBC applications.


Pages: [1] 2 3 ... 10
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines