Using !format on multiple occurrences of the same field

I'm trying to use the @if function to apply formatting to two occurrences of a field, but am not having any luck so far.  The specific example is that I have two check boxes on the template, and would like to have only one of them checked at a time, using the same field in my data file for both check boxes.  The field that I'm using in my data file is:
^field ACCOUNT_TYPE
And the only two possible values for that field are CHECKING and SAVINGS.  On the first ACCOUNT_TYPE checkbox, I have entered the following !format:
@(If("@_$_."=="CHECKING","X"," "))
And on the second ACCOUNT_TYPE check box it is
@(If("@_$_."=="SAVINGS","X"," "))
The @if statement works fine when I apply it to only one of the check boxes, but when I apply it to both, nothing populates into the field.  A simple solution would be to change the data, but doing so is not an option in this case for me.  Any help or alternate solutions is appreciated.  Thanks!

Hi
I treid different combination keeping the same field name for two radio buttons but it didnt work. You can work out with an alternate solution , keep different name for two radio buttons say : JF07 & JF08
And under JF07 for !Format event : @(If("@JF03."=="SAVING","S",""))
And under JF08 for !Format event : @(If("@JF03."=="CHECKING","C",""))
where JF03 is the field name which may have one of two value : i.e either SAVING or CHECKING
So your form consits of 2 radio buttons ( JF07,JF08) and one field label JF03. In your dat file you have to refer to first radio button that appears first on the form i.e left to right or top to bottom.(So whatever radio button is appearign first in the sequence on the form from left to right use that radio button in dat file.Here its JF07)
^symbolset 108
^page 1
^field JF03
CHECKING
^field JF07
==========
^symbolset 108
^page 1
^field JF03
SAVING
^field JF07
Hope this layman's altenate solution will give you a bit of relief.
thanks
jaY

Similar Messages

  • Can you use sync on multiple computers at the same time? ie have someone else logged into your firefox account for you whilst you are also logged in

    I am trying to sign up to something but there is only a short window so was going to ask a friend to sign in at the same time using my account to try to sign up (with my password being saved into my firefox account)

    Hi. Yes, you can use Sync on multiple devices at the same time. I use it to keep my bookmarks in sync across my desktop and Android versions of Firefox.

  • Looking for a keyword using like query which could contain multiple occurrence in the same column

    I am facing an issue. A bunch of my frontend JSP code has been stored in few tables of my database (65 rows in a table), which I have identified using few like queries. Now I want to update a Href link which is present in all these queries. But since these column entries are very long (50-60 lines long) and it is possible that a few rows may the link (which is to be replaced), multiple times,  I am not sure that if a simple update query using a single like will work for it or not?
    Any suggestion/ideas are welcome.
    Please let me know if you require any more info.

    Hi,
    e5d4d744-cf66-4fe0-8353-bbd8fd826b21 wrote:
    I am facing an issue. A bunch of my frontend JSP code has been stored in few tables of my database (65 rows in a table), which I have identified using few like queries. Now I want to update a Href link which is present in all these queries. But since these column entries are very long (50-60 lines long) and it is possible that a few rows may the link (which is to be replaced), multiple times,  I am not sure that if a simple update query using a single like will work for it or not?
    Any suggestion/ideas are welcome.
    Please let me know if you require any more info.
    Yes; whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), so that the people who want to help you can re-create the problem and test their ideas.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    Simplify the problem as much as possible.  For example, if your strings are sometimes up to 4000 characters long, you don't have to post any data that's nearly that long.  You can probably show what you want with strings that are 80 characters long.
    Always say which version of Oracle you're using (for example, 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002#9362002
    This statement:
    UPDATE table_x
    SET str  = REPLACE ( str
                       , old_link
                       , new_link
    WHERE   str  LIKE  '%' || old_link || '%'
    will change all occurrences of old_link to new_link.  It will only change the rows where old_link occurs, but, aside from that, it doesn't matter how many times old_link occurs in str:  if it appears 2 times in the same str, then both occurrences will be changed to new_link.
    Watch out for the "mother is in chemotherapy" problem.  If old_link is 'bar.com', the statement above will change 'fubar.com'.  You may need REGEXP_REPLACE and/or REGEXP_LIKE if you need to consider what (if anything) comes immediately before 'bar.com' when deciding whether or not to change it.

  • Using Lightroom on multiple computers with the same images

    When using lightroom on my PC I download the images to an external hard drive.  When I am away from home can I use lightroom on my laptop and down load images to the same external hard drive and process them and have lightroom on the PC locate them when I return home.
    Message title was edited by: Brett N

    Yep.  If you're regularly going to be multiple machines, the easiest solution is to put the catalog file on the external hard drive, and just open that same catalog on both machines.  The alternative is to use import from catalog when you get back to your main computer, to copy the holiday photo settings into your main catalog.

  • Can I use FCX for multiple users on the same machine?

    I have one mac pro, and two video cmpanies. I have two users on my machine and would like to set up two different final cut x workplatforms. Is that possible?

    Of course, you can use FCP X from two different user accounts on your machine. The question here, I believe, is how to separate the content that each user accesses.
    One obvious way to achieve that would be to store the content in the system disk - that would put events and projects in each user's Movies folder. But that is a bad option, for performance reasons, and more.
    You could have separate external disks for each user to store his content.
    Also, you could use different disk images which could, say, be all stored in the same internal (but not system) drive.

  • Multiple relationship for the same field

    Hello !
    I have this situation :
    Table : Article
    Id
    name
    category
    Table : Services
    id
    name
    nr
    value
    Table : Sell_item
    Id
    item_id
    quantity
    price
    value
    Now the problem is this : The field Item_id on the sell_item table can be the id for  an Article or a Service. So I need to create a double relationship for this field one with Article table an one with Service table.
    Is this possible ?
    If not , or if I'm wrong how can I solve this situation ?
    Thank you.

    Hello,
    Please try the following resource:
    http://stackoverflow.com/questions/10253986/sql-foreign-key-issue-with-2-parent-tables
    The resource offers you 3 options.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How can I have use the same div ID multiple times on the same page?

    Okay so a problem I encounter a lot is that often times I want to use the same div ID several times on the same page. An example of this is when I'm creating table like designs.
    Let's say for instance I create a div ID called 'product-container'. I want to use 'product-container' multiple times on the same page but if I do this it is improper XHTML and will throw errors in any XHTML validator (you are only allowed to use a div ID once on any XHTML page in order for it to be standards compliant).
    Now the first option is that I could define 'product-container' in my CSS style sheet multiple times by doing something like this...
    #product-container {
         width: 300px;
    #product-container-2 {
         width: 300px;
    #product-container-3 {
         width: 300px;
    #product-container-4 {
         width: 300px;
    What you will see there however is that it seems pointless to define the same ID numerous times over (just adding a number on the end) when each ID is the exact same thing and has the exact same attributes.
    Now what I have noticed is that there are some sites out there who manage to have the same ID appear several times in the code but add a number to it just like above. The difference is that they only have one definition for 'product-cointainer' in their CSS document but in their actual XHTML code they have IDs for 'product-container' but with numbers on the end like 2,3,4,5, etc. It's almost as if JavaScript or some other code is automatically appending a number on the end of the ID so the validator won't consider the markup to be invalid, but yet it knows that it's using the same 'product-container' style that is contained in the CSS style sheet.
    I hope I explained this correctly. I'm just hoping to find a way that I can put the same div ID on a page multiple times without having to define it over and over again in my CSS.
    Any help is much appreciated!

    Because it seems like by using a class you can't make this position as 
    well as you can by using an ID. Am I wrong?
    An ID name can be used only one time per page.  A class name can be used multiple times per page.
    .product {
    width: 300px;
    text-align:left;
    color: #FF0000
    border: 2px solid #666;
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Can multiple devices with the same apple id use airdrop

    Can I use Airdrop between multiple devices sharing the same Apple ID?

    I don't know but somebody will reply if you bump this message.

  • Select Statement to fetch Multiple records of a same field

    Hi one and all,
               I have ascenario like this,
    I need to fetch the material starting with 'MA%' and material Starting with 'RT%' and so on.....data from the table resb with reference to AFPO-AUFNR.
    Now how can write select Query.
    Iknow how to fetch for a single type of material 'MA%'(using LIKE)
    But for multiple selection of the same fieldi cant do anything ,
    if anybody knows Please Help me.....
    I wil be very thankful if u r helped.
    Regards,
    rajesh.

    I have been trying in the same way
    like
    DATA : sp TYPE char3,
           b3 TYPE char3,
           b5 TYPE char3,
           rt TYPE char3,
           sh TYPE char3,
           rp TYPE char3.
    sp = 'SP%'.
    b3 = 'B3%'.
    b5 = 'B5%'.
    rt = 'RT%'.
    sh = 'SH%'.
    rp = 'RP%'.
    SELECT * FROM
             resb
      INTO   TABLE gt_resb
    WHERE aufnr = wa_itab-aufnr.
    AND matnr LIKE RT.
    OR matnr  LIKE b3
    OR matnr  LIKE b5
    OR matnr  LIKE sh
    OR matnr  LIKE rp
    OR matnr  LIKE sp.
    its not working.
    Regards,
    rajesh S

  • I want to use multiple colors in the same box - Pantone plus process. I am trying to create a support plate of cyan under a PMS.

    I want to use multiple colors in the same box - Pantone plus process. I am trying to create a support plate of cyan under a PMS.

    How is the external drive formatted?
    Allan

  • Can I use multiple iPhones on the same iTunes account? e.g. my wife and I each have iPhones

    can I use multiple iPhones on the same iTunes account? e.g. my wife and I each have iPhones

    Yes, you can have as many devices - iPhones, iPods, iPads - as you like using the same iTunes account.

  • Label Printing Using Address Book - How can I Print multiple labels of the same name?

    Label Printing Using Address Book - How can I Print multiple labels of the same name?

    I used to be able to print multiple copies of the same picture on one page using iphoto. There was a customise button when you went through to print and it was there somewhere. I can't see it anymore - maybe since an upgrade.
    It's gone. But as a work-around, duplicate your photo (⌘D) to create as many versions as you want copies and select all at once. Then use the "Custom" print layout and set the photo size you want.
    After printing, trash the added versions.

  • Use multiple themes in the same project?

    I'm making a slideshow in iMovie 09. It consists of approx. 200 pictures. Those 200 pics are then broken down into 5 distinct groups. I've applied the Scrapbook theme to the first 40 pictures. I tried to apply a different theme (Filmstrip) to the next 30 pictures. When I did that, however, it changed the theme for the original 40 pictures to Filmstrip as well.
    Am I able to use multiple themes within the same project? I don't think its possible.
    Is my solution to make the 5 sections of the slideshow in iMovie 09 using a different theme for each section? I'd export as a movie file and then create the final slideshow that would consist of the 5 movies previously made (each with a different theme).
    Thanks in advance. This project is due in 3 weeks.
    Martin

    This is not possible in iMovie (to use multiple themes).
    However, you can do this using your idea of joining multiple movies into one. You can do this with QuickTime Pro, or with MPEG Streamclip. [Here is a video Tutorial by venerable forum member Jon Walker|http://web.me.com/jrwalker4/QuickNotes/MPEGStreamclip/Entries/2008/5/25_Tutorial015.html] which shows the MPEG Streamclip option.

  • How to use multiple proxies at the same time?

    im planning to use multiple proxies at the same time on mac but i have no idea how to do it?!. i need help!thanks!

  • Use of Multiple instances of the same browser...

    Hi folks,
    I have a question...
    I have inherited a large APEX application, it uses Oracle SSO to log in.
    We are migrating the application to a new set of servers and are running regression tests.
    The testers are logging in using IE6 and opening multiple instances of the application at the same time on both the oldTest and newTest servers.
    So at any one time, there can be:an application Admin user (username ADMINTEST123)  logged into the application on oldTest
    an application Admin user (username ADMINTEST123)  logged into the application on newTest
    an application standard user (username TEST123)  logged into the application on oldTest
    an application standard user (username TEST123)  logged into the application on newTestIs this supported?
    Could someone tell me or point me toward the documentation or thread that lists what is supported / unsupported for browser use with APEX and SSO?
    Thanks in advance,
    Gus..

    Hi lev,
    thanks but sorry, that doesn't really help me, I'm talking about users and their logins, not developers using different browsers while developing apex.
    Also, our users are locked down to IE6 for the foreseeable future.
    Hi Scott,
    I found the following quote from this web site http://aranea.zuavra.net/index.php/80/ about Cookie separation in modern browsers
    *4.3. Internet Explorer 6.0*
    Finally, Explorer is the one that introduces an interesting quirk. It too has separate settings per machine users, although it cannot make use of multiple profiles for the same user.
    The interesting thing is the way it handles session cookies. Normally, long term a.k.a. non-session cookies are stored on disk in the user preferences. However, Explorer has a setting called “browse in new process” which, if enabled, forces a new session with each new window. That’s right, this means that every time you open a new Explorer window it opens a separate process, even though the windows belong to the same user! And, in turn, these processes will NOT share their session cookies.
    Note: By “new window” I mean windows started from shortcuts, from Start Menu entries or by calling iexplore.exe directly somehow (from a file manager, for example). Windows started via Control+N or File/New window run in the same process and share session cookies. Also, please note that it’s a lot more likely for users to click their taskbar shortcut when they need a new window than it is to use the File menu or the Control+N shortcut.+
    Furthermore, ever since version 5.0 the setting cannot be changed manually, by the user. It is automatically determined by the browser based on how much RAM the machine has. Anything with at least 32 MB of RAM gets the “one window, one process” behaviour, which nowadays means almost all machines.
    I have tested the *"new window"* opening methods and found that for IE6 there is NO NEW PROCESS started when the user opens a new window in the following 3 ways:
    from an open window, File>New>Window
    from an open window, CTRL+N
    from an open window, right click>Open in New Window
    So from this can I conclude that from what you say and the results above we may get issues if users login and then open new windows in those ways?
    Thanks,
    Gus..

Maybe you are looking for

  • Failed appointments, terrible management, lies and...

    I've been waiting for my BT line and broadband to be installed since Dec 21st 2013. An OpenReach engineer was meant to call to connect me on Sat 21st - they failed to turn up. I phoned and was told various excuses as to why they didn't come. Was told

  • Smart folders query

    No probs with spotlight so far.. it does pretty much what it says on the tin.... It's the stuff that's not on the tin I need help with! I want to create a smart folder containing files I haven't opened in the last month/30 days. iTunes lets me do thi

  • Installing Office on two profiles

    I have student edition of Office that has a total of three passkeys for 3 installs. I have already installed on my iMac and iBook. But I have 2 profiles set up on my iMac. Do I have to do a separate install to have Office X available to both profiles

  • Best way to query

    Hello All,     I have a scenario. I read a DB table MARA, i will get few records . now i have to query a Z* table, based on the mara entries, what i got earlier. but in Z* table contains the material, with two extra characters than mara-matnr. for eg

  • Add circle to XML MapRequest

    Hi, I'm using Mapviewer XML API to create XML MapRequests. When I was trying to add circle geometry-features to the map request I was running into to following problem: The circle is rendered on the map - but I wasn't able to render it in my own styl