>For lack of a better resource to ask this question, I'm hoping for some help here as there seems to be a lot of knowledge beyond VFP from many here.
>
>I have a client that has asked me to look at their custom Contact form in Outlook 2000 and determine if there is a way, VBScript or otherwise, for the form to generate a sequential contact number when a new contact is created.
>
>Is this possible? I have very limited exposure to VBScript, so any help (as detailed as possible :-) greatly appreciated.
Yes, that would be fairly easy if the sequential number is per client installation. In this case what you can do is create a regular mail item in a specific folder where its body property will contain the current sequence number. In the form's Open event you would read the next number and update this item with the next one.
If the number is supposed to be shared then another approach would be needed like an autonumber field in SQL Server, VFP or even Access table.
Check the following sites for a bundle of help on Outlook forms:
www.slipstick.comwww.cdolive.comHTH,