wdarmajaya
Joined: 13 Jun 2007
Posts: 4
Posted: 2007-06-13 16:34
Back to top
Reply with quote
|
Hey all,
Let's say that I have following tables:
table: student
id (pk)
name
addr
table: grade
id (pk)
student_id (reference to student.id)
grade
When user is on PME for grade, they can select student name dropdown (I'm using Table lookup restriction). Is there anything can be done so user can add a new student from the PME ADD grade page? (maybe url link on the column name or subform? )
Thanks for the help in advanced!
|
michal
Joined: 17 Jun 2003
Posts: 537
Location: Slovakia
Posted: 2007-07-25 13:22
Back to top
Reply with quote
|
not really, students dropdown are populated when the page is loaded (so adding a student in another window needs reload of the grade page).
it's possible to somehow play with sessions and redirections to add a new student (extra button that will save filled data to session, redirect to student add page, save there, magically know that something is stored in session, redirect back to grade page, fill data stored in session plus the student id, delete data from session, save finally). i tried it once, but it was a hell to debug (sessions last for a long time, users have more than one window open, ...) so good luck.
michal
|
|
Post new topic
Reply to topic
|
|
|