Cal Pro startup from separate file

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 3
Joined: Mon Dec 21, 2009 11:42 am
Location: California
PostPosted: Mon Dec 21, 2009 11:55 am
I have my db separated in to cal, data, and main files where main provides most of my user interface. From my main file I want to show a window into the calendar views (day, month, year). I have tried calling the script "Tab Navigation" to get to the desired page, which works, but with two problems.

First, if I start my main file and call the script Tab Navigation it will show the correct page, but without the navigation buttons showing or working.

Second, at times the call to Tab Nav will take me to the "Admin/Tab Navigation layout, which I would never want my users to interact with.

I am guessing that part of this is a startup problem. If I open the Cal file directly and then close it's window, then the first problem doesnt occur. The calendar opens up and all is well with the navigation buttons. It does at times still go to the Admin page...

Help. I'd like users to be able to open my main file, work with it and the cal/contacts data, and then as scripted be able to open, as desired, a second window into the cal/appointments through a script.

Thanks
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Tue Dec 22, 2009 10:06 am
Hi Ken,

Good questions. I'd like to think we've anticipated most of this...

A couple suggestions. First, you want the calendar's Upon Opening script to run before you get to it, so opening it from with your solution and then hding the window at startup is a good idea.

Then, if you want to go to a specific layout in the calendar call the script "Go to Layout ( Layout Name ) { Object Name ; Hide Status Area }"

That script is designed for precisely what you're doing. So going to the daily view in the calendar would use a script parameter like "Layout Name = Daily".

Finally, when you want to see an appointment's record perform a normal GTRR from your file to the appointment's record, opening it in a new window, and then call the script "Edit Appointment from External" which will manage the window and window closing.

A similar script "New Appointment from External { Date, Time , ContactID , ProjectID, Class }" can be used to make new appointments from your file.

Hope that helps,

John
John Sindelar
SeedCode

Return to SeedCode Calendar

Who is online

Users browsing this forum: Google [Bot] and 3 guests

(855) SEEDCODE
[email protected]
Follow us: