Results 1 to 4 of 4

Thread: BCM Compulsory field, New opportunity

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2017
    Posts
    2

    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

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    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...

    BOFH Now, BOFH Past, Information on duplicates

    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...

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2017
    Posts
    2

    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 ..





    Quote Originally Posted by Ecniv View Post
    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...

  4. #4
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    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
  •  



Click Here to Expand Forum to Full Width