Zie hieronder een engels mailtje (heb het namelijk geschreven en op een paar Engelstalige Filemakerforums gezet, onwetende dat er ook een Nederlandstalige was ), Ik heb het idee dat wat ik wil moet kunnen, maar kom er niet op.... Als iemand me de goede weg op zou kunnen sturen, graag...
I've created a productiondatabase for our tv department. I also created a webinterface to view/list/edit/create records. All of that works just fine. But, I want the user to be able to fire a script, to print the record the user is editing/viewing at that moment. Here's how it goes :
After a find, the user gets the resultpage, showing a list of relevant records. From there, he/she can access all details from that record by clicking a hyperlink, which uses the tag :
So far, so good. It shows the edit/view page, where the user can update the record and save it. And now for the tricky part : I also included a hyperlink which will fire a printing script. Link is like this :
And there it is... Sometimes it prints the right record, sometimes it just prints something different. As far as my ideas at this moment goes, it might have something to do with another user doing a search from the web in the database, which makes another record 'active', if you get my point. So, I tried to create another link, which jumps to a extra html page called print. I used the link :
in order to force some kind of 're-lookup' of that particular record. The page print.html will use a refresh metatag, which after 1 second will fire the 'printing'-script. Sounds ok, but....it's not working.
So far for the big introduction, how can I make sure that a record I'm editing is the one being printed, even if someone else searched into the datebase (which will happen quite often, I guess) ?
Oh, before I forgot : the printing script is just as plain as you can maken it, it switches to a layout, calls for a subscript to print, and switches back to the mainlayout of the database.
If someone can help me, it would be very appreciated !
Question
arotgans
Hallo,
Zie hieronder een engels mailtje (heb het namelijk geschreven en op een paar Engelstalige Filemakerforums gezet, onwetende dat er ook een Nederlandstalige was
), Ik heb het idee dat wat ik wil moet kunnen, maar kom er niet op.... Als iemand me de goede weg op zou kunnen sturen, graag...
Groeten,
André Rotgans
andre.rotgans@xs4all.nl
*************************************
Hi,
I've created a productiondatabase for our tv department. I also created a webinterface to view/list/edit/create records. All of that works just fine. But, I want the user to be able to fire a script, to print the record the user is editing/viewing at that moment. Here's how it goes :
After a find, the user gets the resultpage, showing a list of relevant records. From there, he/she can access all details from that record by clicking a hyperlink, which uses the tag :
So far, so good. It shows the edit/view page, where the user can update the record and save it. And now for the tricky part : I also included a hyperlink which will fire a printing script. Link is like this :
And there it is... Sometimes it prints the right record, sometimes it just prints something different. As far as my ideas at this moment goes, it might have something to do with another user doing a search from the web in the database, which makes another record 'active', if you get my point. So, I tried to create another link, which jumps to a extra html page called print. I used the link :
in order to force some kind of 're-lookup' of that particular record. The page print.html will use a refresh metatag, which after 1 second will fire the 'printing'-script. Sounds ok, but....it's not working.
So far for the big introduction, how can I make sure that a record I'm editing is the one being printed, even if someone else searched into the datebase (which will happen quite often, I guess) ?
Oh, before I forgot : the printing script is just as plain as you can maken it, it switches to a layout, calls for a subscript to print, and switches back to the mainlayout of the database.
If someone can help me, it would be very appreciated !
Kind regards,
André
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.