message 'Invalid data'.

Hello,
I have a problem when I use a link between a grid with a form.
In the property grid I checked ‘Display button new (row on) the grid toolbar’ so I have the ‘New’ button.
When I press the button I receve an error message ‘Invalid data’.

Any help would be appreciated

Maurizio

Do you still get the “invalid data” message if just before clicking the New button you perform a refresh of the grid?
(right click on the grid and select “Reload frame” or just Reload if the grid is not in a frame)

I tried your advice but I have the same error

I found this happens when if I rename the form application ,
(I chose the option to automatically rename the links;)
but I don’t have the solution if not to redo the whole form

Try “Enable Direct call by URL”

2 Likes

I solved, the problem is caused by the fact that you cannot have applications with the name beginning with a number. :zipper_mouth_face:

I had the same problem, I couldn’t fix it.

The only thing that worked for me was to remove the “link between applications” that is created by default in the grid application, and then in the same app, create a button of type “link” that takes me to the form application.

A good idea inside the form app, is to go to events > onApplicationInit > and there set the macro sc_apl_conf(“myform”, “start”, “new”); to start in insert mode.

1 Like