Normal Topic Was working but now is not... (Read 363 times)
drastixnz
Full Member
***
Offline


A Newbie....

Posts: 146
Location: New Zealand
Joined: Nov 29th, 2006
Was working but now is not...
Feb 1st, 2008 at 10:10pm
Print Post Print Post  
I just installed the update 2.0.5 and now the code below only allows print but not preview


// TO PRINT THE STATEMENT REPORT

var vSTI as INT
var vSTItxt as String
var vReport as String

var vFilename as string

VReport = "Main"      // CHANGE TO ACTUAL REPORT NAME

GlobalValue("gvStatementAccountNo", Client Number)      // GET THE ACCOUNT NUMBER
vSTI = @SelectTreeItem("Search Update Menu!Navigation!Save Record")

#include "sbasic_include.sbas"

vFilename = @PrintAReport("Main", REPORT_MODE_PRINT_ONLY_PREVIEW, PRINT_ORIENTATION_PORTRAIT, 1, 210, 297, -1, -1, -1, -1)

  
Back to top
IP Logged
 
MP
Full Member
***
Offline



Posts: 104
Joined: Sep 3rd, 2007
Re: Was working but now is not...
Reply #1 - Feb 1st, 2008 at 11:25pm
Print Post Print Post  
Did you grab the latest sbasic_include.bas file?  It contains updated constants related to printing.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Was working but now is not...
Reply #2 - Feb 2nd, 2008 at 12:47am
Print Post Print Post  
MP wrote on Feb 1st, 2008 at 11:25pm:
Did you grab the latest sbasic_include.bas file?  It contains updated constants related to printing.

::nod nod nod::
Yes. If you need the file, it is available here:
http://www.lantica.com/Support/sesame_change_log.html
  

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