![]() |
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
|
|||
|
|||
![]()
Hello,
I am using a restriction in my Task form code like this: oOVCControl.Restriction = "[Manager's Name]='Bill Smith'" Is it possible to set 2 parameters to the restriction like this?: oOVCControl.Restriction = "[Manager's Name]='Bill Smith'" & "[Company]='ABC Metal'" Thanks, Joel |
Ads |
#2
|
|||
|
|||
![]()
If you coded the restrict string separately, I suspect you'd see the problem in an instant:
strFind = "[Manager's Name]='Bill Smith'" & "[Company]='ABC Metal'" MsgBox strFind Multiple search expressions need to be joined with the usual operators " AND " or " OR ". -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Joel Allen" wrote in message ... Hello, I am using a restriction in my Task form code like this: oOVCControl.Restriction = "[Manager's Name]='Bill Smith'" Is it possible to set 2 parameters to the restriction like this?: oOVCControl.Restriction = "[Manager's Name]='Bill Smith'" & "[Company]='ABC Metal'" Thanks, Joel |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mail Size Restriction | Donnie Darko | Outlook Express | 9 | May 6th 07 05:26 PM |
problems with OVC .Restriction in a VB form used in an Outlook dll | codemonkey_147 | Outlook and VBA | 1 | February 8th 07 04:52 PM |
problems with OVC .Restriction in a VB form used in an Outlook dll | codemonkey_147 | Outlook and VBA | 1 | February 7th 07 10:21 PM |
problems with OVC .Restriction in a VB form used in an Outlook dll | codemonkey_147 | Outlook and VBA | 0 | February 7th 07 06:55 PM |
question how to get the outlook advanced find dialog and QueryRestriction restriction | roger | Add-ins for Outlook | 3 | November 27th 06 04:03 PM |