I am trying to insert a dialog component page between two grids and have a Student_Id field carry through.
The first grid is a read only grid in which I have a field linking to the second grid, which is updateable, add records only, to a desktop table called Students. The link address for the linking field is:
SelectClass.a5w?Selectclass_link_1C=Student_Id={Student_Id}
The second updateable grid has Student_Id defined as a textbox field. When I enter new data and submit the record, all the data including Student_Id are saved correctly into the destination desktop table.
I want to insert a dialog component page between the two grid component pages that allows the user several selections using a radio button. One of the selections will allow the process path described above. The other selections go to other pages. I have defined the choices for the radio button and used the following code in the After Validate section of the component:
This code works and opens the pages correctly. But when entering data into the SelectClass page, it all gets saved to the desktop EXCEPT for Student_Id. The filter seems not to work, but I can't find anything wrong with it. In the dialog component Student_Id is defined as a textbox control; the other control is the radiobutton. Any ideas what might be my problem?
The first grid is a read only grid in which I have a field linking to the second grid, which is updateable, add records only, to a desktop table called Students. The link address for the linking field is:
SelectClass.a5w?Selectclass_link_1C=Student_Id={Student_Id}
The second updateable grid has Student_Id defined as a textbox field. When I enter new data and submit the record, all the data including Student_Id are saved correctly into the destination desktop table.
I want to insert a dialog component page between the two grid component pages that allows the user several selections using a radio button. One of the selections will allow the process path described above. The other selections go to other pages. I have defined the choices for the radio button and used the following code in the After Validate section of the component:
Code:
IF Radiobutton = "1" then dim filter as c filter = "Student_Id=" + quote(Student_Id) filter = urlencode(filter) Currentform.redirectTarget="SelectClass.a5w?Selectclass_filter="+filter else if Radiobutton = "2" then Currentform.redirectTarget="MainMenu.a5w" endif
Comment