Hi Kristopher,

This is the window opened for do a query:

This after the query done and window closed, like you can see the title of the windows is upgraded with 6 record, but the selection of records is not correct displayed.

If i click on a row of output for, 4D upgrade the row clicked, if i click on one button up of form, the selection of record is finaly upgraded.

Using the option Plain form window this not happen, after closed the window the records selection is upgraded.

Thanks

/Ferdinando/


Il 08/05/2018 18:33, Kristopher Merolla ha scritto:

Hi Ferdinando,

So you are doing something like this?

On my output form I have two buttons, one opens a palette form window and the other a plain form window.

The “form” opened by these buttons has some fields and a button on it that will query the table for the ID matching the row clicked.

The window shows selection 1 of 10 but displays all the records:

After clicking something else, like a button on the output form or something like that, the form then updates displaying the selection (or if you click off the 4D window):

Did this work any differently for you in an older version of 4D?

The selection is actually changed, which can be seen at the top of the form, it just does not update the display on the form. It seems like the display on the form is waiting on another event, like another click, to actually display the updated records.

        
Kristopher Merolla
Technical Support Engineer

Telephone :     
Email :         [email protected]
Web :   

        
        
4D inc
95 S. Market Street, Suite #240
CA 95113San Jose- United States

Standard :      
Fax :   

Banner <http://bit.ly/2HcYn0f>

-----Original Message-----
From: stardata.info [mailto:[email protected]]
Sent: Tuesday, May 8, 2018 9:19 AM
To: Kristopher Merolla <[email protected]>; 4D iNug Technical <[email protected]>
Subject: Re: OPEN FORM WINDOWS

Hi Kristopher,

Below my answers.

Thanks

Ferdinando

Il 08/05/2018 17:46, Kristopher Merolla ha scritto:

> Hi Ferdinando,

>

> In 16.3 HF2 I put together a simple case, making a custom output form for a table with two buttons. One button runs your first block of code to open a Palette window and the other a Plain window. The "form" opened by the buttons on the output form has field variables, and I am able to modify them and when closing the window, the records are modified.

>

> Is this what you are trying to accomplish?

The issue is that using the option Palette form window, the list of records in the output form is not displayed correctly.

>

> If not, what is in your "form" (are there any other buttons, bits of code, etc) and what exactly do you mean by the "selection of the records are not upgraded in the output form"? Are you trying to change the selection like a query or modify the records? Do you have any other code executing here?

I open the window for do a queries, when I close the window, the list of records are the same and are not upgraded. If i click on another button upper the form windows, i can see the new selection of records.

>

> Regards,

> Kristopher

>

>

>

> Kristopher Merolla

> Technical Support Engineer

>

> 4D Inc

> 95 S. Market Street, Suite #240

> CA 95113 San Jose

> United States

>

> Telephone :

> Standard :

> Fax :

> Email : [email protected] <mailto:[email protected]>

> Web :

>

> -----Original Message-----

> From: 4D_Tech [mailto:[email protected]] On Behalf Of

> stardata.info via 4D_Tech

> Sent: Tuesday, May 8, 2018 6:55 AM

> To: [email protected] <mailto:[email protected]>

> Cc: stardata.info <[email protected] <mailto:[email protected]>>

> Subject: OPEN FORM WINDOWS

>

> Hi All,

>

> I work 4D V16 on windows.

> Using this code in one button of output form for doing a queries:

> $Win:=Open form window("form";Palette form window;Horizontally

> centered;Vertically centered;*)

> DIALOG("form")

> CLOSE WINDOW

> i notice that the selection of the records are not upgraded in the output form.

>

> If use the option Plain form window i not have the same issue.

> $Win:=Open form window("form";Plain form window;Horizontally

> centered;Vertically centered;*)

> DIALOG("form")

> CLOSE WINDOW

>

> Someone know the reason?

>

> Thanks

> Ferdinando

> **********************************************************************

> 4D Internet Users Group (4D iNUG)

> FAQ: http://lists.4d.com/faqnug.html

> Archive: http://lists.4d.com/archives.html

> Options: https://lists.4d.com/mailman/options/4d_tech

> Unsub: mailto:[email protected]

> **********************************************************************

>


**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to