PDA

View Full Version : running scripts thru the web browser


elyod_72
02-21-03, 20:54
I have a database with a web face that pull together information from several fields and then e-mails is out to prespecified people. The script will work as far as e-mailing out, but it is doing a find all and going to the first record and e-mailing that out. I cannot get it to e-mail out the correct record.
How do I get the database to understand which record I am looking at on the web page and for it to run the script on the correct record?
Please help!

stressedout
02-21-03, 22:51
&-recid=[fmp-currentrecid]

omiossec
02-22-03, 06:49
Originally posted by elyod_72
I have a database with a web face that pull together information from several fields and then e-mails is out to prespecified people. The script will work as far as e-mailing out, but it is doing a find all and going to the first record and e-mailing that out. I cannot get it to e-mail out the correct record.
How do I get the database to understand which record I am looking at on the web page and for it to run the script on the correct record?
Please help!

You can test

http://..../Fmpro?-db=database&-lay=layout&unique or -recid ...&-script=script name&-find