Control Reference by Number?

Hi,
Here's my scenario:
I have tabnavigator with 6 tabs, tabs 2-6 are disabled until
all
radiobuttongroups on previous numbered tabs are selected.
This is for a
March Madness application, so you have to pick all matchups
in round 1
before the round 2 tab is enabled, and so on.
In VB6, using a FOR loop with cnt as my variable, I can refer
to controls in
the manner of: me.controls("option" & cnt).value.
I'd like to use this same practice in Flex, but I'm not sure
how to
reference the radiobuttongroup in a FOR loop. My controls are
named
radiobuttongroup1_1, radiobuttongroup1_2 on up to 32. In the
loop, I'd like
to reference 'radiobuttongroup1_cnt'.
Could someone guide me in the proper syntax for this?
Thanks,
James

It would be helpful to see the code. But hereis a shot in the
dark. In older versions of flash you could get away with using an
"eval()" e.g. myGroup = eval("radiobuttongroup1_" + cnt). But I
don't know if that is still allowed. You could also try a bracketed
call using dot syntax, i.e. ["radiobuttongroup1_" + cnt].value. But
without seeing the code any of this could effectively be utterly
confusing and unhelpful.

Similar Messages

  • Unable to trace out the Reference Document number in commitment line item.

    Dear All,
          Kindly help me in bellow problem
    When I click the reference document no. in the line item wise display the commitment in t-code S_ALR_87013558 at that time the system open the display PR screen and the massage is displayed in the below, the Purchase document does not exist.
    Due to this reason the price capture in commitment line item is not traceable and I am not able to delete the commitment line item.
    Kindly suggest how to trace out the reference document number and delete it and release the commitment price.
    Thanks,
    Asu.

    >
    Asutosh Mahapatra wrote:
    > Dear All,
    >
    >       Kindly help me in bellow problem
    >
    >
    > When I click the reference document no. in the line item wise display the commitment in t-code S_ALR_87013558 at that time the system open the display PR screen and the massage is displayed in the below, the Purchase document does not exist.
    >
    > Due to this reason the price capture in commitment line item is not traceable and I am not able to delete the commitment line item.
    >
    > Kindly suggest how to trace out the reference document number and delete it and release the commitment price.
    >
    > Thanks,
    > Asu.
    Can you explain what is your requirement..?
    Do you want to correct the data in the report..?
    Or  it is effecting your availability control and you want to correct it..?
    Or you want to trace a deleted document..? Which is not possible...

  • Reference document number field on Invoice line item

    Can anyone please tell me , where in customization , do i define what should get copied in the reference document number field on the line item of an invoice.
    Currently in our system, credit memo request number is getting populated for a credit memo.
    Thank you for your help in advance.

    Hi,
    If you are talking about line item level, then it is called Allocation Number. At the header level, it is called Reference number.
    This is controlled using the copy control for billing - at the header level control.
    The reference number & allocation number once maintained in the configuration, will show up in the Accounting doc - header level & item level, respectively.
    For example - if the customer payment always refers to his PO number, then it really helps to use the allocation number for the accounting doc line items - which helps in clearing incoming payment faster. In this case, the reference number could be our delivery number. This is one of the examples for using both Ref & allocation #'s.
    Hope, this helps!
    S. Siva

  • Format of reference document number is invalid  Message no. 8A556

    Dear Expert,
    I have problem while executing transaction Manual Posting incoming invoice with t-code FB60. The error message shown as written above "Format of reference document number is invalid  Message no. 8A556"
    I have check the customizing on document type and number range, they are all standard SAP, nothing strange as far my concern.
    Could any one give any idea on this problem.
    Thanks in advance
    Irhasni

    Dear Experts,
    I have tried to investigate this problem but still have no solution for doc. type KR (Posting vendor invoice)
    During investigation on this problem, I did a simulation posting using document type other than KR (assign manually) either by t-cod FB60 or F-02 or F-43, I chose doc. type KA and SA, there is no error when using this doc type, it create Accounting document and Tax line item also appear.
    From the simulation I did with this problem, the  problem seems on Document type KR (default doc. type for Vendor Invoice). I suspect, it might some setting at other modul likely at MM that control the "Reference" field during document entry...  eventhough this field is not set as mandatory at OBA7, it's still saying the same error message.
    Is there anyone have any ideas about problem in document type KR?
    Thanks in advance
    Irhasni

  • Performance issues using control references in Analog control loop?

    My main vi of a tensile tester control application calls a number of sub-vi's, including a analog control loop which controls the test. The control loop must update some boolean and digital indicators and respond to user input on the front panel of the main vi during a test.
    To simplify my main vi, I moved the control loop code into a sub-vi, and used control references to access the controls and indicators on the front panel. However, this has dramatically affected my loop performance, and the loop can no longer keep up with the acquisition speed.
    Do control references always cause such a slowdown? Is there anything that I can do besides moving the code back into the main vi?
    Thank You,
    David Creech

    I have had the same problem. I have discovered other funny things about references also; some kind of memory management (or mismamagement?) is taking place behind the scenes.
    Regardless, you can often do away with the references by passing the initial state of a control or indicator into the subvi, changing it inside, and passing the altered state back to the caller. Once back in the caller you update the front panel control or indicator by using a local variable.
    One thing to watch out for if using this scenario is the dreaded race condition; this can be avoided using a state machine. Check out
    http://www.advmeas.com/goodies/statemachine.html
    for a good example. It is a shame that references behave in this way; it limits thier usefulness.
    Perhaps someo
    ne else will point out a way to utilize them more sucessfully?

  • Sort detail Check/cheque by the Reference Document Number (REGUP-XBLNR)

    Hi Experts,
    I'm an Abaper and I don't Know very much about this topic, so my question is: How can I sort the detail Chek/cheque by the Reference Document Number (Field REGUP-XBLNR)?  Now is sorted by the Document Number of the Payment Document (Field REGUP-BELNR).
    I've searched in the control program of Sapscript to print the Check/cheque but I haven't found anything about sorting the datail
    Thank you for your time and help.
    Regards.

    Hi Marco,
    You can add the feild of the cheque no via spl.feilds T.code : O7R3/OBVU ( sap  standard report  eg. FBL3N,etc).
    Select the the table payr and add the feild chect.
    After addition of the above feild,do run the program RFPOSEXTEND.
    Once you complete the above mentioned activity,when  system the will pick the checque no in FBL3N.
    Hope that  your issue wil be solved.
    If not,do revert.
    Regards

  • Control references as subVI input

    I have a subVI which accepts control references as input. But these are optional inputs. I have code in the subVI whcih uses the refernecs. I want this code to execute only if the control refernce inputs are wired from the main VI. Is there any way I can check whether the control refernce inputs were wired in the main VI? 

    You can use Not a Number\Path\Refnum from the Comparison palette or you can type cast the reference to a numeric and check if it is not equal to 0. There are probably some other ways.
    Try to take over the world!

  • Given array control reference, how do I obtain array size programatically

    If an array control reference is passed to a sub-vi, how do I obtain the current length of the array within the sub-vi?  I've tried two properties:  "NumRows", which as documented, contains the visible number of rows in the array control.  "IndexVals" contain the indices of the array element in the upper left corner of the array control.  There seem to be no methods for obtaining the current array length.  I tried changing the class of the array reference to cluster then using the "Controls[]" property... but this generated a runtime error.  What am I missing?  Thanks.
    Solved!
    Go to Solution.

    Taki1999 wrote:
    There's a lot of casting going on in your subvi.
    What is the actual use case?  There might be a way to do this which doesn't require the casting and you could work just with the reference that is passed in.
    For your method you need to wire in a strict class specifier into the To More Specific Class conversion.  I'm not sure how to make the strict class specifier.
    I can help with that but first...
    Working with arrays on unknown data types is no esy task and determining the size is a special challenge and I did just that in this Nugget that talks about using control references. This task is much easier when you know at development time what is in the array. That is where the strict type casting comes into play.
    What I would do...
    1) Make sure the contents of the array is a type def (to support data strcuture changes in the future).
    2) Go to the FP of the VI that has the array in question and drop a generic control ref control.
    3) Ctrl-copy and drag the array in question INTO the the generic ref (still working on the FP). You can tell when you find the "sweet spot" in the ref control because it will switch it appearence. See this mini-nugget for an image where the same thing can be done with que refs.
    4) Make the now strict ref a type def.
    5) Use the type-def'd ref from step #4 in the sub-VI as the proptype used by the "To More Specific...."
    After those changes you should be able to work with array in the sub-VI as if it were in the top level.
    BTW:
    Doing the above on the control in the sub-VI that brings in the ref would allow skipping the "To more Specific..."
    Have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Enter manually reference document number in Invoice Header

    Hi gurus,
    In order to keep a proper numerical sequence of invoices issued in the Company ( between those that are printed in excel and in SAP), we need to set manually a number in the SAP invoice document that we will use to print the form, and that is independent from the one assigned internally.
    What would be the best field to set this number?
    Reference number (in Header - Accounting data) would be a good choice, but seems like it is managed through copy control and can only be assigned automatically to: Customer PO #, Sales order #, Delivery #, External delivery # and current invoice #. Would it be possible to assigned it manually?
    thanks for your always valuable ideas,
    VL

    Thank you Ken for your answer,
    The thing is that we need to transfer this field to accounting, this is why t¡he best choice would be the reference document number.
    External range number is not a feasible option because it is required an internal number assignment but the one to be painted in the form and transferred to accounting has to be entered manually in the invoice header.
    It is not so easy to enter reference document number manually as it has a copy control assignment as commented in my first note.
    Any help would be very appreciated.
    Thanks,
    VL

  • Free item reference document number not populated in MIGO item screen

    Hi
    I have a requirement where in I would need to populate the reference document number in the MIGO item when I am cancelling a goods receipt in case of free items.
    In standard SAP system we know that it would only be populated when GRbased IV is ticked in PO but in free item PO this is not ticked . So was enquiring if any body knows how we could populate the reference document number at GR cancellation in MIGO item level for free items .

    Hi,
    If you mean the field MSEG-SMBLN, then it is always populated at cancellation, no matter the GR-based IV flag.
    BR
    Raf

  • Get All Controls References

    Hi all
    If somebody know how can i get all controls references of VI (including controls that founds in Tabs and Clusters). I need generic method, because i haven't information about VI (reference to VI i get only at run-time).
    Thanks, Nadav

    To include the controls on Tabs, pass the array from my previous answer into a for loop, use auto-indexing. Place a Class Specifier Constant in the loop, right click on it and set it's type to a Tab Control. Place a "To More Specific Class" function below the constant, and wire the constant into the top.
    If the control from the array that you pass in is a Tab Control, "To More Specific Class" will NOT return an error. Use a case statement and use the No Error case to expose the Tab Control properties. Return the "Pages" property (an array) and pass this into a for loop. Connect a property node to the indexed pages, then select Controls On Page to return an array of controls ON EACH PAGE. You need to set up a shift register and use build array to return all of the controls from all of the pages. Make sure you close the Page Reference.  You can concatenate the array of Tab Control Page items with your original FP Controls.
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Data acquisition with control references

    I'm a new LabView user and I would like to acquire data in a subVI and display that data in the main VI. I think that I need to use control references and refnums, but I just haven't been able to figure it out. I would GREATLY appreciate any help I could get.
    Thank you!

    From your description I would guess that the "subVI" has a loop in it that repeatedly reads the FP hardware, and the indicator is inside the loop. Right?
    The thing to do is move a lot of the logic in the subVI up to the Main VI--or add the Main's added logic to the subVI, whichever is easier. In the first case, the subVI would go away, in the second, the subVI would become the Main VI.
    If you're confused, post your code in V6.0 format and I'll show you what I mean.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Maintain default cost element in controlling area Message number FI660

    Hi All,
    We found the Down Pay Request (doc. booked by F-47)  cannot be picked up by F110. In Job log the error shown as Maintain default cost element in controlling area.
    Long text error details.
    Maintain default cost element in controlling area
    Message number FI660
    CO down payment update is active in controlling area WAPC. You  must  therefore maintain a default cost element and a revenue element  for down payments.
    Maintain the default cost element for dow payment for controlling area in the project system implementation guide.
    Kindly advice.
    Note
    In the define dafault cost elemens for down payments in Project system-OKEP  the CE for vendor and cusotmer downpayemnt  is missing

    hi srinivas
    OKEP configuration is necessary
    if while creating down payment request you have not assigned cost element
    maintain cost elements there.
    regards
    rohit

  • Is there any way to link page number with the reference page number within text in InDesign CC and CS6?

    Is there any way to link page number with the reference page number within text in InDesign CC and CS6?

    You should ask in InDesign
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Document number and reference doc number

    Hi All,
    When i post a invoice through F-22 i get a document number.
    1: Is this doc. number also called invoice number
    2: What is reference document number (XBLNR field). From where does it get its value
    What's the use of this reference doc. number and how different it is from doc. number
    Thanks in advance,
    Prashanth

    hey,
    1. It is the invoice no.
    2. The reference document number is used as a search criterion when displaying or changing documents. In correspondence, the reference document number is sometimes printed in place of the document number.
    Ex; Vendor send the invoice and it has a no. on it. You can use that no as document no and/or reference no when posting in the system. So when you do a search it is easy to pull the invoice based in this no.
    Hope this helps.
    Assign points if helpful

Maybe you are looking for

  • Usage Tracking Catalog Problem

    I am trying to setup usage tracking in OBIEE running on Windows 2008. Every time I try to open the sample catalog I receive the following error: Error initializing/loading existing Catalog: D:\UsageStatistics\UsageTracking. I have tried the file from

  • Customising a pdf form with online user input?

    I've designed a breast cancer pamphlet and saved it as a pdf. I'm looking for a way that web users can customise the headline, or add their contact info to the pamphlet. Then, after they have personalised the pdf, it is saved as a new pdf for them to

  • Resource com.sap.aii.af.svc with type service, not active on the server

    Hi Forum, in my X1 server, in rwb, it gave error: HTTP request failed. Error code: "503". Error message: "Service Unavailable [http://xyz:50000/AdapterFramework/rtc, on further analysis we find that: <b>  Application cannot be started.   Details:   c

  • ToString() and Comparable T on a JAXB generated entity class

    Hello, I'm trying to create a distributed system and therefore I have all my entity classes present in my Java EE app and hosted as a web service. The Swing frontend app autogenerate the entity classes for use in the presentation. I'm having some tro

  • Time Machine not detecting Lacie HD

    I am attempting to run Time Machine on my AEBS but when I enter the Time Machine preferences and try to Set Up the HD, my Lacie 1TB HD is not coming up in the menu as an option.