-
Nov 18th, 2017, 01:16 AM
#1
Thread Starter
New Member
BCM Compulsory field, New opportunity
Hello ..
I want to make a custom field compulsory in BCM/ Opportunity/New Opportunity , when ever someone is adding New opportunity , that custom field must also be filled. Can anyone please share some sample code ?
I have very little experience with VBA codes.
Thanks
-
Nov 20th, 2017, 08:12 AM
#2
Re: BCM Compulsory field, New opportunity
Having no clue what you mean, perhaps something like this will get you started and you can post back your coding and the problem?
Code:
if( len(nz(fieldname,"")) = 0 ) then msgbox("The field fieldname is compulsory",vbokonly)
* note nz function is in Access, if you are using word/excel it probably wont work - it just changes a null value to the specified value...
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
-
Nov 20th, 2017, 10:59 AM
#3
Thread Starter
New Member
Re: BCM Compulsory field, New opportunity
Thank you for your reply .. Ill try to explain myself more ..
i am using Microsoft Outlook 2013. In Outlook 2013 i am using BCM “ Business Communication Manager”
https://support.office.com/en-us/art...6-17d1d59e5cbd
In BCM i want to make some field compulsory to fill, like some fields in Oppurtunity form . I hope i am clearer now ..
Originally Posted by Ecniv
Having no clue what you mean, perhaps something like this will get you started and you can post back your coding and the problem?
Code:
if( len(nz(fieldname,"")) = 0 ) then msgbox("The field fieldname is compulsory",vbokonly)
* note nz function is in Access, if you are using word/excel it probably wont work - it just changes a null value to the specified value...
-
Nov 21st, 2017, 05:06 AM
#4
Re: BCM Compulsory field, New opportunity
ahh!! at least now, we have some idea what BCM actually is
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|