How do I correctly use Macro Builder to have a form auto select a TAB depending on a value selected in a combo box?

I am working in access 2013 to update a database first created in Access 2003. It has been saved as an accdb but I have the same problem in earlier versions.
I have a Tab Control subform in my MainDataEntry form which has 5 different tabs. Each Tab has its own set of text boxes and combo boxes for data entry. At the top of the MainDataEntry form there is a Text box [Text393], which has a drop down with
the 5 TAB names, [Mobile Device],[Computer],[Loose Media],[Network] and [Original Device]. When I select one of these values in the Text box, I would like to automatically set focus on the first Textbox or ComboBox inside the corresponding TAB.
I have tried to do this using the MacroBuilder inside the "After Update" Property for the Text or Combo box that is on the MainDataEntry Form using "If" and "Else If" statements for the "GoToControl" action, however
I seem to be able to only get one Tab to work. I have tried several different variations of this, putting the If statement first and the action argument second...putting all arguments inside a group, or not grouped....nothing seems to work. What am I
doing wrong?
EXAMPLE:
If [Text393]=[Mobile Device] Then
    GoToControl
         Control Name   Combo471
Else If [Text393]=[Computer] Then
    GoToControl
Control Name   Bios_Date
Else If [Text393]=[Loose Media] Then
    GoToControl
         Control Name   Combo659
Else If [Text393]=[Network] Then
    GoToControl
         Control Name   User Name
Else If [Text393]=[Original Device] Then
    GoToControl
         Control Name   Combo814
End If

In the Macro Builder's AfterUpdate event for [Text393]:
GoTo Control
  Control Name =Forms!MainDataEntry.Controls(Text393.Value).Name
To ensure that the first control on each tab receives the focus, set that control's Tab Index property to zero (0).

Similar Messages

  • I no longer have sound when playing my clips through adobe premiere elements 12. How to I correct this problem? I have checked all audio levels and there is no mute on etc. I have updated to 12.1. Still no sound.

    I no longer have sound when playing my clips through adobe premiere elements 12. How to I correct this problem? I have checked all audio levels and there is no mute on etc. I updated to 12.1, but still no sound in any clips. Even not on old files which used to work.

    bfun
    What computer operating system is your Premiere Elements 12/12.1 running on? Can we assume that this audio plays back OK
    on the same computer when you are using a computer player independent of Premiere Elements?
    What are the properties of these clips that worked before but do not know with regard to sound
    For now, I will assume that you are working on Windows 7, 8, or 8.1 64 bit.
    Have you checked the Edit Menu/Preferences/Audio Hardware ASIO settings? Do you have any 3rd party audio devices incorporated in your computer environment?
    Please delete the Adobe Premiere Elements Prefs file and, if that does not work, then the whole 12.0 Folder in which the Adobe Premiere Elements Prefs file exists. The Windows 7, 8, or 8.1 64 bit path is
    Local Disk C
    Users
    Owner
    AppData
    Roaming
    Adobe
    Premiere Elements
    12.0
    and, in the 12.0 Folder, is the Adobe Premiere Elements Prefs file that you delete. If that does not work, then delete the whole 12.0 Folder in which the Adobe Premiere Elements Prefs file exists. Make sure that you are working with Folder Option "Show Hidden Files, Folders, and Drives" active so that you can see the complete path cited.
    Do you have installation files or installation disc with the purchased serial number in case we need to resort to uninstall/reinstall?
    We will be watching for your follow up.
    ATR

  • Why we should use Macros if we have function Module

    Why we should use Macros if we have function Module and what is the Advantage of Macros than function Module
    Moderator Message: Interview-type questions are not allowed.
    Edited by: kishan P on Oct 7, 2010 2:22 PM

    Put it this way... if you have blueprints for a car you wouldn't want to produce only one car, would you? You would want to produce as many as needed. In another example, you don't want to be able to use only 1 window in Windows. Each window has common features but have different values. That's the purpose of non-static entities
    However, there are instances that you want to have only one value for something. That's when you use static entities.
    Get it? =)

  • InfoView - How to Restrict values of Month Dimension Combo Box

    Post Author: alexrox
    CA Forum: Publishing
    Product: Business Objects Enterprise XI R2
    Version: XI R2
    Patches Applied:
    Operating System(s): Linux RHEL 4 x86
    Database(s): Oracle 10gR2
    Error Messages:Steps to Reproduce:
    Hello, we are using Business Objects Enterprise XI R2 in the company I work, and we are facing a problem in some web intelligence reports.Our BO version is in Spanish, so maybe I do not translate some BO terms properly into English.
    We have the "Time" class in the Universe we use, and in that class, we have the "month" dimension.
    When we create some reports in InfoView, we can use the "month" dimension to display the results of that month (dragging and dropping that dimension in the "Analysis Context" Area).
    The user can choose values in the "month" dimention through a combobox in the "analysis context" area. The problem is that Infoview allows the user to select the value "all the values" of that dimension, I mean, all the months, so that the results of the report are according to the "automatic aggregation" calculated of the values of that dimension (all the months).
    But, we do not want to allow the user to select that value (all the values) of that dimension, because it causes that the report displays incorrect results (we have some percentages that have incorrect values in the aggregation, for example). I hope that you understand the problem I have tried to explain.
    My question is how can we restrict so that the combo box (of the month dimension at the analysis context area ) does not allow to select "all the values"?
    Is it possible?  If so, do we have to make a change in the universe or is it a restriction of the web intelligence repport?
    Thank you very much!
    Alejandro Usero Ruiz

    Post Author: jsanzone
    CA Forum: Publishing
    Alejandro,
    In your posting, quote "(we have some percentages that have incorrect values in the aggregation, for example).", I'm wondering if you are calculating the percentages within your universe or not?  I.e. do you have a universe object that in essence is doing the math?  If so, I might suggest that you not do it this way (even though in total aggregation calculations this will produce a valid result), but in disaggregate calculations (during the users "slicing and dicing") the percentages are not re-calculated by the BusObjects tool because it thinks that the data it received from the SQL output is good to go, and this is where the incorrect values in the aggregation start to show up.  We had this problem too, so we ceased from calculating at the universe level and built a local variable to the report, thus BusObjects will recalcuate the percentage properly for each level of aggregation that user selects.  The downside to this approach is that every report that has percentage calculations will require the local variable to be built for that report.  Even users who build their own reports will have to build their own local variable to compute the percentage for their reports.  The upside is that the calculations will be correct every time.

  • I have the form auto-fill as am add on. How do you turn it on when a form comes up for eg., a contribution?

    Before I got Firefox, I would always click on a button once and my form would be filled out for contributions. I want to do the same with Firefox but have to fill out each form in staid of using auto-fill. How do you turn it on. I have the add-on it just does not seem to work.

    That does sound messy and unexpected. Generally, property nodes should force an actual update synchronously. Are you sure the two are actually consecutive? Are they connected with an error wire or a reference? Can you upload a VI which demonstrates this?
    If that doesn't help, you could try using defer panel updates. The ideal would probably be to call it once before and once after, but you might need to place it in between as well.
    Try to take over the world!

  • How load value in system fom Combo box

    Hi,
    I want load some value(like aaa,bbb)in Item Master data form-Item groups Combo box.
    How to do this one?.
    Regards,
    Siva

    Hi Siva,
    Instead of adding data into combobox plz insert data into OITB table then system will shows all values in Item master
    data groups combobox.
    By
    Firos

  • How do I correctly use the DB2 JDBC 2.0 driver on a Windows system?

    i want to connect the db2 by the jdbc 2.0(db2java.zip),
    i have to setup the db2 Client, don't i ?
    what evironment is needed to finish this ?

    If you want to use JDBC2.0, be sure to execute "usejdbc2.bat" in $DB2DIR$/java12 once.

  • How to generate PDF using FDF file and the PDF form template (PHP)

    Hi Folks,
    I'm really sorry that I couldn't follow all the valuable discussions going on here, regularly. I need some immediate help.
    I NEED A PHP SOLUTION. I'm able to generate FDF files using the PDF Form Template in PHP. So, I have a collection of FDF files, which seeks the PDF template, while opened and populates the template with FDF data. Now if I need to save this PDF file, I have to do it manually clicking SAVE option. But, I need to convert FDF to PDF in bulk. So, I need some PHP based solution. The PHP script takes the PDF template and the FDF file and merges them to generate a complete populated PDF file. I know it's possible, but don't know how. I've seen Adobe FDF Toolkit. But by default it doesn't show any guideline for PHP. Please help me to write this code. I'm a professional coder. I can understand your hints and tutorials. PLEASE HELP GOOD PEOPLE.

    The only reason I am responding to this post is because the poster sent me a request through the forum message system asking for my help.
    Although I did populate PDFs with FDF data generated by web forms a year or so ago, I have since abandoned that kind of solution. It was a big headache. I found it far more stable and flexible to use html, php and css to populate forms that are almost as nice looking as PDFs.
    So my advice is, if you can possibly avoid going the FDF/PDF route, you will be better off.

  • What's going on? When I type a title on my new Pages document, iwork is substituting a hyphen for the colon I want! Have never seen this one before. How do I correct this imposition? I have the 10.6.8 OS and Pages'09.

    What's going on? When I type the title of my new Pages document, iwork is substituting a hyphen for the colon I want. This is bizarre! How do I make my computer do my thing vs its thing? I have Pages '09.

    Colons are used by the operating system so can't be used in file names.

  • How can someone else use their phone and have it c...

    My gf lives in the Philippines. I want her to be able to call or text me and have it charge to my Skype credit or somehow pay for her Skype credit. CAn I do this?

    davewe wrote:
    My gf lives in the Philippines. I want her to be able to call or text me and have it charge to my Skype credit or somehow pay for her Skype credit. CAn I do this?
    It's not possible to charge your account for your gf SMS messages, but you might look into Skype Manager: https://support.skype.com/category/SM_GETTING_STAR​TED/
    Basically Skype Manager is an online tool which enables you to buy credit and allocate it to other Skype Manager members. It's mostly meant for business purpose, but for example I use it to manage my family accounts. I purchase Skype Credit and allocate it to my parents since they are not so tech savvy.
    Andre
    If answer was helpful please mark it with Kudos and if issue is resolved mark it with solution. This will help other users find this answer more easily. Thanks in advance!

  • How to reference or use a database procedure in a form

    I have a database procedure(any database object in the form) Pls tell me how to reference it in the form
    I will appreciate if I can get an example.

    Hi,
    if its in the same schema you are connected to, just call it by packagename.procedure from a Plsql program unit or trigger. Make sure you don't have a procedure with teh same name defined in Forms itslef.
    Frank

  • How do I find out which plan I have in Forms Central?

    The title says it all.

    if you're wondering what specific phone model you have which is what I was wondering (couldnt work out if I had 5,1 or 5,2) try this then
    enter the last 3 digits of your serial number and load the page
    http://www.everymac.com/ultimate-mac-lookup/?search_keywords=
    for example= TYA

  • How to retrieve BFILE use Jdeveloper2.0 connection

    Hi, Jdeveloper2.0 have its own connection way to access database.
    It used to build up info data form and dbservlet. It is great.
    But can we use its connection to retrive BFILE, like what we do
    using standard JDBC driver.
    How?
    Or we have to use oracle.jdbc.oci driver to connect database
    again?
    null

    ye jian,
    The JDeveloper connection editor/manager is just a wrapper around
    a straight JDBC connection. In other words, the named connection
    you create in the connection editor is a regular JDBC connection,
    and can be used to do everything Oracle's JDBC drivers support.
    See the online help in the section titled 'Connection Manager API
    ' for more information on how to reference a named connection in
    your code. This topic is found under Building Java Applications
    for Oracle8i, Managing Database Connections, Using the Connection
    Manager.
    Laura
    ye jian (guest) wrote:
    : Hi, Jdeveloper2.0 have its own connection way to access
    database.
    : It used to build up info data form and dbservlet. It is great.
    : But can we use its connection to retrive BFILE, like what we do
    : using standard JDBC driver.
    : How?
    : Or we have to use oracle.jdbc.oci driver to connect database
    : again?
    null

  • With one package of Adobe Creative Suite 2 and the upgrade CS5 how many computers can use it?

    With one package of Adobe Creative Suite 2 and the upgrade CS5 how many computers can use it?

    You have 2 activations and no more.
    Mylenium

  • HT1473 Trying to download cd's and keep getting 4010 error.  How do I correct this?

    Trying to download cd's and keep getting 4010 error.  How do I correct this?

    if you have itunes match - dry disabling it - then disable your antivirus and try again - good luck!

Maybe you are looking for

  • How do I view albums within a genre?

    When I click into a genre I get an option for "albums" and a list of artists. If I click on albums, it gives me a list of all my albums in itunes not just those within the genre. How can I get a list of only the albums within a genre? Thanks

  • (audio) Mirroring from Mini to Apple TV

    Why am I losing audio when mirroring to my apple TV from my computer? I can get a great image on both, but drop sound on my desktop as soon as I connect and can't even pull up audio on the TV. Then when I switch to multiple in iTunes, I drop mirrorin

  • Client IP address on Web Forms

    Hi Friends, I tried to get IP Address of Client by using SYS_CONTEXT('USERENV','IP_ADDRESS') in a database function but the problem it always brings the Forms Server IP Address instead of Client Ip Address on Web Forms. I'm just wondering is there an

  • Workset opens in a new window??

    Hi, I have created 4 new worksets (Home, PCR, Reports, Status) and assigned pages to these worksets. The workset "PCR" has one page assigned to it and the page contains "Personnel Change Request" iView (this iView is delivered by MSS). If I navigate

  • How can I upload my songs(not downloaded or bought from ITunes) in my Mac to cloud and be able to play them in my iPad and iPhone?

    How can upload my songs (not downloaded from ITunes) in my MacbookPro to the icloud so I can play them from my IPad and Iphone?