Jump to content

Javascript (window.print() ) in FM 7 Pro


benatmiller

This topic is 5235 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Back in the old days...

No really I have no ability to force the owner of this machine to update their software but I want to allow them to print the current record in a web view environment.

If I choose print on the browser I print the entire control interface + the record.

Basically I need to be able to insert some javascript and execute it within the record or an element.

Have tried a script with an "Open URL[No Dialog; ] element but it seems to require the beginning of the URL to begin with 'http://' which defeats my purpose. I've tried the string 'javascript:' instead of 'http:' but no luck.

Other posts have suggested OpenURL but I suspect they are for later versions of FM. Another one suggested "Set variable =" but that is not an option on FM 7.

Thanks,

Link to comment
Share on other sites

This topic is 5235 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.