Navigation:  Miscellaneous >

FAQ

Print this Topic Previous pageReturn to chapter overviewNext page

FAQ Frequently Asked Questions

 

In this Section of the manual we are going to creat a catch all Q & A section this may include Email message found oun our TAS Professional Email user group http://groups.yahoo.com/group/taspro/join

 

Question: I am putting a path in the target and start in in a windows shorcut and its not working? .

 

Answer: If you pass a Path name in your Shortcut. You will ether need to make sure your path does not have any spaces. Or put your path in Quote mark (")

 

Example:  ( Target: c:\TASprogram\tasruntime.exe Start in:c:\my Documents\tas) Will Give you and error.

         

(Target: c:\TASprogram\tasruntime.exe "Start in :c:\my Documents\tas")  Will work.

 

Canvas does not allow drawing  ERROR Message

 

I found this problem on Windows Vista..

 

If there is no default printer driver on the server computer, or if the "Permissions" for the default printer driver are not properly set, users may encounter the error message "Canvas does not allow drawing" in the report generation the report will not appear on screen.  Sometimes this is the result of security software which has altered the permission settings of your printer driver.

 

Resolution:

 

1) Verify that a default printer driver is installed and specified on the print server computer.  If there is none, install one using the MS-Windows "File/Add Printer" option on the Windows "Printers and Faxes" control panel.  This problem took me several hours to find so I have posting this information here in the DOCS.

 

 

Change Report Objects at runtime.

 

When reporting with the Report Builder you may find that you need to change the color , Font , Size at the program level.

 

1 Step one Setup changes to the RTM

       In the report writer make the dbtext object OnPrint Control Flag  is checked.

       Make sure you name this object.. for this tutorial we will set the name property to  "chkamt"

 

2 Step 2 your code.

       Define a fld Named Object name + FC  for this tutorial we will define it as chkamtFC  the FC stands for Font Color

 

Define chkamtFC type A size 10

 

3 Step 3 Make it work.. put this some where in your report just before the Output_Report_Data

scan @myfile_hndl key @1

  If bkgl.chk.amt < 0 then chkamtFC = 'ClRed'

  if bkgl.chk.amt => 0 then chkamtFC = 'ClBlack'

  Output_Report_Data Rb_Num 1

ends

 

NOTE :  you can control

FC - Font Color

FS - Font Size

FN - Font Name

 

 

 

 

 


Page url: http://www.cassoftware.com/tas/manual/faq.htm