wdarmajaya
Založený: 13.06.2007
Príspevky: 4
Zaslal: 2007-06-13 16:34
Návrat hore
Odpovedať s citátom
|
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
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2007-07-25 13:22
Návrat hore
Odpovedať s citátom
|
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
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|