Add Button open form, from registration Editable Grid View

Hello,

I need to add a button on a form: Editable Grid View

That button need to look at each record, and is similar to editing in modal view.

I need this button is to call another form, which would edit the registry.

Achieve put the button but not winged each record. All I could make is that the form opens in modal view, and then clicking on the button I open the form.

I need to jump over modal view, and directly by clicking the button winged me open a registration form.

Beforehand thank you very much.

The editable grid view is not a grid, but a form and thus record oriented. If you create a button then you need to apply a piece of php reselecting all data using plain sql, process your data and then call the form you need to process. Another approach could be to create a grid, apply a run button. Then you will get an event on each record to process.

Hi ADUCOM,

The theme of do it through a grid is as follows:

The form, have it inserted into another Master / Detail form.

Try to insert a Grid within the Master / Detail form, but I can not make the link and associate the registration.

Example: I have two forms. One who is an employee and another that is NEWS.

Within the record of the employee, it is where I add the master / detail form, and call the form NEWS. To see only the new employee.

With editable form view I could do with a grid no.

You can guide me with this issue?

Best regards.

I would like to, but I’m affraid I can’t follow exactly what you are trying to do.

I understand what Molmos is wanting because I’m trying to do the exact same thing. I am trying to set up an order form using Master/Detail; Master will contain general Order information and Detail will contain the Items for the order. The Master is single record, and I want to the Detail to be a Grid Application and only to display some of the information from the Items. I don’t want to use a Form Application for the Detail because I have a large number of fields for the Items, which makes editing in place or editing with modal quite difficult.

Instead, I want to add a button on the Master which opens, in the same window (replacing the current window contents), the Items of that particular Order, in a completely separate Form Application (editable grid view).

However, when I try to use the Grid Application for the Detail it shows all the records not just the ones pertaining to that particular Order. Also, I am having difficulting getting the button, I described above, to work. How to I go about doing these two things?

I created a video about this, I will share the link when uploaded.

https://www.youtube.com/watch?v=2P-xUWCU6sE

Sorry for the speech and quality, I did it in 10 minutes :stuck_out_tongue:

While I did appreciate your video and it did help me some, it’s hard to follow and some of the steps are out of order. I think it would be more clear if you started over from scratch showing it done step by step. I have since opted for a simpler form setup, but I may revisit this later as a way to improve my forms.

Well… I did it in 10 minutes, what do you expect… :slight_smile:

Giu,

if you edit some fields on the master form and you open the detail form before saving the master, you’ll lose the editing, right?

Going from grid to form is safe, but AFAIK form to form in the same window can cause issues like the one I described above. Do you have any hints on how to solve this (users loosing editing data)?