Selected Value for CFSelect and other options too

I have an update form with an "Office" field. For a record, I
query the db and get all the data for the record including the
current office. However, since this is an update/edit form, I want
the current office to display as selected, but want to also include
all the other offices. How Do I do this in a cfselect? I can figure
out how to either display the current office, and no other offices,
or I can display all the offices, but not have the current office
selected. Argh.

you have a query that pulls data for current record - let's
call it
REC_QUERY, and let's say the field with the office data is
called... OFFICE
have another query that pulls all offices - let's call it
OFFICE_QUERY
set the QUERY attrib of your cfselect to OFFICE_QUERY
set appropriate DISPLAY and VALUE attributes
set the SELECTED attribute of your cfselect to
#REC_QUERY.OFFICE#
hth
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com

Similar Messages

  • The default account option in iOS for contacts is missing; while I have multiple account options for mail and contacts are turned on for iCloud and other accounts.

    The default account option in iOS for contacts is missing; while I have multiple account options for mail and contacts are turned on for iCloud and other accounts.  I previously was able to select between my Microsoft Exchange Contacts (work account) and iCloud (personal), but both those options are now gone.  I tried turning contacts for both off and on and rebooting, but it didn't help.  Any ideas?

    Just a guess but if the exchange account is from your employer, your employer may have installed a security profile to your device preventing you from adding or editing contacts in the exchange account by removing the Default Account setting.  You would need to check with your employer's IT department to confirm this.  You could also test this by adding a Gmail account and turning on contacts syncing with Gmail to see if the setting reappears.

  • Selection groups for tables and header tables

    A couple of questions or rather observations around Selection Groups for tables and conversion objectu2026
    1) For tables that do not really have a date field, for instance table PDSNR, it appears that you cannot specify a selection group. Consequently, you have to transfer the table in its entirety. Is this something that can be modified via customizing?
    2) And what about the header tables, for example, X_ANLC, I have tried but not able to change the selection groups on these objects.
    Thanks!
    Harmeet

    Hi Harmeet.
    Since you mention you can only filter by date I am assuming you are using TDTIM.
    How would you want to filter PDSNR, for example? Would it want to filter all entries >= a given sequence number?
    The only way I know to do that is to work directly with the configuration tables. In your case you will need to use CNVMBTSEL* tables. Check how the standard selection groups are configured, and it should not be too difficult to follow the same logic and create your own selection groups.
    CNVMBTSELGRP                   MBT PCL Selection groups              (main table to create the selection group)
    CNVMBTSELMEMTYPE               MBT PCL Selection group member types  (main table to define members => fields for the selection group)
    CNVMBTSELGRPDEF                MBT PCL Selection group definition    (definition of the fields in that selection group)
    CNVMBTSELGRPVAL                MBT PCL Selection group values        (values for each field; you can use GE for >=)
    CNVMBTSELCLAUSE                MBT PCL Selection group clause        (should also be straightforward if you are using only one field)
    CNVMBTSELVAR                   MBT PCL Selection group variants     (configure the same variant for your selection group as for the others)
    CNVMBTSELREF                   MBT PCL Selection group reference     (assignment of selection group to conversion object)
    Hope this helps,
    Rui Dantas

  • How to know the dynamic values for this :AND category_id_query IN (1, :3, )

    Hi Team,
    R12 Instance :
    Oracle Installed Base Agent User Responsibility --> Item Instances -->
    Item Instance: Item Instances > View : Item Instance : xxxxx> Contracts : Item Instance : xxxxx> Service Contract: xxxxx>
    In the above page there are two table regions.
    Notes.
    -------------------------------------Table Region---------------------------
    Attachments
    -------------------------------------Table Region---------------------------
    --the attachments are shown using the query from the fnd_lobs and fnd_docs etc...
    I want to know what are the document types are displayed in this page ?
    --We developed a custom program to attach the attachments to the  services contracts and the above seeded OAF page displays those ..as needed.
    But after recent changes..the Attachments--> table region is not showing the attachments.
    I have verified the query..and could not find any clue in that..
    but i need some help if you guys can provide..
    SELECT *
    FROM
    *(SELECT d.DOCUMENT_ID,*
    d.DATATYPE_ID,
    d.DATATYPE_NAME,
    d.DESCRIPTION,
    DECODE(d.FILE_NAME, NULL,
    *(SELECT message_text*
    FROM fnd_new_messages
    WHERE message_name = 'FND_UNDEFINED'
    AND application_id = 0
    AND language_code  = userenv('LANG')
    *), d.FILE_NAME)FileName,*
    d.MEDIA_ID,
    d.CATEGORY_ID,
    d.DM_NODE,
    d.DM_FOLDER_PATH,
    d.DM_TYPE,
    d.DM_DOCUMENT_ID,
    d.DM_VERSION_NUMBER,
    ad.ATTACHED_DOCUMENT_ID,
    ad.ENTITY_NAME,
    ad.PK1_VALUE,
    ad.PK2_VALUE,
    ad.PK3_VALUE,
    ad.PK4_VALUE,
    ad.PK5_VALUE,
    d.usage_type,
    d.security_type,
    d.security_id,
    ad.category_id attachment_catgeory_id,
    ad.status,
    d.storage_type,
    d.image_type,
    d.START_DATE_ACTIVE,
    d.END_DATE_ACTIVE,
    d.REQUEST_ID,
    d.PROGRAM_APPLICATION_ID,
    d.PROGRAM_ID,
    d.category_description,
    d.publish_flag,
    DECODE(ad.category_id, NULL, d.category_id, ad.category_id) category_id_query,
    d.URL,
    d.TITLE
    FROM FND_DOCUMENTS_VL d,
    FND_ATTACHED_DOCUMENTS ad
    WHERE d.DOCUMENT_ID = ad.DOCUMENT_ID
    *) QRSLT*
    WHERE ((entity_name    ='OKC_K_HEADERS_V'-- :1
    AND pk1_value          IN ( 600144,599046) --:2
    AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    AND datatype_id       IN (6,2,1,5)
    AND (SECURITY_TYPE     =4
    OR PUBLISH_FLAG        ='Y')))
    --='000180931' -- 'ADP118'
    The above seeded query is the one which is used for table region to retrieve the data..
    how to know the dynamic values for this : AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    --Sridhar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Patricia,
    is it working for restricted key figure and calculated key figure ??
    Note Number Fisc Period Opening Days
    1 1 2
    2 1 3
    3 1 0
    because I have other restriction, so I create two restricted key figure..
    RK1  with restriction :  Total Number of Note,
    RK2  with restriction :  Total Opening Days ,
    then I Created a calculated key figure, average opening days in a period
    CK1 = RK2 / RK1..
    in this case, I am not sure if it will work or not..
    for example, during RK2 calclation, it might be this   2+3 = 5, the line with 0 will be ignored..
    during RK1 calcualtion, it might be 1 + 1 + 1 = 3. ---> Not sure in this case, the line with opening days 0 will be calculated or not..
    could you please confirm..

  • Read Only for "Group" and "Others" via SMB

    I see when Windows vista users of my OS X 10.5.8 server save a file to the server, the permissions show on the server as Read & Write for the owner and Read Only for 'Group' and 'Others'.
    Is there a way I can make the OS X server always make 'Group' and 'Others' always be Read & Write?
    Thanks!

    It's using a shared component LOV cleverly called LOV_YN which consists of a static LOV with
    1 Display=Yes, Return=Y
    2 Display=No, Return=N
    The settings in the LOV section on the item iteself:
    Named LOV: LOV_YN
    Display Extra values: No Dynamic translation: Not translated
    Number of columns: 2 Display null: No
    Null display value is blank as is null return value
    Item was setup as a radio group and was only converted over to a select list to work around this issue. Let me know what else you need and thanks again.
    Rgds/Mark M.

  • Skype for 8520 and other BB version's / Question needed to be answered by Blackberry support for everyone!

    This is a question that seriously needs answering for myself and other BB customer's.
    Personally the only reason I have a BB is because I can have window's live messenger on it, But WLM is closing in April and updating to skype, Meaning everyone who use's WLM that their contact's will be going there and not to any other network!
    Now I've read from what I've researched that BB maybe will be joining with oovoo something like that, Why when that is not where people's MSN/Hotmail contact's will be going ?
    BB paying customer's to BB product's want access to there MSN/Hotmail contact's not to be diverted to another service that does not have their MSN/Hotmail contact's.
    Also I have seen that skype or something along those line's will be available for the new BB 10, So what about earlier product's such as BB curve 8520 that I personally own myself that has nothing wrong with it?
    So us paying BB customer's are going to be excluded because we don't have a brand new version of BB due to there being nothing wrong with the BB's we have? Which so were going to be penalized?
    I would like these question's answered please because I am not happy about this and I'm sure a lot of other BB customer's are not too, It's not anyone's fault that WLM is going to be taken away but atleast make sure that BB customer's have a skype app to access their MSN/Hotmail contact's and can conversant with them directly like WLM.
    Honestly I love my BB and wouldn't be without it purely because I'm able to log in WLM when I like, Where ever I am and talk to my contact's directly, Not all people have BB's and can not be added to BB messenger which is why WLM is a priority on BB app's for BB customer's, Is something going to be done about this? Because if not then that is just wrong which will result in many valued BB customer's changing to other phone's purely because out of being penalized of not having the newer version of BB 10 or not having skype at all regardless of IM+, We should have a direct Skype app and be able to have direct gain to our MSN/Hotmail contact's like we did on WLM.
    So can someone answer this please and give us BB customer's confirmation on what is going to happen, Thank you.
    For those of you BB customer's who are reading this who use WLM and is important to you as it is myself, Like this thread please so it get's noticed so that action will be taken. Thank you.

    The answer is actually simple...example...6.0.0.415 for a 9860 is very different from 6.0.0.415 for a 9670. Hence, the app developers must port their apps to every combination of (usually) major OS level (e.g., 6.0, 7.0, 7.1) and specific device model number. That's a lot of combinations to which they must port their app...and many choose to not do them all. But the choice is the app developers.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Copy 'Favorites' in 'Select Values for Variables' screen

    I need to copy a list that I created as a 'Favorite' in the 'Select Values for Variables' screen for Customer to all the other userids so that everyone is using the same list of customers.  Can someone tell me the table(s) where these values are stored?  Is there a function module or program available that copies 'Favorites'. 
    It would be nice if you could select if the 'Favorites' you create can be 'Global'.
    Thanks.

    the variant values are stored in RSRPARAMETRIZA. the field content stores in XML format. you can write an ABAP program to read and update it.
    Edited by: Ananda Theerthan on May 26, 2010 8:56 PM

  • How to Create a Parameterized Report - The select "- ALL-" for department and manager not working.

    I downloaded the OEHR Sample Objects application and followed the steps in Oracle® Application Express Advanced Tutorials
    Release 3.2.
    The parameters and report seem to be working correctly except when I enter "all" for department or manager I get no matching hits.
    What's the most efficient way to retrieve "all" if the users selects all for dept and mgr - thus we'd want to return all records in the table.
    Region snipprt
    Enter Search
    Search Employee
    Dept
    - ALL -
    Administration
    Marketing
    Purchasing
    Human Resources
    Shipping
    IT
    Public Relations
    Sales
    Executive
    Finance
    Accounting
    Treasury
    Corporate Tax
    Control And Credit
    Shareholder Services
    Benefits
    Manufacturing
    Construction
    Contracting
    Operations
    IT Support
    NOC
    IT Helpdesk
    Government Sales
    Retail Sales
    Recruiting
    Payroll
    Mgr
    - ALL -
    Steven King
    Neena Kochhar
    Lex De Haan
    Alexander Hunold
    Nancy Greenberg
    Den Raphaely
    Matthew Weiss
    Adam Fripp
    Payam Kaufling
    Shanta Vollman
    Kevin Mourgos
    John Russell
    Karen Partners
    Alberto Errazuriz
    Gerald Cambrault
    Eleni Zlotkey
    Michael Hartstein
    Shelley Higgins
    The following is the sql that was provided as part of the turitoral.
    SELECT
       "OEHR_EMPLOYEES"."EMPLOYEE_ID" "EMPLOYEE_ID",
       "OEHR_EMPLOYEES"."FIRST_NAME" "FIRST_NAME",
       "OEHR_EMPLOYEES"."LAST_NAME" "LAST_NAME",
       "OEHR_EMPLOYEES"."EMAIL" "EMAIL",
       "OEHR_EMPLOYEES"."PHONE_NUMBER" "PHONE_NUMBER",
       "OEHR_EMPLOYEES"."HIRE_DATE" "HIRE_DATE",
       "OEHR_EMPLOYEES"."JOB_ID" "JOB_ID",
       "OEHR_EMPLOYEES"."SALARY" "SALARY",
       "OEHR_EMPLOYEES"."COMMISSION_PCT" "COMMISSION_PCT",
       "OEHR_EMPLOYEES"."MANAGER_ID" "MANAGER_ID",
       "OEHR_EMPLOYEES"."DEPARTMENT_ID" "DEPARTMENT_ID"
    FROM
       "#OWNER#"."OEHR_EMPLOYEES" "OEHR_EMPLOYEES"
    WHERE
         (lower(first_name) like '%' || lower(:P1_NAME) || '%' OR
          lower(last_name) like '%' || lower(:P1_NAME) || '%')
    AND department_id = decode(:P1_DEPT,'%null%',department_id,:P1_DEPT)
    AND manager_id = decode(:P1_MGR,'%null%',manager_id,:P1_MGR)

    Hi,
    Use this..
    SELECT
       "OEHR_EMPLOYEES"."EMPLOYEE_ID" "EMPLOYEE_ID",
       "OEHR_EMPLOYEES"."FIRST_NAME" "FIRST_NAME",
       "OEHR_EMPLOYEES"."LAST_NAME" "LAST_NAME",
       "OEHR_EMPLOYEES"."EMAIL" "EMAIL",
       "OEHR_EMPLOYEES"."PHONE_NUMBER" "PHONE_NUMBER",
       "OEHR_EMPLOYEES"."HIRE_DATE" "HIRE_DATE",
       "OEHR_EMPLOYEES"."JOB_ID" "JOB_ID",
       "OEHR_EMPLOYEES"."SALARY" "SALARY",
       "OEHR_EMPLOYEES"."COMMISSION_PCT" "COMMISSION_PCT",
       "OEHR_EMPLOYEES"."MANAGER_ID" "MANAGER_ID",
       "OEHR_EMPLOYEES"."DEPARTMENT_ID" "DEPARTMENT_ID"
    FROM
       "#OWNER#"."OEHR_EMPLOYEES" "OEHR_EMPLOYEES"
    WHERE
        (:P1_NAME IS NULL OR
            (:P1_NAME IS NOT NULL AND
                    (lower(first_name) like '%' || lower(:P1_NAME) || '%') OR
                    (lower(last_name) like '%' || lower(:P1_NAME) || '%')
        ) AND
        (:P1_DEPT IS NULL OR department_id = :P1_DEPT) AND
        (:P1_MGR IS NULL OR manager_id = :P1_MGR)

  • I have a search window on a new tab that I don't want - how do I change it to show me recently closed tabs and other options?

    When I installed the Conduit toolbar, I must have changed a setting because I now see the Conduit Apps search on a new tab rather than my former list of recently closed tabs and other options. How do I change what appears on the new tab when I ask for one to be opened?

    See:
    *https://support.mozilla.org/kb/Search+bar

  • Firefox is having a problem with Linkedin. I get the error, error in parsing value for "backgroun" and for "filter"

    When trying to send messages in linkedin, firefox takes me back to the log in screen without sending the message. On the error console it shows the error; error in parsing value for "background" and error in parsing value for "filter". What is causing this?

    Pages does not support the Apple font used for color emoji, so that behavior is normal.
    With what app are you reading the yahoo mail?  There is really no guarantee than any other email service will show the special Apple font involved.
    You should have no problem putting emoji directly into Mail or Text edit via drag drop from the Character Viewer as shown below.
    You should also be able to upload graphics here easily by clicking on the camera icon.  My email is tom at bluesky dot org.

  • CALCULATE_TAX_ITEM gives wrong values for Scess and HScess in PO Print

    Dear Friends,
    I am working with PO Print in smartforms hare the Fm CALCULATE_TAX_ITEM is gives wrong values for Scess and HEcess if I put the Gate pass (Basic Excise Duty) Manually.
    And one more Issue is as if I check any line item condition taxes than imediatly when I see the print the all line items Scee and HEcess displays same which I have saw.
    If there is a single line item in PO than there is no issue any way.
    kindly suggest to resolve the issue.
    Regards,
    D Tarun Kumar

    Hi,
    I had the same issue, that taxes on invoice tab of PO was not printed correctly on PO form by calling CALCULATE_TAX_ITEM.
    If you want to have the same tax value as komp-mwsbp, that use following form routine call before FB CALCULATE_TAX_ITEM.
    perform j_1b_save_tax_fields(saplmepo) using ekko ekpo lfa1.
    This is used in transaction me23n also.
    Kind regards,
    Tülay

  • PriceSlider content item always having a fixed value for 'sliderMax' and 'sliderMax'

    Hi,
    I am using ATG-10.2
    I am trying to create the navigation with invoke assembler call (to contentCollection '/content/Shared/Guided Navigation') Everything goes well, except the price slider.
    sliderMin and sliderMax values are always having fixed values, even though there are products with higher prices than this range.
    Ex: This is how my content item looks like
    {enabled=true, @type=PriceSlider, name=Price, filterCrumb=com.endeca.infront.cartridge.model.RangeFilterBreadcrumb@d45e275, sliderMax=1500, sliderMin=0, priceProperty=sku.activePrice}
    But in this search result, there are product which have prices even beyond 10,000
    I hope that the properties I am accessing are correct (contentItem.sliderMin and contentItem.sliderMax).
    Does anyone has seen this before??
    Any solution to overcome this issue. ??
    NOTE: See the attached images here.
    https://qa.endecacommunity.com/questions/2429/priceslider-content-item-always-having-a-fixed-value-for-slidermax-and-sli…

    If you want to get better help post a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html].
    Most of the code you posted is not relevant to your question/problem.
    Also you shouldn't name a JTextArea object jDescrLabel ?
    That's confusing for someone else reading your code.
    Why not use jDescrTextArea ?

  • How to know the right value for SHMMAX and SHMALL for ia64 memory 32Gb

    Dear all,
    I want to install Oracle database 10g R2 on RHEL 5 ia64.
    Here the server specification :
    Proc : itanium64 ( montecito )
    Mem : 32Gb
    # getconf PAGE_SIZE = 16384
    Metalink says, that SHMMAX should be half of physical memory and SHMALL = SHMMAX / PAGE_SIZE.
    kernel.shmmax = 17179869184
    kernel.shmall = 1048576
    My Question is this is right value for SHMMAX and SHMALL on my server..??
    Thank you

    if shmmax is half the ram then what should be sga
    sga size should anyhow should be less then shmmax ,means we cannot increase sga size more than half the ram
    then how ROT for SGA that should be 70% of RAM hold good

  • How to set value for trim and bleed using jsx script?

    I have tried using bleedoffsetRect but somehow it is not working. Can anybody please help me on how to set value for trim and bleed using jsx script? Any example will be highly appreciated.
    Following is the code I am trying with:
    var _saveName = new File ( root_path +_strFileName+".pdf");
        var _saveOpts = new PDFSaveOptions();
        _saveOpts.printerResolution = 300; 
        var bleedarray = new Array();
         bleedarray[0] =9.00;
         bleedarray[1]=9.00;
         bleedarray[2]=9.00;
         bleedarray[3]=9.00;    
        _saveOpts.bleedOffsetRect = bleedarray;

    I would expect although I've not actually tried this for the bleed off set box to be larger than the artbaord and the first two values to be negative or 0…
    var bleedarray = new Array(-9,-9,artboard.width+9,artboard.height+9);
    Where 'artboard.width' & 'artboard.height' you will have calculated from your file. An Array(9,9,9,9); would not constitute any boxes bounds.

  • The select function in Pages and other apps gets stuck and the cursor will not move. What do I do?

    The select function in Pages and other apps gets stuck when I touch a word and the cursor will not move. What is the answer for this problem?

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

Maybe you are looking for

  • Read Out Loud in a different language?

    Is it possible to use the Read Out Loud option in a differente language (from English and Spanish) such as Portuguese? How? Thank you

  • Dell Printers with OSX and Apple iBook G4

    I recently made the switch from a desktop Dell to an Apple notebook. I have not been able to configure my printer with my new Mac. When I try to setup the printer, there is a huge list of possible printer manufacturers, but no Dell. Are Dell printers

  • IPad, 16:9

    Why iPad Air not be 16:9 like iPhone5? It's not perfect when watching the movie It makes the screen smaller Future, is it possible with the next model?

  • Black lines through .pdf images

    I'm using Word 2007 and Adobe Pro X.  The figures I insert into my Word file are .pdf's that have been converted to .tiff or .png files.  When I create a .pdf directly from my Word file, my figures end up with thick black lines running through them. 

  • IW32 - Total planned cost value

    Hi All,    Can you one of you tell how to get the Total planned cost(i.e. KKBCS_OUT- PLANKOST_G this value is calculated and displayed dynamically in another ALV list of same IW32 transaction when we go to Cost Tab and click on button Rep plan/Act.)