Trigger an update when any OptionButton in a GroupName changes

Hello,
I have a UserForm that's working relatively well.  However, there's something new I have to do.
I have three OptionButtons that each have a GroupName of "Cycle"
Year_A
Year_B
Year_B
Year_B happens to be the default for the form.  That default will change yearly.  Whenever the user selects a different OptionButton with the GroupName of "Cycle", I'd like a ListBox "ListBoxLiterature" to be repopulated. 
How do I go about doing this?
Many thanks for looking at this.
Phil

One way -
' these Optionbuttons are all in the same group
Private Sub OptionButton1_Change()
If OptionButton1 Then OptionChange
End Sub
Private Sub OptionButton2_Change()
If OptionButton2 Then OptionChange
End Sub
Private Sub OptionButton3_Change()
If OptionButton3 Then OptionChange
End Sub
Private Sub OptionChange()
Dim i As Long
Select Case True
Case OptionButton1: i = 1
Case OptionButton2: i = 2
Case OptionButton3: i = 3
End Select
MsgBox "Option " & i
' do stuff here
End Sub

Similar Messages

  • Is it possible to have the Firefox Icon in windows' taskbar flashes when any of my app tab changes?

    Is it possible to have the Firefox Icon in windows' taskbar flashes when any of my app tab changes?

    Not possible to configure this in Adobe Reader.

  • EBS Accounts Payable : Which tables updated when any event fires..?

    Hi
    I request help / guide to let me know for the subject mentioned question.
    For example,
    When any invoice saved, which tables are updated?
    When payment is made , which tables are updated?
    When Create Accounting runs, what steps does it follows?
    How can I check the Create Accounting program in SQL developer?
    etc
    Can any one help / guide me ..?
    regards
    Ahsan

    When any invoice saved, which tables are updated?
    AP_INVOICES_ALL and AP_INVOICE_DISTRIBUTIONS_ALL
    In R12: AP_INVOICE_LINES_ALL
    When payment is made , which tables are updated?
    AP_CHECKS_ALL and AP_INVOICE_PAYMENTS_ALL
    Please be a bit more specific on your other 2 queries.
    Thanks

  • Automatically Trigger a Idoc when a sale order Document is changed

    Hi Experts,
    Currently Idoc is pushed manually through sale order change transaction " VA02 " menu path
    " extras - > output - > header - > edit "
    I have done the nace settings for output types & condition records . Now that the Idoc gets triggered automatically
    when a document is created in VA01 transaction. Is there any other settings required such that the IDoc can be sent automatically once the document is changed and saved through VA02 transaction also.
    Or do I need to process the IDoc through user exit of VA02. Kindly advice how to proceed with it.
    sathish
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Mar 17, 2011 12:48 PM

    In Partner profile(WE20), you can make one mor entry similar to  existing record with check box enable, under Message control tab.means maintain the below details, Application, message type, process code and enable the change check box.
    After making entry in WE20, you can change sales order and save the application.It may work.

  • Trigger partner determination when ship-to is changed on the sales order

    Hi,
    Here is my scenario...
    I am defaulting my rail carrier partner function based on the ship-to party partner function into the sales order using the standard configuration i.e. by maintaining SH as entry in the "source" field for rail carrier partner function of the sales document partner determination procedure. Every thing is fine until the ship-to party in the order is not changed by the user. when the user changes the ship-to party the carrier is not re-determined (the old rail carrier partner function which defaulted into the order from the old ship-to party record stays in the document). I know standard SAP doesn't re-determine partners. Can anyone came accross this issue?
    I would like to know if there is an user exit that i could use and write a code to trigger parter determination when a ship-to partner is changed in the sales order.
    -Sree.
    Edited by: SREE on Sep 15, 2008 4:40 PM

    Hi,
    Try to use user exit FORM USEREXIT_SAVE_DOCUMENT_PREPARE in program MV45AFZZ.
    Regards,

  • Trigger java client update when table changes

    I have a Java Swing client and a C worker program. Both need to communicate with each other via events (C writes progress to Oracle table, Java Swing client displays progress to user).
    I thought I'd do this via a trigger on an oracle table. However, I couldn't figure out how to achieve that. Well, creating the trigger was the easy part, but how do I let the trigger and as a follow-up a stored procedure communicate with my Java client? All the info I found was about triggers and how to store a Java method in an Oracle DB. That's not what I need. I guess I need to register my Java client somehow to monitor the trigger / table.
    Does anyone know how to do that? I'd prefer to not use any additional libraries (Oracle AQ libraries, Oracle streams). A simple trigger would suffice.
    Thank you very much for your help!

    rp0428 wrote:
    >
    The client should poll for updates.
    Pushing from the database, which your original suggestion and the others provides no benefit in terms of the enterprise and might cause unforseen and difficult to diagnose problems.
    >
    I don't agree with either of these comments. Please explain them and provide any supporting documentation or other reliabe sources that you are basing these comments on.
    In particular clarify whether your comments are about the technology of notification in general or whether you feel that the notification solution is not appropriate for this particular use case.
    Polling is generally a terribly wasteful, inefficient and non-productive method of trying to identify changes that happen in a database. Provide supporting documentation for that.
    Naturally the actual metrics for this depend on the number, types and frequency of the DB changes in general and with their relation to the polling frequency in particular.Yep. And most of the time the specifics for that is such that one or both the following is true
    1. The requirements are wrong (for example no GUI needs to be update 100 times a second.)
    2. The requirements are loose enough that polling is perfectly adquate and appropriate solution.
    Oracle itself has gone in the opposite direction with the technology that it develops as can be inferred by the various methods provided in recent releases to support replication and the technology underlying the support of fast refresh materialized views.
    Oracle has all sorts of stuff in it. That doesn't mean that it ideal for all situations or even most situations.
    These technologies include Advanced Queuing, Change Data Capture, Advanced Replication, Standby Databases and the like.
    The only major Oracle technology that I am aware of that does not tend towards publish/subscribe is LogMiner and it does not use polling but rather uses a batch query process.
    And yet for 20 years people have managed to implement large solutions without that.
    Detection of DB changes is difficult for even small single tables without using functionality provided by Oracle specifically for that purpose. There are many, many references in these forums and on the web in general where developers have attempted to 'roll-their-own' procedures for detecting changes after the fact. Most of these attempts are flawed both in their design and execution.
    And yet you think that this new technology will provide immediate error free solutions both on Oracles sides and the implementors side?
    Polling is generally wasteful and inefficient for several reasons. First, poll queries can execute repeatedly when there haven't been any changes at all. This effort is entirely wasted and non-productive.
    I have a large volume database server whose cpu utilization is less than 3% with a projected volume this year of 3/4 billion dollars. In the mid 1980s I was more concerned with utilization. Not so much any more.
    On the other hand experience would suggest that developers have far, far more problems getting the database designs right in the first place. So I don't have great confidence in their ability to use brand new technologies to solve large volume problems.
    And if they don't have large volumes then the point is moot.
    The poll queries cannot easily determine exactly when the change occured; change meaning it was COMMITTED to the database. The common approach of updating columns such as MODIFIED_DATE within a trigger are flawed because any such date/time assigned in the trigger is virtually guaranteed to occur BEFORE the data is actually committed.
    The classic flaw manifests itself when the trigger assigns a value before midnight but the commit actually occurs after midnight. Thus two INSERT/UPDATES can have their data COMMITTED at exactly the same SCN and timestamp value but the MODIFIED_DATE values can be for two different days.
    There is no way to query this data on a nightly basis to get 'changes that happened today' with the risk of missing data the next night when the extract occurs, or worse, duplicating some data in the extracts for two different nights.
    I agree that the design you specified is flawed.
    It however is an excellent demonstration of how a developer might create a flawed design - as I a suggested. New technologies do not fix flawed designs. All they do is provide even more ways to create flawed designs. Which is exacerbated by large volume needs.
    And 'pushing from the database'? The change notification process is similar to publish/subscribe mechanisms and also similar to the way that listeners are used in Java.
    Certainly you wouldn't suggest that Java applications should 'poll' GUI objects to see if a user has taken any action would you?
    I agree your analogy is not apt for this discussion.

  • Before 8.3 update when I saved photos they were added to my camera roll. Then I could access the photo I wanted from any app. Now when I SAVE a photo it is not added to the camera roll at all. iCloud photo is on. AND my Photo Stream is GONE entirely.

    Hi all.  Since updating my iphone 6 a couple days ago, I have discovered awful glitches in photos. When I save photos they do not get added to my camera roll. My Camera Roll and Photo Stream used to match.  I would take a photo on the camera and I would see it on my photo stream.  Yesterday, I added an edited photo to my camera roll by saving it (I thought).  But it was not there.  In the past, if I wanted a photo to post in any app, from Twitter to Facebook to Yelp, in order to retrieve it easily (if I had a lot of photos on my phone) I would sometimes text it to myself and then save it. It would be added to my camera roll. Then, when any app asked me to upload a photo, I could find it right at the beginning of my camera roll photos.  Now, when I save a photo it does not appear on my camera roll.  I discovered this yesterday when posting a Yelp review.  I found the photo I wanted to use on my camera roll and it was way back at the beginning of the camera roll.  I edited the photo.  I saved it. It did not get added to my camera roll.  So then I looked for the photo on the camera roll where I had originally found it way back at the beginning.  The edited version of the photo was gone.  Could not find my photo to upload to Yelp.  Then I discovered it was the same with every other app on the phone.
    PHOTO STREAM DISAPPEARED!   This was my main problem and primary question until I tried to resolve the issue. I saw a message on my phone that said (I thought) that I needed to connect my phone to my laptop to restore icloud backups.   So I manually connected my phone to my Mac Pro Laptop (2011)  and backed up my photos.  I made sure iCloud was turned on for photos.  I have it set to Download and Keep Originals.  It is also set to Upload to My Photo Stream. And iCloud sharing is turned on.
    WHEN I connected my phone to my computer I got a message on my phone about setting it up for personal hotspot and it would not complete the update unless I replied.  At first i did set it up, but it seemed to be an issue, so I simply let my phone and computer use my home wifi network.  I don't need the personal hotspot, but it seemed to affect the photo issue further.
    Now where I used to see Photo Stream and Camera Roll, it simply says All Photos.  I am extremely confused.  This is a mess.  Any suggestions would be much appreciated! 

    I restored it twice, once from icloud backup and then from my computer back up. I just restored again and set it up as a new iphone and now my photos are saving again. I was then able to sync apps and music from my itunes to my phone... So happy you wouldn't believe!!

  • I have Microsoft Word for Mac 2011, version 14.3.1.  When I try to open a document, an error occurs, says file type is "blocked from opening in this version."  This was NOT immediately after a version update.  Any ideas?  Thank you.

    I have Microsoft Word for Mac 2011, version 14.3.1.  When I try to open a document, an error occurs, says file type is "blocked from opening in this version."  This was NOT immediately after a version update.  Any ideas?  Thank you.

    Take a look here:
    http://support.microsoft.com/kb/953266
    If that doesn't help, I'd suggest you take up the question in Microsoft's own forums or with Microsoft support.
    Regards.

  • I have one iPhone 4s, one iPad 2 and wife's iPhone 4s. yesterday I have updated all with ISO 8 under one apple id, now my problem is that in same WiFi when Any of phone receive phone all the three gazettes ring simultaneously . how to resolve this.

    I have one iPhone 4s, one iPad 2 and wife's iPhone 4s. yesterday I have updated all with ISO 8 under one apple id, now my problem is that in same WiFi when Any of phone receive phone all the three gazettes ring simultaneously . how to resolve this.
    regards
    rbv

    Tell your wife to get her own Apple ID. If you do not want continuity/handoff to work with calls, on both devicesgo to Settings==>>FaceTime==>> Turn OFF iPhone cellular calls.

  • HT1947 The gyro no longer works when using the remote app on my iPad. I updated to iOS 7.0.1. This seem to happen after the update. Any suggestions?

    The gyro no longer works when using the remote app on my iPad. I updated to iOS 7.0.1.
    This seem to happen after the update. Any suggestions?

    Dear Apple friends,
    I have the exact same problem with some apps.
    Even when I try some websites in Safari and Chrome that require loading big chunks of data they crash.
    Today it crashed in two new places. In the notification center and when I opened newstand app I no longer was able to return to the main window and the dock disappeared.
    I have my ipad retina for about three months now but latelly this issue has became more frequent. What should I do?
    Should I update to the latest firmware and do what raymond73 said?
    Is there a fix for this issue?
    Has Apple said anything about this? Because I see that this issue is happening to a lot of people.
    Is it possible to downgrade to iOS 6?
    Is it a firmware problem? That can be fixed in future releases? Or an hardware issue?
    Should I wait or go to the place I bought it and try to get the money back?

  • I'm new at this but I am hoping someone can help me.I have recently been away for 5 weeks and my Tom Tom required updating.When I clicked to update it required a pc.As I didn't have access to a pc it wouldn't work is there any way to do this without a pc?

    Hi, I'm new at this but I am hoping someone can help me.I have recently been away for 5 weeks and my Tom Tom required updating.When I clicked to update it, it required a pc. As I didn't have access to a pc it wouldn't work is there any way to do this without a pc?  I was without this app for 3 weeks!  Thanks, Lea

    The process to update your Tom Tom is a big data file, you will need to be connected to a Wi-Fi network for it to download.  If will take about an hour. 

  • Apps icon shows updates when i go there the update all icon is not highlighted if you go to any of the UPDATE box's you are directed to the application????

    apps icon shows updates when i go there the update all icon is not highlighted if you go to any of the UPDATE box's you are directed to the application????

    ATtempt to power off your device and power it back on, if that doesn't work reset all settings should resolve it for you

  • HT5622 When updating my apps am being asked several times for my appleId password and even when providing it, it keeps asking and still doesn't update anything, any suggestions?

    When updating my apps am being asked several times for my appleId password and even when providing it, it keeps asking and still doesn't update anything, any suggestions?

    Does the username and password you try to use have administrator privileges? You must input an admin username and password to install. 

  • HT4623 I AM FACING PROBLEM AFTER UPDATING (7.0.4) MY PHONE MODEL 5C,AFTER THIS UPDATE SOME TIMES I CANT MAKE CALLS & SOME TIMES WHEN ANY BODY ELSE WANTS TO CALL ME BACK THE MESSAGE COME THAT THE USER IS NOT REACHABLE.PLS HELP

    I AM FACING PROBLEM AFTER UPDATING (7.0.4) MY PHONE MODEL 5C,AFTER THIS UPDATE SOME TIMES I CANT MAKE CALLS & SOME TIMES WHEN ANY BODY ELSE WANTS TO CALL ME BACK THE MESSAGE COME THAT THE USER IS NOT REACHABLE.PLS HELP

    I am facing the same issue! I bought 5c few days back
    and everything was fine till I updated the software 7.0.4!
    Whenever am connected to wifi am unable to make a call and if someone tries
    Calling me they get the message that my number is not
    Reachable! When I go back to 3G the calls work perfectly!!
    Please help me out since I use wifi more than my network.
    Appreciate any advise on this

  • TS1702 Some of my apps were updating when there was an interruption in internet connection.  Now they don't want to finish the update process.  Any ideas?

    Some of my apps were updating when there was an interruption in the Internet connection.  Now they won't complete the update process.  Any ideas?

    See:
    Downloading apps stuck on waiting...: Apple Support Communities

Maybe you are looking for

  • How to assign special FilePermission in a policy file

    Hi, I'm using jaas 1.0 with JDK1.3. I want a user to be able to specify a file (a password file : login-password) and to be able to access it before being authenticated. (and so without any permissions to access it) I'd like to assign FilePermission

  • How does OBI decide what column to display when drilling down on hierarchy

    Hi All, Lets say I have a logical table called Custom_Account which has Level 1 through 10, where 1 being the total level and 10 being the detail level. I have created a level based hierarchy. On the total level, lets say I have 2 columns called Hier

  • Significance of Port No in Portal URL

    Hi Everybody,    I wanted to know the concept of port no in portal URL.Sometimes i am able to access my portal with http://myportal:50000/irj/portal and sometimes even without port no. Is 50000 default port for http portal?then what about 80 even if

  • Default different blanket release buyer via PR interface

    Hi, My scenario: blanket agreement set buyer A, and all the sourcing funtion have been set (ASL, assignment set, sourcing rule..), I want to customize a program to insert PR interface, then create new blanket release automatically, but the new blanke

  • Sync library from my broken ipod to new ipod.

    My ipod broke and I want to use my moms. I want my library on my computer on her old ipod. However itunes won't let me sync. I dont care about saving the songs on her iPod just how to get mine on hers. Her ipods model is MD480L