[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1

Title:ALL-IN-1 (tm) Support Conference
Notice:Please spell ALL-IN-1 correctly - all CAPITALS!
Moderator:IOSG::PYECE
Created:Fri Jul 01 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2716
Total number of notes:12169

2622.0. "TM Programming" by OASS::MARGETSON_M () Tue Apr 15 1997 02:51


	Hi,


	I have a customer with ALL-IN-1 3.1.  She has created a
	script which will send a message to a user with auto
	forward set, to let them know they have a time management
	event in their account.  Her questions are:

		1.	how to make the OUTBOX the current folder?

		ie, in EM, after a message is created, the OUTBOX
		is current.  In TM, after an event is created and
		sent, how can the OUTBOX be the current folder?

		2.	how can you tell what is the last document
			number used in ALL-IN-1


		3.	how can a time management event be written
			to the oa$curdoc symbol

	Customer has played around with the following syntax:

		for first cab$with.folder = "outbox"

	Thanks,


	Melinda
	CSC/Atlanta
T.RTitleUserPersonal
Name
DateLines
2622.1Some answersIOSG::MARSHALLTue Apr 15 1997 15:4013
1. CABINET SELECT "folder-name"

2. A few possibilities here, but why do you want to do this?  ALL-IN-1 manages
document numbers 'automatically', so you shouldn't have to worry about them.  If
you say what they want to achieve, we can suggest a suitable answer.

3. OA$CURDOC is a pointer to a document.  Time Management events are not
documents, they are entities in the time management data files, so OA$CURDOC
can't point at an Event.  Or do you mean you want OA$CURDOC to point at the mail
message that TM creates for an event?  In that case, use CABINET SELECT again,
or maybe CABINET CURRENT.

Scott
2622.2SNOFS1::JOYCEJENNYStill crazy after all these yearsWed Apr 16 1997 07:595
    And don't forget that the mail messages notifying a user of an event
    are not forwardable.
    
    
    Jenny
2622.3IOSG::MAURICEBack in the eggWed Apr 16 1997 14:0912
    Hi,
    
> 2.	how can you tell what is the last document
>	number used in ALL-IN-1
    
    To get it loaded into symbol #last_docnum:
    
    	<for first cab$:docnum do get #last_docnum = .docnum
    
    Cheers
    
    STuart
2622.4Problem ResolvedOASS::MARGETSON_MThu Apr 17 1997 01:0212
    
    
    Just finished speaking with the customer.  She will try using
    a CABINET SELECT to get the OUTBOX folder.
    
    As for writing to oa$curdoc, customer wanted the message to be
    written.  She will again use the CABINET SELECT function.
    
    Thanks for the help,
    
    
    Melinda