Normal Topic Printing reports (Read 908 times)
addison1
Member
*
Offline


No personal text

Posts: 43
Joined: Aug 1st, 2004
Printing reports
Aug 3rd, 2004 at 8:21pm
Print Post Print Post  
I've designed a columnar report and I've just generated a results set of retrieved records. The cursor is on the first field of the first retrieved record, but I have not entered the form. The report I want is listed on the print menu and I can preview or print it from the command tree.
Can anyone suggest a way to automate the print and exit process. I'd like for my customer to press a command button and get the job done. I'd like NOT to grant him access to the command tree, not to teach him how it works.
Thanks
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Printing reports
Reply #1 - Aug 3rd, 2004 at 8:35pm
Print Post Print Post  
@SelectTreeItem(). Page 160 in the Sesame Programming Guide.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
addison1
Member
*
Offline


No personal text

Posts: 43
Joined: Aug 1st, 2004
Re: Printing reports
Reply #2 - Aug 4th, 2004 at 11:51am
Print Post Print Post  
On what event?
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Printing reports
Reply #3 - Aug 4th, 2004 at 12:05pm
Print Post Print Post  
If you're using a Command Button, the On Element Entry event runs when the button is clicked.

You may want to use @Mode (documented in the Supplement) to disable the code or make the button invisible when on a Retrieve Spec.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged