Reid Posted September 8, 2010 Posted September 8, 2010 I have a database to track job numbers. In a layout I have each specific job with a portal that shows the notes I have made for that job (notes are from job_notes table). I have a button "add_note" that has a script that opens up a new window in add mode to add a new note. The problem is that I have to choose the job number from the new window. I'd like it to automatically choose the job number I was viewing when I clicked the "add_note" button. Is this possible?
bcooney Posted September 8, 2010 Posted September 8, 2010 There's a better way. Your "Add Note" button should capture the JobID and put it in the JobNotes:JobID. Like this, in pseudocode: Set variable $JobID Jobs:JobID New Window Go to layout Notes New Record Set Field Notes:JobID to $JobID Resize window Pause Close Window.
Reid Posted September 10, 2010 Author Posted September 10, 2010 Thanks bcooney! You've done it again!
Recommended Posts
This topic is 5193 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now