Simply Create a CSV file of your dates from a spreadsheet using the date function to calculate your dates from your base date. The CSV file needs to contain enough records to meet your needs. In this case the records would all be the same data, created using the $ copy option. Put mail merge tags in your document as appropriate and then simply mail merge. I'm sure you could experiment with times as well.
Hope this is of use and not teaching granny to suck. Doug----- Original Message ----- From: "Alan Adams" <alan@xxxxxxxxxxxxxxxx>
To: <davidpilling@xxxxxxxxxxxxx> Sent: Thursday, June 24, 2010 9:40 PM Subject: [softwarelist] Anyone into writing applets?
I've got an application which seems to require a new applet - correct me please if one already exists. Each year I produce a 24-page handbook for a 2-week event, and the run-up period. The booklet is littered with dates, which are all a constant offset from a standard date - let's call it d-day. The first date in the calendar might therefore be d-7 i.e. a week before the reference date, and the last might be d+21, 3 weeks after the reference. It would be great if I could embed tags in the document for, say d-7, set up the reference date in some other form of tag, and have the printed document, and ideally the displayed document, embed the resulting date. A similar model to mail-merge would work. Of course there is then the issue of format - 24th June, 24Jun2010, Thu 24 June, 24/6/10, Thursday 24th etc. (I would guess that most of the logic, and a lot of the code, could also deal with h-hour to put times in. That's not so important to me - yet...) Anyone fancy a bit of programming? Although I do write stuff, I haven't investigated OPro internals. I don't even know whether this is possible as an applet, or whether it would require changes to the application. How are tags dealt with? -- Alan Adams, from Northamptonshire alan@xxxxxxxxxxxxxxxx http://www.nckc.org.uk/To unsubscribe or subscribe goto: //www.freelists.org/list/davidpilling
To unsubscribe or subscribe goto: //www.freelists.org/list/davidpilling