Return to site

Editable grid view master detail scriptcase

broken image

I’ve tried some Ajax event I found on the forum with no success (sc_reload_md(name of the detail form), sc_reload_masterdetail(name of the detail form).

broken image

I can enter all the other values and create this new entry tough. We also have created 2 forms: one for department and one for employee.

broken image

A department may have 0, 1, or many employees. Let’s say we have a master detail relationship between department and employee. But nothing appear, not even an error message. The trick is to make the second Form as Editable Grid form. I first enter the name/ID of a patient, and then I would like to see the grid view with all the previous consultations before adding any other information about this consultation. For example, I run the application, clic on “add” (a consultation), everything is blank. It work well on load, but not after that.

broken image
broken image

In the master form I’ve managed to store a local var wich is the patient ID with an AJAX event (onclick/update), and I’ve modified the Select of the detail grid view to show only the consultation of the patient with the ID. This table store consultations of patients and is used by several people of my team, a patient can have multiple consultations with different details. I’ve added a detail form wich is a grid view of the same table. Hi, I made a master form to enter or edit the record of a table (quite simple though).

broken image