Jump to content
Server Maintenance This Week. ×

Printing Specific Record


cjenkins

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

Recommended Posts

  • Newbies

I think the answer to my question is very simple - but I'm going nuts over it. When I'm browsing a set of Orders, I want to be able to print an Invoice for the one single record I'm viewing - not the complete found set. I need to be able to script this procedure for my users, so I can't just rely on "Print current record." What are the script steps for, in effect, finding the current record? Do I need to use a Set Field? If so, how do I specify what to set it to? Any help would be much appreciated!

Link to comment
Share on other sites

The best way is to just use a find to isolate the record.

Set Variable [ $RecordID; pkOrderID ]

Enter Find mode []

Set Field [ pkOrderID; $RecordID ]

Perform Find []

You can pop open a new window to do the find if you want to keep your orig found set in the orig window.

Link to comment
Share on other sites

This topic is 5378 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.