Year Print closes database (Both Paper & PDF)

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 36
Joined: Sun May 11, 2008 9:56 am
Location: Bahrain
PostPosted: Sat Jun 14, 2008 2:37 am
Hi,

When in year view under calendar, the database closes when the print button is clicked in both cases of paper or PDF print. Is that how it is supposed to be and why? or do I have a glitch.
Salman Maidan
Posts: 36
Joined: Sun May 11, 2008 9:56 am
Location: Bahrain
PostPosted: Sat Jun 14, 2008 3:01 am
I have looked at the print script which enters print preview in the same calendar window rather than open a new window, so after the print operation is complete and the print preview window is closed which happens to be the only window open at the time, the db closes.
Salman Maidan
Posts: 36
Joined: Sun May 11, 2008 9:56 am
Location: Bahrain
PostPosted: Fri Jun 20, 2008 11:11 pm
Hi ALL,

Has anyone else seen this?
Salman Maidan
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Sat Jun 21, 2008 8:13 am
Wow. Shows how often we print that year view. =)

To fix this, edit the script "Print" and scroll down about 2/3 through the script until you see these three steps:

Code: Select all
End If
#
Set Window Title [Current Window; New Title: "Print Preview"]


Right *Before* those three, add two new steps like this:

Code: Select all
Else
   New Window...
End If
#
Set Window Title [Current Window; New Title: "Print Preview"]


For "New Window..." duplicate one of the New Window lines from earlier in the script, such as the one in the "Print List..." section a few lines up.

That should get it taken care of.
John Sindelar
SeedCode
Posts: 36
Joined: Sun May 11, 2008 9:56 am
Location: Bahrain
PostPosted: Sat Jun 21, 2008 9:08 am
Perfect, it worked.
Salman Maidan

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 4 guests

(855) SEEDCODE
[email protected]
Follow us: