Insert Page with links to update pages
Good Day,
I have created an admin interface using dataassist. My insert_page allows an administrator to create/add new courses to the database. The course table in my database has 3 foriegn keys;
subject_cat_id (INT)
examination_id (INT)
awarding_body_id (INT)
These columns are primary keys in three seperate tables.
Because data assist is designed to create an insert form for 1 table, I would like to request your help for the following.
1. After creating my insert form using data assist wizard for add/ create course, I would like to create (dynamic) dropdowns that will list all the subject_categories, examination_categories, and awarding_body_categories available in my database.
2. If these rows do not exist i would like to create a button/link (bound to a form text field) that would link to an insert page for these 3 foriegn keys(3 indiviual insert pages). When the admin fills in these new catgories and clicks send/update I would like to be redirected back to the course insert form with the new data populating the fields, + my original filled in fields still in tact (not sure if a cookie or session variable is needed).
3. Now when the insert page is complete the admin can click the insert button and all the field in the table are populated even the foriegn keys.
I know this is possible as I have seen it in powerstore, but I have no idea how to implement this using data assist (and possibly dynamic dropdowns)