How do I use switch and case statements to fill more than one other field?

Hi all,
I'm new to the community.
I'm trying to make an existing form more user friendly for my coworkers. I want to use a switch and case approach in a drop-down list field so that the selection fills two seperate other fields with different info related to the selection.
I can already do this with one field, but if I add a second target field under an existing case the text doesn't appear there when I make the selection from the dropdown.
Basically, I'm asking if I can do this:
switch 
(sNewSel){
   case "1": // Selection 1    Row2.Field1
= "text for field 1";
    Row1.Field2 = "text for field 2"; 
    break;
etc.
It works if the "row1.field2" option isn't there, but not when it is present.
Any takers?

I'm not sure if I will be able to send you the form. There may be too much to redact.
Would this last bit of code in the cell affect anything?
if 
(bEnableTextField)
{Row2.Field1.access
= "open"; // enable field
Row2.Field1.caption.font.fill.color.value= "0,0,0"; // set caption to black
That is, do I also need to repeat the same thing for the second target cell (Row1.Field2)?
What would be possible hang ups that would prevent it from working correctly?
Dave
By the way, I'm not sure if my other attachment posted. I am trying again.

Similar Messages

  • How can i use the same front panel graph in more than one events in an event structure?

    i want to display the signals from my sensorDAQ in a graph.but i have more than one event in the event structure to acquire the signal and display it in the graph.the first event is to acquire the threshold signals and its displayed in the graph as a feedback.after the first event is executed, i will call the second event,where the further signals are acuired and compared with the threshold signals from the event 1.my question is how can i use the same front panel control in more than two events in the event structure?please answer me i'm stuck.
    Solved!
    Go to Solution.

    Hi,
    I have attached here an example of doing the same using shift registers and local variables. Take a look. Shift register is always a better option than local variables.
    Regards,
    Nitzz
    (Give kudos to good answers, Mark it as a solution if your problem is Solved) 
    Attachments:
    Graph and shift registers.vi ‏12 KB
    graph and local variables.vi ‏12 KB

  • How do I use mobile link to view documents on more than one device?

    I have documents on my iPhone and want to send them to my iPad using Mobile Link. How do I do this?

    Hi bephys,
    For this you can simply upload the doc to files.acrobat.com and send the link to the recipient via Adobe Send.
    Anyone having the link would be able to access the doc.
    Alternatives would be Google Drive or One Drive.
    These links might be helpful to you:
    https://support.google.com/drive/answer/2498081?hl=en
    http://windows.microsoft.com/en-in/onedrive/ios-faq
    Regards,
    Rave

  • Switched from DSL to cable modem. My Airport light won't turn green. Keeps blinking orange. No wireless now and can't connect to more than one computer! ?????

    Switched from DSL to cable modem. My Airport light won't turn green. Keeps blinking orange. No wireless now and can't connect to more than one computer! ?????

    Hmmmm.
    If you reset the AirPort Extreme by holding in the reset button for 9-10 seconds and then releasing, the AirPort should be back in default settings which would allow mutliple computers to connect to the LAN ports on the AirPort.
    Power off the cable modem for now and leave it off at least 15 minutes.
    With the AirPort Extreme still powered on, hold in the rest button on the back for 9-10 seconds and release. Allow a full minute for the AirPort Extreme to restart to a slow, blinking abmer light.
    Then, power off the AirPort Extreme.
    Check to make sure that the Ethernet cable from the modem is connected to the WAN "O" port on the AirPort Extreme.
    After the modem has been powered off for at least 15 minutes, power it up and let it run for 5 minutes by itself.
    Now, power up the AirPort Exteme and let it run for 2-3 minutes
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Connect an Ethernet cable from your Mac to one of the LAN <-> ports on the AirPort Express
    Click on the AirPort Exteme, then click Continue to follow the guided setup tp configure the AirPort Extreme.  You can use the same wireless network name, password, etc that you used before, or set up a new name and password, etc.

  • I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect to my MacBook it erases everything on had on there. Can someone please help with this problem?

    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.

    dwgar1322 wrote:
    I have just started using WD external hard drives, I use it to save my movies and music on. On more than one occasion, when I connect it to my MacBook it erases everything I had save on the hard drive. Can someone please help me with this problem? I am super tired of having to put all of my movies and music on the hard drive just to have it erased again. The products I am using are WD 4TB My Book and 2 TB My Passport external hard drives. When it happens, there is always an icon that reads, EFI, along with the My Book icon. Thank you for your assisstance.
    Yes, you have WD software installed  REMOVE IT !! 
    WD has warned its customers about their huge mistake that their software doesnt work on Mavericks and causes data loss.
    (also dont use WD drives anymore)
    Read all about it here:
    https://discussions.apple.com/thread/5475136?start=255&tstart=0
    See their website on removing the destructive WD software here:
    http://community.wd.com/t5/External-Drives-for-Mac/External-Drives-for-Mac-Exper iencing-Data-Loss-with-Maverick-OS/td-p/613775
    Western Digital External Hard Drives Experiencing Data Loss On OS X Mavericks
    http://www.cultofmac.com/252826/western-digital-external-hard-drives-experiencin g-data-loss-on-os-x-mavericks/

  • HT2472 I must have done something inadvertently and now if I have more than one application open the one I click on comes up front and center and the other apps disappear. How do I reset to have them both up and open and viewable at the same time?

    I must have done something inadvertently and now if I have more than one application open, the one I click on comes up front and center and the other apps disappear. How do I reset to have them both up and open and viewable at the same time?

    Hi Jan, Almost sounds like Expose or Spaces....
    http://support.apple.com/kb/HT2503

  • How to select a substring in oracle up to a more than one specific character

    How to select a substring in oracle up to a more than one specific character
    for ex : 121.051^NP: FAMILY PRACTICE  ( trim the values before ^ )
                121.051^*NP: FAMILY PRACTICE (trim the value before *).
    with below function I can only get rid of ^ , I want both the specific characters ^ and ^* to be removed at the same time.   
    SUBSTR(p.phys_sub_grp_2_desc,INSTR(p.phys_sub_grp_2_desc, '^') +1)

    Another option is to boldly replace 'em:
    SQL> with t as (
      2  select '121.051^NP: FAMILY PRACTICE' str from dual union
      3  select '121.051^*NP: FAMILY PRACTICE' from dual
      4  )
      5  --
      6  -- actuel query:
      7  --
      8  select substr( replace(str, '*')
      9               , instr(replace(str, '*'), '^')+1
    10               ) str
    11  from   t;
    STR
    NP: FAMILY PRACTICE
    NP: FAMILY PRACTICE
    2 rows selected.

  • How to input more than one currency field into the transfer rules?

    hi experts,
    how to input more than one currency as well as unit fields in transfer rules, when i am giving two currency fields in flatfile the same structure could not able to get in transfer rules ( 0currency).
    pl give me the procedure to input more than one currency field.
    thanks & regards
    venkat

    Hi Venkat,
    For example - for amount kf - if you have 0currency as ref object and included in transfer rules and for other kf - create a Zcurr object and try to include...hope it works.
    Thanks,Ramoji.

  • How do I use the back button to go back more than 1 step?

    In previous versions of Firefox and common in other browsers is a small pull-down option on the back button that will allow the user to go back more than 1 step in browsing history.
    Typically, the pulldown will show a chronological list of recent sites visited and the user could select one. Firefox 4 seems to have dropped that feature and you can only click it to go back 1 step at a time. I really miss that feature.
    Is there a way to enable or add on the ability to go back more than one without having to go to history?

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
    If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • I want to know how to install and download an app on more than one machine at a time

    download and install an app on more than two computers at a time

    No. You have 2 activations and that is that. If you need it on more machines, you need another subscription.
    Mylenium

  • Can I use a single QuickTime Pro key on more than one computer?

    I would like to use QuickTime Pro at both home (Windows Vista) and at work (Windows XP). Can I do this using a single purchased key, or do I need to buy two separate keys, one for each machine?
    It's a rather stupid question, but I can't find an straightforward statement one way or the other in the FAQs. Perhaps the answer's too obvious!
    Cheers,
    Andrew.

    Thanks! I thought this would probably be the case, but since iTunes allows me to authorise more than one machine, I thought that it was just possible that QuickTime might do the same. Back to the drawing board ...
    Cheers,
    Andrew.

  • How can you create an activity as subsequent act. of more than one activity

    Hi.
    I want to create an activity as subsequent activity of more than one activity.
    I am using FM CRMXIF_ORDER_SAVE, but if I write data structure CRMXIF_DOC_FLOW with more than one item the system shows the error CRM_COPY 010 More than one predecessor was entered for data transfer.
    However I have customized multiple relationship allowed, and if I do multiples links in transaction crmd_order it works all right.
    Only it doesn't work with FM CRMXIF_ORDER_SAVE. I need create activities with FM because they are interface R/3. What FM can I use to create multiple subsequent activities?
    Thanks and best Regards
    Sorry for my english.

    Hi,
    I have got some activities creates in the system. (e.g. Act. 1, Act. 2, Act. 3 and Act. 4). With the FM CRMXIF_ORDER_SAVE  filled the structure CRMXIF_DOC_FLOW you can create subsequence activity of one of them (e.g. Act. X.1). I need create the same activity (Act X.1)  from another activity, (e.g. Act. 2). I know to do this in transaction CRMD_ORDER by link tab. But I don't know how to do this using FM or BADI or another thing.
    Act. 1     Act. 2      Act. 3     Act. 4 
    .....Act. X.1
    Thanks in advance.
    Edited by: Ana Isabel París on Jul 7, 2008 2:42 PM

  • When I read a pdf document using Safari I'm unable to read more than one page of a file. A padlock icon is locked on the tab. Please help.

    When I read a pdf document using Safari on my IPad  I'm unable to read more than one page of a file. A padlock icon is locked on the tab. Please help.

    Hi snoreaustralia,
    It sounds like you just need to associate the PDF filename extension with Acrobat, rather than Preview. Please see this document from the Microsoft Help for instructions on choosing the default program for opening a particular file type (in your case, PDF): Change which programs Windows uses by default - Windows Help
    Best,
    Sara

  • Use a skype number nd connect to more than one sky...

    can i use a skype number and connect this to more than one skype account. or can i create a group of skype accounts who can pickup the call?

    no, a Skype Number is linked to a single Skype Name
    calls to a Skype Name can, however, be forwarded to as many as three other numbers or Skype Names -- whoever answers first gets the call
    incoming Skype calls can only be forwarded once using Skype
    http://www.skype.com/en/features/call-forwarding/
    Regards,
    Neil

  • How to allow access to my airport extreme network for more than one wirelss device at the same time

    I received a Kobo Vox ereader for Christmas and have not been able to connect to my home wireless network. It works with unsecured networks and I tested it out at an Apple reseller with their airport extreme netwok and it connects fine.
    It seems as if I cannot have more than one wireless device connected to my home netork at the same time.
    So here is what I did to test this out:
    - I powered off the Kobo vox
    - I shut down my macbook
    - I turned off the modem and unplugged the power cord and removed the cable connection from the modem.
    -  I also unplugged the airport extreme router.
    - I waited for about 15 minutes and then set it all up again and turned on the power to the router and the modem
    - I turned on the kobo  vox (I left my laptop shut down)
    - my kobo vox was able to connected to the internet.
    - I powered up my laptop and it couldn't connect to the internet.
    So, I went through the above steps again and powered up my laptop first and was able to connect to the internet. I then turned on my Kobo and was not able to connect.
    It seems as if I can only have one device connected to my wireless network at one time and that device is the first one to be powered on and connected to the internet.
    Am I missing some network or airport extreme settings...
    thanks

    Try the following on your Mac.....
    Open Macintosh HD > Applications > Utilities > AirPort Utility
    Click Manual Setup
    Click the Internet icon
    Click the Internet Connection tab
    Change the setting for Connection Sharing to read Share a public IP address
    Click Update

Maybe you are looking for

  • Trouble with burning a cd

    When I go to burn an Audio CD onto a CD that is able to have 80 minutes of music on it, iTunes says that the songs in the playlist will not fit on one CD but the total time is under 80 minutes.   Windows XP  

  • Content Refuses to Show Even After Proper Update

    Hello to anyone listening, So here's the problem for all takers... Fox.com gives me the error message: Please Update Your Flash Player but the Adobe website assures me I am running version 10.3.183.11 and that this is the latest version.  I have un-i

  • Dynamically settting Layoutdata property

    Hi, I created a goup and I need to add UI elements uinder the group dynamically.I am using Matrix layoutfor the group.I want to set the Layout data property of one of the UI element as MatrixHead data d.But I dont find any set method for layoutdata p

  • Is the new version of Flash player compatible with FF 3.6.17?

    I updated to the new version of Flash - 10.3.181.26 - because of some sort of problem with the old version. Now FF does not recognize Flash as being installed. I have both versions in .mozilla/plugins. I use .new and .old as the extension for the one

  • How to login in mobile me

    how i can login in mobile me or how can i reset my existing ID