![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi All,
I’m trying to create a textbox field on a task form-Outlook 2003- and every time I open the task or click on txtbox , the number in it incremented by 1 like a serial number for the tasks. If anyone can show me the vbscript code to do that, I’ll be grateful -- Thanks Diana |
Ads |
#2
|
|||
|
|||
![]()
Is it the same task? If so, make your field an integer. It will start with
0. Then in your code..... Function Item_Open() Item.UserProperties("YourField") = Item.UserProperties("YourField") +1 End Function "Diana" wrote in message ... Hi All, I'm trying to create a textbox field on a task form-Outlook 2003- and every time I open the task or click on txtbox , the number in it incremented by 1 like a serial number for the tasks. If anyone can show me the vbscript code to do that, I'll be grateful -- Thanks Diana |
#3
|
|||
|
|||
![]()
thx for replying Joel,.
Actually it is not the same task, i've created a new form (task), n a textbox filed displaying "Call No" for helpdesk puposes, i want my code to read the value (0)in this field and increments it by 1 ,becomes(1) ,then i save the form and once i open it again incrementes by 1 becomes(2). i've tried your code ,every time i open it displays "1" ! -- Thanks Diana "Joel Allen" wrote: Is it the same task? If so, make your field an integer. It will start with 0. Then in your code..... Function Item_Open() Item.UserProperties("YourField") = Item.UserProperties("YourField") +1 End Function "Diana" wrote in message ... Hi All, I'm trying to create a textbox field on a task form-Outlook 2003- and every time I open the task or click on txtbox , the number in it incremented by 1 like a serial number for the tasks. If anyone can show me the vbscript code to do that, I'll be grateful -- Thanks Diana . |
#4
|
|||
|
|||
![]()
Try this:
Function Item_Open() Item.UserProperties("YourField") = Item.UserProperties("YourField") +1 item.save End Function Joel "Diana" wrote in message ... thx for replying Joel,. Actually it is not the same task, i've created a new form (task), n a textbox filed displaying "Call No" for helpdesk puposes, i want my code to read the value (0)in this field and increments it by 1 ,becomes(1) ,then i save the form and once i open it again incrementes by 1 becomes(2). i've tried your code ,every time i open it displays "1" ! -- Thanks Diana "Joel Allen" wrote: Is it the same task? If so, make your field an integer. It will start with 0. Then in your code..... Function Item_Open() Item.UserProperties("YourField") = Item.UserProperties("YourField") +1 End Function "Diana" wrote in message ... Hi All, I'm trying to create a textbox field on a task form-Outlook 2003- and every time I open the task or click on txtbox , the number in it incremented by 1 like a serial number for the tasks. If anyone can show me the vbscript code to do that, I'll be grateful -- Thanks Diana . |
#5
|
|||
|
|||
![]()
also did not work
![]() -- Thanks Diana "Joel Allen" wrote: Try this: Function Item_Open() Item.UserProperties("YourField") = Item.UserProperties("YourField") +1 item.save End Function Joel "Diana" wrote in message ... thx for replying Joel,. Actually it is not the same task, i've created a new form (task), n a textbox filed displaying "Call No" for helpdesk puposes, i want my code to read the value (0)in this field and increments it by 1 ,becomes(1) ,then i save the form and once i open it again incrementes by 1 becomes(2). i've tried your code ,every time i open it displays "1" ! -- Thanks Diana "Joel Allen" wrote: Is it the same task? If so, make your field an integer. It will start with 0. Then in your code..... Function Item_Open() Item.UserProperties("YourField") = Item.UserProperties("YourField") +1 End Function "Diana" wrote in message ... Hi All, I'm trying to create a textbox field on a task form-Outlook 2003- and every time I open the task or click on txtbox , the number in it incremented by 1 like a serial number for the tasks. If anyone can show me the vbscript code to do that, I'll be grateful -- Thanks Diana . . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create a formatted phone number field | cmonroe21 via OfficeKB.com | Outlook - Using Forms | 0 | March 2nd 09 04:08 PM |
How to re-create due/start date field for Task form with calender | Eddie | Outlook - Using Forms | 1 | September 11th 06 02:54 PM |
Auto number in custom task form | Paul White | Outlook - Using Forms | 1 | June 13th 06 03:19 AM |
Auto Number in a Custom Post Form | Chuck Rich | Outlook - Using Forms | 1 | February 13th 06 06:28 PM |
Populate Company field from Contact field in custom task form | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 0 | January 20th 06 07:37 PM |