A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Repeat form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 27th 07, 07:59 PM posted to microsoft.public.outlook.program_forms
Jan Kuijt
external usenet poster
 
Posts: 1
Default Repeat form

I have designed a form for Order Entry.
One customer can order more items but I want one item per email.
Is there a way to send order1 (item1) and keep the basic information ( name,
address, place, etc.) for order2 in the form for the next item?

Regards,

Jan Kuijt



Ads
  #2  
Old June 27th 07, 10:58 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Repeat form

You could put a command button on your form that creates a new item using the same form and copies data from one item to the other. To create a new instance of a custom form programmatically, use the Add method on the target folder's Items collection:

Set newItem = targetFolder.Items.Add("IPM.Post.YourFormName")

If it's a message form, use the Drafts folder as the target. If the target is a default folder, you can use the Namespace.GetDefaultFolder method to return it as a MAPIFolder object. To create an item in another person's mailbox, use Namespace.GetSharedDefaultFolder to get the MAPIFolder Otherwise, you can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string.

See http://www.outlookcode.com/article.aspx?ID=38 if you need help with property syntax.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Jan Kuijt" wrote in message l.nl...
I have designed a form for Order Entry.
One customer can order more items but I want one item per email.
Is there a way to send order1 (item1) and keep the basic information ( name,
address, place, etc.) for order2 in the form for the next item?

Regards,

Jan Kuijt



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WS:Repeat Appointment - Problem AH34 Outlook - Calandaring 2 September 11th 06 04:45 PM
Is there a way to hare an alarm repeat until it is acknowledged? cseid Outlook - Calandaring 4 May 9th 06 08:03 PM
multiple, repeat emails... Bill C. Outlook - Installation 2 March 24th 06 01:07 AM
Repeat same email one at a time? Barbara I. Outlook - General Queries 1 January 26th 06 10:20 PM
repeat email Pete Outlook - Installation 1 January 18th 06 05:42 PM


All times are GMT +1. The time now is 07:02 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.