13735 Combo Box Enable Question! - Page 2
Sign Up |  Live StatsLive Stats    Articles 37,345| Comments 177,358| Members 19,420, Newest Talia| Online 440
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags

Combo Box Enable Question!

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
combo box question clemoine Information Technology 3 28-Jul-2006 08:38 AM
Combo Box Colour Question Bob Information Technology 8 28-Jul-2006 08:22 AM
Combo Box Question Bob Information Technology 1 28-Jul-2006 08:16 AM
Combo box question JOM Information Technology 3 28-Jul-2006 08:12 AM
combo box question David Information Technology 2 29-Oct-2005 12:35 PM


Tags
combo, box, enable, question
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #10 (permalink)  
Old 28-Jul-2006, 08:18 AM
Bob's Avatar Bob
Guest
 
Posts: n/a
   
   
Re: Combo Box Enable Question!

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Ok I put dougs code in code behind the form should I have to do anything
else, because i cant seem to get it to work...Thanks Bob

"strive4peace" <"strive4peace2006 at yahoo dot com"> wrote in message
news:eeIS$h2iGHA.3884@TK2MSFTNGP04.phx.gbl...
> Hi Bob,
>
> the LockClient code needs to be behind your form
>
> from the menu, when you are in the deign view of your form:
>
> View, Code
>
> You can also use the code that Doug gave you -- they both do the same
> thing. Doug's code is more efficient, but I was not sure how much you
> program, so mine is longer.
>
> Warm Regards,
> Crystal
> Microsoft Access MVP 2006
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10944-combo-box-enable-question.html
>
> *
> Have an awesome day
>
> remote programming and training
> strive4peace2006 at yahoo.com
>
> *
>
> Bob wrote:
>> Do I put this code at the very end of the other codes?
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10944
>> And still cant find:
>> on the form OnCurrent event -->
>> =LockClient()
>>
>> Regards Bob
>>
>> "strive4peace" <"strive4peace2006 at yahoo dot com"> wrote in message
>> news:%23wY6deeiGHA.4140@TK2MSFTNGP03.phx.gbl...
>>
>>>Hi Bob,
>>>
>>>of course...
>>>
>>>in the code behind your form, create this:
>>>
>>>'~~~~~~~~~~~~
>>>Private Function LockClient()
>>> dim mBoo as boolean
>>> if nz(cbStatus, "Active") = "Active" then
>>> mBoo = true
>>> else
>>> mBoo = false
>>> endif
>>> me.cbOwnerID.enabled = mBoo
>>>End Function
>>>'~~~~~~~~~~~~
>>>
>>>on the AfterUpdate event of cbStatus -->
>>>=LockClient()
>>>
>>>on the form OnCurrent event -->
>>>=LockClient()
>>>
>>>Warm Regards,
>>>Crystal
>>>Microsoft Access MVP 2006
>>>
>>> *
>>> Have an awesome day
>>>
>>> remote programming and training
>>> strive4peace2006 at yahoo.com
>>>
>>> *
>>>
>>>Bob wrote:
>>>
>>>>I have a form that has a combo Box that has 2 options in Row source
>>>>(Active &
>>>>Finished)cbStatus, and another combo box that list clients, is possible
>>>>to
>>>>lock The clients Combo Box cbOwnerID when it is in active mode (Enable
>>>>No)
>>>>when in finished mode (Enable Yes)
>>>>
>>>>Thanks in advance.........Bob Vance

>>
>>






Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Woolwich Killing: The...
Today 07:49 AM
15 Replies, 169 Views
How does Sikhi help you...
Today 07:20 AM
43 Replies, 1,091 Views
US Congress panel passes...
Today 04:22 AM
0 Replies, 28 Views
Harmeet Kaur Took the...
Today 03:40 AM
0 Replies, 34 Views
Is Science a Religion?
Today 03:00 AM
10 Replies, 1,929 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:43 AM
319 Replies, 7,683 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 00:36 AM
182 Replies, 4,588 Views
Rochester Gurdwara...
Today 00:24 AM
1 Replies, 50 Views
Panjabi Alphabet Resource
Yesterday 23:15 PM
12 Replies, 6,556 Views
Transgenderism ... Right...
Yesterday 22:55 PM
30 Replies, 1,356 Views
Biography of a Scholar:...
Yesterday 22:53 PM
1 Replies, 57 Views
Dusting The Web
Yesterday 22:25 PM
0 Replies, 34 Views
How Pure the Tongue? New...
Yesterday 21:29 PM
0 Replies, 53 Views
Stockholm riots throw...
Yesterday 21:14 PM
1 Replies, 37 Views
Biography of a Scholar:...
Yesterday 18:59 PM
2 Replies, 168 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 08:36 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.32987 seconds with 32 queries
0