Anyone using cfselect bind for 3 related fields?

I have a form that a user needs to select the office from
which will then populate the activity fields in the next drop down
box and then he will pick the activity which would select the
various dates that activity is run on. He would then pick from the
date in the third box and submit. Unfortunatly, I'm only able to
get 2 of the cfselect tags to bind correctly. Or if I could display
two items in one box that would be a good workaround but that fails
also. I've looked all over the livedocs and forums and haven't
found using 3 or more. The error I get when I run the code with 3
on the page is "Error invoking CFC /cmpts.cfc: Error executing
database query." and also "Error invoking CFC/cmpts.cfc: The org_ID
argument passed to the getCategoryArg function is not of type
numeric." -It is numeric but I tried changing it anyway to "array",
and "any" but then the error message reads "not of type array". If
I comment out the last one it runs fine or if I comment out the
first one (I'm removing the arguments passed in the cmpts.cfc code
as well) and this runs fine. Below is my code. (Oh and even though
the return value is data for all three in the cfc- using the same
name works for 2 and I copied this straight from the livedocs so I
didn't think that was the issue)
Any suggestions? Thanks, Wendy
<cfform name="test" method="POST"
action="dumptest.cfm">
<cfselect name="officeId"
bind="cfc:cmpts.getOffices()"
display="shortname"
value="org_id"
bindonload="true" />
<!---based on the office select the activity --->
<cfselect name="Activity"
bind="cfc:cmpts.getCategoryArg({officeId})"
display="title"
value="id"
/>
<!--- based on activity select the date --->
<cfselect name="date"
bind="cfc:cmpts.getdate({Activity})"
display="date"
value="date" />
<input type="Submit" value="Submit">
</cfform>
<!--- cmpts.cfc below
------------------------------------------>
<cfcomponent>
<cffunction name="getOffices" access="remote"
returntype="query" hint="Get's the Officename and id">
<cfset var data="">
<cfquery datasource="dsn1" name="data">
select org_id,shortname
from all_offices
Where org_id <> ''
order by shortname
</cfquery>
<cfreturn data>
</cffunction>
<cffunction name="getCategoryArg" access="remote"
returntype="query" hint="Get's the category titles">
<cfargument name="org_id" type="numeric"
required="Yes">
<cfset var data="">
<cfquery datasource="dsn" name="data">
Select a.id,a.title,b.org_id,convert(varchar,b.date,101) AS
date
from km_activities a,km_work b
Where b.org_id= '#trim(ARGUMENTS.org_id)#'
and a.id =b.act_id
Order by a.id
</cfquery>
<cfreturn data>
</cffunction>
<cffunction name="getdate" access="remote"
returntype="query" hint="Get date of activities to update">
<cfargument name="id" type="any" required="Yes">
<cfset var data="">
<cfquery datasource="dsn" name="data">
Select convert(varchar,date,101) AS date,office_id,act_id
from km_work
Where act_id = '#trim(ARGUMENTS.id)#'
Order by date
</cfquery>
<cfreturn data>
</cffunction>
</cfcomponent>

Hello
This file is created when a folder or project is downloaded from the Dimensions Server using JDeveloper. If you create a dimensions connection and then using the versioning navigator (View -> Team -> Version Navigator) open the connection and navigate to the folder you want to work on. Select the folder and use the context menu "Download" to download the folder.
Dave

Similar Messages

  • Anyone used BAPI/FM for LT03 create transfer order

    Hi all,
    Has anyone used BAPI/FM for <b>LT03</b> create transfer order based on delivery.
    the BAPI/FM should accept <b>multiple line items for individual storage units</b>.
    thanks,
    Subba

    thanks Amit....
    But it would be helpful to know the usage of this FM....and if anyone has used in their program....
    thanks,
    Subba

  • Anyone using Photoshop Elements for Fashion Design

    Hi,
    I'm looking for software to help me in the Fashion Design Industry. I want to use it for my sketches.   I am a beginner when it comes to Fashion Design and have no experience using Photoshop software.  I had read somewhere that Photoshop Elements is a less expensive version of Photoshop.  I read that it does 90% of what Photoshop does without the higher end pre -press printing capabilities.  I also read that there is a book that will help you with the other 10% to achieve the full Photoshop capabilities.
    1a.  I would like to know is anyone using Photoshop Elements for Fashion Design?
    1b.  If yes, please explain in details what exactly are you using it for?
    2a.  Is there more than one version of Photoshop Elements?
    2b.  If so, what version do you recommend?
    3.   How easy is it to use?
    4.  Do you know of any books you can recommend that will help me with using the software for fashion design?
    5.  If you don't feel Photoshop Elements is the best choice, then what other software would you recommend?
    Thanks

    I've never used PSE for fashion design, but there is only one flavor of elements, not a variety of different versions. I would wonder about using it for this because it could make a lot of difference if you need to create output in CMYK form (for print) or to softproof (neither of which is available in PSE). You also can't create composite layers in Elements.
    I like Elements a lot, but I would not say it's 90% of Photoshop, more like 70% and I would expect that people would use Illustrator rather than PS for most things to do with creating illustrations. Also, there is no book that can make PSE into PS, although you can extend what it can do, but Adobe has deliberately crippled certain features in PSE.
    I would say we need to know what you need a program to do to be able to give you any useful kind of advice. If you need to be able to draw vectors and paths, PSE is not a good choice. If you just need to sketch, it's fine.

  • Has anyone used Macspeech Scribe for Mac?  It is similar to Dragon.

    Has anyone used Macspeech Scribe for Mac?  It is similar to Dragon.  Does it work and is it reliable?

    This post by Karsten shows several of the major alternatives, including a free one.
    I have no experiece good or bad with the one you mention.
    https://discussions.apple.com/docs/DOC-3711

  • Anyone using Select Enterprise for Forte?

    Subject says it all. We're contemplating using eith Select or Rational
    Rose.
    Thanks in advance
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Raymond captured my thoughts exactly. We were Select customers too and glad
    to be Rational customers now.
    -Martin
    Raymond Blum <[email protected]> on 03/04/99 11:30:56 PM
    Please respond to Raymond Blum <[email protected]>
    Reom
    To: [email protected], [email protected],
    [email protected], [email protected]
    cc:
    Subject: RE: Anyone using Select Enterprise for Forte?
    We were Select customers for a year and have switched to Rose. Select was
    both a buggy tool and a buggier company! Their upgrade to V6 completely
    changed the server requirements, pulling the rug out from under our feet.
    Features we were promised were not in the releases we were sent...
    Rose has been a godsend; the product has it's shortcomings but it is a level
    above Select in both functionality & robustness.
    The 3 times I've had to contact Rational tech support, they've been able to
    provide me with a solution. Select's tech support were unable to get their own
    product to work as advertised. ---Raymond
    We have been using Select for over 2 years but have kept a watchful eye on
    Rationals offering.
    They seem to leap frog each other and have various pros and cons. My
    personal bias is currently towards Rational Rose but you'll have to choose
    based upon your own needs.
    If you let me know what you need I can let you know what I think each tool
    offers.
    Cheers,
    Jez
    Jez Sygrove
    Application Architect
    PanCredit
    PS* Standard disclaimer: The opinions I express are not necessarily those of
    my employer.
    From: Robinson, Richard[SMTP:[email protected]]
    Reply To: Robinson, Richard
    Sent: 03 March 1999 18:29
    To: '[email protected]'
    Subject: Anyone using Select Enterprise for Forte?
    Subject says it all. We're contemplating using eith Select or RationalRose.
    Thanks in advance-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    Sent from my PalmPilot.
    The best thing since the Mac Plus!
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Parameter Binding for BLOB field

    I would like to find out how I can bind a BLOB field as one of the parameters to an INSERT statement to be passed to an ExecuteSQL call?
    I was trying to use the Add function for BLOB field of the OParameterCollection object, but was having problem instantiating the BLOB object itself - getting object not opened error!?!
    Would appreciate any advice!
    Thanks,
    John.

    Hi Karuna,
    Breakpoint's answer is a bit misleading - there's no need for the parameter ID to appear in SE11. All you need is logic on your screen to utilize the parameter ID. You have two options for that: Either use the field settings in the screen painter (i.e. check the SET field and GET field checkboxes, at least Get field would be required - just seeing the parameter ID is not sufficient) or add some coding to your PBO coding to retrieve upon startup of the screen the value via GET PARAMETER statement (requiring also possibly a SET PARAMETER in the PAI for the field if you want to set it).
    Most likely the first approach is what you want. The second is more flexible, but also needs more care to avoid unexpected behavior...
    Cheers, harald

  • How to use select statement for one field

    I want to fetch the data from table and only one field  , the below code i written is correct or not , because only for one field i used endselct  if i am not giving endselect it is  showing error. Please suggest me.
    DATA : SBELN TYPE VBAK-VBELN.
    parameters : s_vbeln type vbak-vbeln.
    select vbeln from vbak into sbeln
    where vbeln = P_VBELN.
    endselect.

    Hi ,
    As because you want single field but not single record so SELECT  SINGLE is not correct .
    You need to create a internal table with the field of VBELN.
    Then you need to fetch the records from the VBELN field of table VBAK.
    Try this code --
    DATA : t_itab like table of VBAK-VBELN.
    parameters : s_vbeln type vbak-vbeln.
    select vbeln from vbak into table t_itab
    where vbeln = s_VBELN.
    Regards
    Pinaki

  • Does anyone use Framwork POs for WBS and Asset management.

    We have had issues before with trying to use Framework POs for Assets.  I wanted to know, does anyone out there use the Framework PO for the creation of Assets with charges going to WBS elements?  Do you track service charges as well as material charges that are purchsed for Assets?

    For PO, WBS, Asset frame work below is the sample
    Create WBS which manage AUC
    Example you will create a clinic,
    Create Project - [Project Clinic]
    Create WBS under the Project Clinic - [Clinic Expense]
    Create AUC under WBS Clinic Expense - [Clinic under Construction]
    Let say you purchase Paint for the clinic - create a PO and use account assignment WBS [Clinic Expense] (e.g. 1000 USD)
    Let say you purchase Wood for the clinic - create a PO and use account assignment WBS [Clinic Expense] (e.g. 2000 USD)
    During month end you can settle the amount to AUC (tcocde CJ88 - Settlement type - Automatic)
    All charges to WBS will go to AUC
    Once construction of clinic is finished and is ready to use, you need to settle all the amount from WBS to AUC (through settlement)
    Then create Fixed Asset [Clinic Building]
    Then settele the AUC [Clinic under Construction] charges to Fixed Asset [Clinic Building] through CJ88 settlement type - Final settlement
    Thanks!
    Jhero

  • Using f4 help for table field in module-pool

    Hi All,
    I am using a table-control in module pool programing.
    Fields are coming from MAKT table.
    I am trrying to provide a functinality so that when choose
    a material no using f4 help for MAKT-MATNR field
    the corresponding value of MAKT-MAKTX should
    appear itself in corresponding table-control field.
    It's not happening right now.
    How I can create that functionality??
    Thanx in advance

    Hi
    Please write the custom F4 Help logic for material number in the block process on value-request. in PAI
    process on value-request.
    Search Help For UOM
      field wa_screen_fields-material  module Material_help.

  • Fill table using different statements for each field (newbie question)

    Hi all, I'm about to fill table table1 (field1, field2, etc.) using different statements (and maybe variables) for each field.
    My statements are too different to combine them into one query, but my example is simple:
    statement 1:
    SELECT ttt AS field1 FROM dual
    statement 2:
    SELECT yyy AS field2 FROM dual
    Each statement returns one value. Maybe I need some variable for each value, so var_field1 = field1, var_field2 = field2, etc.
    As a result I have to fill table table1 using my variables, so it must be some procedure.
    I know I can do it using one statement below, but I have more than 100 queries, so they should be executed one by one.
    with t1 as(
    select (SELECT 'ttt' FROM dual) field1, (SELECT 'yyy' FROM dual) field2 from dual
    select * from t1;
    Could you please show me some example, how this procedure should be written?
    Thanks ahead.

    This hasn't got anything to do with Oracle Reports, but here we go anyway. Your query can simply be:
    with t1 as(
    select 'ttt' field1, 'yyy' field2 from dual
    select * from t1;
    FIE FIE
    ttt yyy
    1 row selected.But maybe your example was an over simplification of your problem.

  • Using Like Operator For Parameter Fields

    Hi All,
    I have been figuring around this for few days, appreciated anyone know this could assit me
    I have a report which having a mobile no parameter fields.
    In my database, my mobile no was not a clean entry.
    For eg, a standard mobile number from Malaysia was 60126143331.
    1) 60 - indicate country code (MYS)
    2) 12 - indicate mobile operator
    3) 6143331 - indicate phone number
    Usually, peoples will entry it as 6012-6143331 or 012-6143331 or 0126143331 or 60126143331. In my CR report, i have a static mobile no selection. Currently, my filter selection will be as below:
    {pax.mobile_no} = {?p_mobileno}
    any possible to change it to like? meaning to say, if user enter 012-6143331 it will know that this was 6012-6143331 and the records will be selected into the report.
    Appreciated anyone know this could assits.
    Thanks in advance.
    Regards,
    CK

    Hi,
    tq for ur prompt reply.
    D value in my database r not fix, some mobile no could b 7 digits some could b up to 12 digits. But I jz want user to enter mobile no in 10 digits only. Example, mobile no in db wa 60126661233. However, user input in parameter selection could only 0126661233 without 6. In some situation if mobile no in db was 6012-6661233, user input willb only 0126661233 n this input will b match with data in db using like operator.
    I m wondering can this b archieve in cr?
    Tq
    regards,
    ck

  • How to use BAPI extension for updating field which is not in BAPI stracture

    I am doing a conversion for control cycle create. The data is maintained in DB Table "PKHD". i have to update 12 fields threre through BAPI "BAPI_KANBANCC_CREATE". there are 11 fields in BAPI structure. but 1 field called"BERKZ" is not there . How can i update it through EXTENSION.

    Hi ,
    in the bapi extension check one structure with name BAPIPAREX will available..
    you need to pass custom structure in that..
    ands conactenate 12 field of your structure and pass in to value1 in bapirex structure and append.
    go to se11 and enter >bapiparex> check where it is used -->see the zprogram and check how it is used the add your code according to that..
    Regards,
    Prabhudas

  • Using one prompt for multiple fields in a report

    We are using Oracle CRM on Demand, Release 16.
    I have a report I am building that involves four different date fields. I'd like to give the user the ability to enter a date range for the date fields via a Prompt when the report executes. But the date range would be the same for all four date fields. Is there a way to capture the date range in one prompt, but use that same range in all four date fields in the report?

    I recommend to use two dashboard prompts, one for each date field of your range and each will set a presentation variable.
    Then use the FILTER metric function and reference the presentation variable.
    Best Regards,
    Christian

  • Anyone using an iMac for Photoshop?

    If so, what are you using as a scratch disk?
    The reason I ask is that I hear a lot of photographers are now using iMacs to do their image editing in Photoshop. The new iMacs are almost as fast as the old-design Mac Pro's and a lot less expensive than the upcoming "black trash can" Mac Pro.
    But knowing that in order to run decent, Photoshop requires a scratch disk on a separate HDD or SDD than the application drive, I hesitate to buy a new iMac. Any suggestions? Thanks.

    Auroria wrote:
    crh24 wrote:
    I use Photoshop CS6 on my late 2012 iMac with 32GB DRAM.  Runs fine for me and I have the scratch disk set to a fast Thunderbolt drive.
    <...>
    I am just wondering about the status of the scratch disk for an iMac -- being on an external drive vs. an internal. In your case the 32Gb RAM, graphics and external T-bolt combines well to get the job done.
    I have had minimal response over at Adobe forum so far. They tend to be rather Windows-centric there, having done away with the Mac Photoshop forum. Thanks.
    I've always made it a point to purchase the top of the line graphics card when I've purchased an iMac.  It is the one thing that is involved in giving maximum performance to Photoshop and other video related apps that cannot be updated later.
    I've found that with the 3TB Fusion drive I really don't need to use a secondary drive for the cache.  I currently set the cache to the internal hard drive and I keep all of my photos on the external T-bolt drive and it seems to run very smoothly but I didn't notice a slowdown when the cache and photos were on two different external T-bolt drives.

  • Variables used  as values for Security fields.

    Gurus,
    Since we are all friends, let me show my ignorance.
    There are variables that con be used instead of actual values in security fields, $USER being one of them.
    We use $USER as the value for field BTCUNAME for object S_BTCH_NAM, to indicate that the user ID of the person logged in, is the value to be used.
    Are there any more?
    If so, where can I find information about them?
    This would be for an ERP system, not BI.
    Thanks
    Juan

    > Since we are all friends, let me show my ignorance.
    We are all in the same boat
    > There are variables that con be used instead of actual values in security fields, $USER being one of them.
    > We use $USER as the value for field BTCUNAME for object S_BTCH_NAM, to indicate that the user ID of the person logged in, is the value to be used.
    This is not correct. Please see [SAP Note 101146|https://service.sap.com/sap/support/notes/101146]
    > Are there any more?
    Plenty..see [SAP Note 119147|https://service.sap.com/sap/support/notes/119147] for a tricky example.
    > If so, where can I find information about them?
    [SAP Note 323817|https://service.sap.com/sap/support/notes/323817] and the last paragraph of [SAP Note 410993|https://service.sap.com/sap/support/notes/410993].
    Cheers,
    Julius

Maybe you are looking for

  • Sales order Schedule line not showing in prod. order

    Hi I am using Make-to-order production. In my production order i can able to see the sales order number, item number but not able to see the schedule line number. It is showing zero. But in table VBEP table when i checked, system gives the sales orde

  • How to start working with BPEL[SOLVED]-but someone still can help me :)

    Hello Everyone, I'm Fizzz, I'm totally new to BPEL. I don't know where to start and how to start. Right now I'm Working with JDeveloper 11g R1. I didn't go further yet but Now i have to create some BPEL Process that can be integrated to my Web Applic

  • Auto display of disclaimer to client leaving hosted websites

    we want to be able to let web clients know when they are leaving our hosted websites for other linked pages via a disclaimer. is there a Cisco product that will detect when a client is leaving one of our hosted web sites/applications and either give

  • Cancelling saving of form in preSave event

    I am performing cross field validation before saving the form (in preSave event) and want to cancel the saving of the form. I have tried returning 0, false, but nothing seems to work and the form is saved anyway. How can I cancel the saving of the fo

  • Preview application won't open anything

    Why won't preview open anything? No jpgs, no pdfs. nothing.