when we create a new appointment in IWP, it is not shown in the calendar. How can we make it show by default?
EDIT: Investigating further, i see that if you don't select a date, it stays hidden. Can it be made to select the date of the day that you are looking at by default? Missed appointments can be very embarrassing as i found out this morning!
Creating appointments in IWP
4 posts
• Page 1 of 1
Posts: 20
Joined: Thu Mar 08, 2007 10:58 pm |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
You can edit the New Record script so that if you're creating a new appointment it automatically enters the current date (there really isn't a "date you're looking at" in the IWP calendar since it is based on lists of appointments).
Add an If() statement to New Record like If... Patterncount ( Get ( LayoutTableName ) ; "Activity" ) ...then set ApptDateStart_k to the Get ( CurrentDate ). Hope that helps, John John Sindelar
SeedCode |
Posts: 20
Joined: Thu Mar 08, 2007 10:58 pm |
sorry posting too late last night, but in actual fact what we see is that if we don't enter the date the appointment has no date, and if we do the item has a date... obvious so far. The last post will help us here, but either way when i looked for the record this morning, they are both hidden. Can we make them show in the calendar by default? (Which was the original question)
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Right. Sorry about that.
Edit the New Record script as described above to set the field ApptClass_k to "calendar" when creating an appointment record. Sorry for the oversight! John Sindelar
SeedCode |
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 3 guests