Cannot get first record of item

Hi ALL,
what is the step one should take to retrieve the item's values in a record within a blk (blk is a detail blk with multiple record. The record should also be the topmost one (ie the first record)

Thanks
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Erike:
You can use the FIRST_RECORD built-in to navigate to the first record in the block's list of records. Then you can retrieve the items value e.g
FIRST_RECORD;
VAR1 := :BLK1.ITEM1;
Regards<HR></BLOCKQUOTE>
null

Similar Messages

  • Cannot get more than 8 item in list component

    Hi,
    I can't get more than 8 items in list component using getItemAt(), it returns null. I will search more for this but no result.
    Please Help me here to move to next step.
    Thanks
    Sureshkumar G

    If you're asking if you can overall, yes you can:
    http://help.adobe.com/en_US/as3/components/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7f41.html
    If you're asking if you can do this in the same context, off-screen, no you still get the same error as the .enabled property.
    I hate to throw a hunch but I feel as though Adobe is employing something I'm used to in native iOS programming (Apple Devices). In lists they have something called "dequeue". It's the reason an extremely long list scrolls smoothly. What it does is render ONLY the rows that are in view. When a row is about to scroll off view it deallocates it from memory and then recreates the next row. They do this so you only ever have the current amount of viewable rows in memory and it speeds up scrolling. Although, I can make property changes to items in an iOS list that's off-screen so they don't have this issue ;(.  Just food for thought.
    I'd submit it to the bugbase and see what Adobe states. They may say they intend you to get the item in view, alter it and then go back to your previous position. That would be silly but at most I can tell you I definitely get errors trying to access an element outside my view. They're probably not used to items needing visual toggles when you can't even see them.
    edit:
    On a further note I tried the scrollToIndex() method, tried to disable, that much worked fine. The second I then scrolled back to the previously selected index the list screwed up.
    I even daisy chained functions a second apart (30 frames worth of wait). I scrolled down and that worked so I waited 1 second. I disabled the visible item I wanted to and that worked so I waited another second. I scrollToIndex(0) to get back to the top of the list, the list blew up. Random items (several items) were disabled and the one that I explicitly disabled was enabled.

  • Data Merge: Cannot get multiple records per page

    I am working with a client who is trying to do a directory in Indesign. There are about 1,800 people with information like address, title, employer, phone, etc. This info is on an Excel spread sheet. I made a text, tab delimited and a CSV file from the spreadsheet. I set up a two column text box on each page and want these entries to fill the columns. I am only able to get one person's information per page. Multiple records per page yields no different result. I also had the multiple records option grayed out on a couple tries. I have tried this many times, even tried setting up a simple spread sheet with 9 items. No luck. HELP! I'm brand new to this feature.
    Chris

    the data merge function in indesign doesn't make "next record" merges  like word does, but instead merges to fields within fixed text boxes, so  one frame = one data merge result. when doing mailing labels in word,  there is a field called "next record" which then calls in the next piece  of information.
    the "next record" field is a vital field which indesign doesn't have and  i'd like… but that doesn't answer your question. i can see four ways  of doing what you want to do:
    1) do a mail merge in word and use the "catalog" feature and do the  merge in word. format the word file appropriately using stylesheets, and  once the merge is made, save the file and close it. THEN, place the  file in indesign and then change the imported stylesheets into something  which resembles more like what you want.
    2) use indesign's data merge but make sure that multiple record  layout is selected in the first dialog box when creating merged  document; and that when previewing the records, the records appear to be  in one column (even though they are still in separate text frames).  merge the document, and in the new document, select all the text frames  in the page and then run the MergeTextframes_ID.jsx script which can be  found at http://ajarproductions.com/blo…..-indesign/ .this  will have to be done page by page and then rethreaded each page, but  it's a workaround
    3) if the data in the datamerge is a csv, convert the csv to xml. if  the csv is small (less than 100K) there is a converter online where the  contents of the csv is copied into the converter. it is at http://www.creativyst.com/Prod/15/ . The next step is complicated and needs some knowledge of XML. my  advice is to get hold of a book called "Designer's Guide to Adobe   InDesign and XML" by James Maivald, and specifically read chapter seven  and base your merge on this.
    4) visit the third party providers link within the indesign page of the adobe site and have a look at products marketed there... i think teacup software and cacidi software sell products which do more advanced merges within indesign. they're not free though but are designed to handle big catalogues.
    hope that helps.
    colly

  • How to get First record in a table

    Hi,
    I have created a table, at a time 20 records are displayed in the table.
    When the 21-40 records are displayed in the table, and the page is refreshed.. then first 20 records are displayed.
    How can I display the current records i.e., 21-40 records when I refresh the page?
    Please give me a solution for this.
    Thanks.

    Are you talking about the page refresh through OAF code or the refresh button?
    The logic you need to follow is to make sure that you maintain the state of the VO which will maintain the pointer to rows.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Cannot get a recording signal for acoustic guitar thru Mbox 2. All cords, batteries, etc are checked and good.

    Done this a million times. Today it decides to ignore the input. Done all the usual checks in system preferences, batteries, cords, rebooted, etc.

    Thanks for the help mate, just gave the speed tester another bash and managed to get something back.....As predicted, results werent exactly brilliant....
    FAQ
    Test1 comprises of two tests
    1. Best Effort Test: -provides background information.
    Download Speed
    55 Kbps
    0 Kbps
    250 Kbps
    Max Achievable Speed
     Download speedachieved during the test was - 55 Kbps
     For your connection, the acceptable range of speedsis 100-250 Kbps.
     Additional Information:
     Your DSL Connection Rate :287 Kbps(DOWN-STREAM), 440 Kbps(UP-STREAM)
     IP Profile for your line is - 135 Kbps
    The throughput of Best Efforts (BE) classes achieved during the test is - 2.17:4.67:93.87 (SBE:NBEBE)
    These figures represent the ratio while sententiously passing Sub BE, Normal BE and Priority BE marked traffic.
    The results of this test will vary depending on the way your ISP has decided to use these traffic classes.
    2. Upstream Test: -provides background information.
    Upload Speed
    259 Kbps
    0 Kbps
    440 Kbps
    Max Achievable Speed
    >Upload speed achieved during the test was - 259 Kbps
     Additional Information:
     Upstream Rate IP profile on your line is - 440 Kbps
    This test was not conclusive and further testing is required.This might be useful for your ISP to investigate the fault.

  • How to get Value of a item of first record when current record is second

    How to get Value of a item of first record when current record is second in Form6i ?
    get_item_instance_property dose not allow to get value.

    Gerd,
    You're right, there are several other triggers that must be coded, but I was responding to Steve's statement about Inserting or deleting records from the multi-record block. For the record, I use the following to manage a Record Group:
    * When-New-Block-Instance - Initialize the RG
    * block Post-Query - populate the RG
    * When-Create-Record - add new record to RG
    * When-Remove-Record - remove record from RG
    * block When-New-Item-Instance - capture previous value of the item or row
    * When-Validate-Item - Item specific Insert, Update, Delete of values in the RG
    There are a few other places as well, but these are the minimum. It might seem like a lot of code, but then again, I don't use this solution for every multi-line block. Like all tools, you use the right tool for the job. :-)
    Craig...

  • Cannot get the parameter from a HTML page at the first time

    Hi everyone,
    I have a html page with <input name="username" ...>, and the submit action is a url to my JSF web application. In the start page of the JSF webapp, I use following code to get value of username.
    FacesContext facesContext = javax.faces.context.FacesContext.getCurrentInstance();
    String userName = (String)facesContext.getExternalContext().getRequestParameterMap().get("username");
    However, I cannot get it at the first time. The strange thing is if i click "refresh" button, the value of username is shown up on my page.
    Why? and How to solve it?
    Thanks in advance,

    Hi,
    Are you putting this code in the public void preprocess() method?
    Check out
    http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/app_model.html
    The assumption is that Creator is being used.

  • I cannot get my ipod touch or iphone to be recognized by Itunes on my mac mini. Only when i download itunes each time afresh, will it show up the first time. Then these devices will not be recognized at other times. Is it because i am not uninstalling it

    I cannot get my ipod touch or iphone to be recognized by Itunes on my mac mini. Only when i download itunes each time afresh, will it show up the first time. Then these devices will not be recognized subsequently. Is it because i am not uninstalling itunes before I download it? Surely this is a basic thing, ie that my devices need to recognize each other?

    After you dry the iPod:
    How to fix a wet iPod or iPhone | eHow.comfix-wet-ipod-iphone.html
    Connect the iPod to a charging source overnight and then try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       
    If iTunses can see the iPod you can backup the iPod
    iOS: How to back up
    http://support.apple.com/kb/HT1766and copy media from the iPod
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
    If iTunes does not see the iPod then its contents are lost

  • I have an app update on my phone through the app store, but i dont have that app and when i hit update it says the item is no longer available for sale,, but i cannot get rid of the little 1 at the corner of the app store app,, how can i get rid of it

    i have an app update on my phone through the app store, but i dont have that app and when i hit update it says the item is no longer available for sale,, but i cannot get rid of the little 1 at the corner of the app store app,, how can i get rid of it,, i have iphone 5

    You installed a hacked app, originally from the Mac App Store. It contains the receipt for a different app, downloaded using an account that you don't control. You need to identify and remove the hacked app.
    Important: The app you need to remove is not necessarily the one named in the App Store notice. For example, if the App Store says you need to update "Twitter," the hacked app may be "Angry Birds" or something else entirely. Don't make any assumptions about which app you're looking for. To find it, you have to carry out a systematic search.
    Triple-click anywhere in the line of text below on this page to select it:
    kMDItemAppStoreHasReceipt=1
    Copy the selected text to the Clipboard (command-C).
    In the Finder, press the key combination command-F to open a search window, or select
    File ▹ Find
    from the menu bar. In the search window, select
    Search: This Mac
    from the row of tokens below the toolbar. Below that is a popup menu initially showing Kind. From that menu, select  Other...
    A sheet will drop down. In that sheet, select Raw Query and click OK or press return.
    Now there will be a text box to the right of popup menu. Click in that box and paste (command-V).
    The search window will show all the App Store products you've installed. Compare those search results with the list of your purchases from the App Store. To see the complete list, you may need to unhide hidden purchases. If any apps were download from the App Store using other Apple ID accounts that you control, sign in to the store under each of those ID's and check the purchases.
    At least one of the items listed in the search window is not among your purchases in the App Store. Move each such item to the Trash. You may be prompted for your administrator password. Empty the Trash.
    Log out and log back in. Test.

  • I have a new unlocked iphone3gs. I cannot get the video to work. When I try to record video I am not offered any options. It films until I tap the red button, but then everything just freezes. I

    I have a new (from Apple) unlocked iPhone3gs. I cannot get the video recorder to work. When I take video I am not offered any options at the start or the end of filming. The screen freezes when I hit the red stop button. But that's it. I have to hit the home button to get out of that. And none of the v-recordings can be found on my phone anywhere.
    Also I'm having trouble with Bluetooth. My Mac says it's paired with the phone, but the phone says not; even though It accepts the pairing code from the Mac. I'm getting very frustrated with these problems. I came on here to find the user manuel, but can only find the fingertip manuel and the product license manuel. Both of which I have in hard copy.
    And the most annoying thing is the sound on the calls. I can hardly hear the caller.
    Anyone got any helpful advice?
    Thanks, Elizabeth

    Robert or Elizabeth...
    Sync media using iTunes, not Bluetooth.
    When the screen freezes on the iPhone, try "resetting".
    Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.
    And this link is for the iPhone 3GS user guide >  http://manuals.info.apple.com/en_US/iPhone_iOS3.1_User_Guide.pdf
    Main iPhone Support >  Apple - Support - iPhone
    Serously doubt this is a "new" iPhone 3GS. More likely refurbished.

  • How to get first 10 records from the database using JSP

    i want ot get first 10 records from the database and then after clicking the next button in the page,it must show the next precceding 10 records from the database.i am getting the first 10 records .but how to post to the same page to get another preceeding 10 record.

    Search the forums - this has been asked a lot. I usually recommend experimenting with tops and order bys until you're satisfied.
    Kind regards,
      Levi

  • How to get first item of hashMap w/out knowing the key

    Hi
    can someone tell me if there is a way to get first item from a hashMap when you dont know what the key is. as the get method expects a defined 'key'
    reason I am asking this:
    I am using struts 2 UI <s:radio> tag. this tag takes a hashmap and creates radio maps. it has a 'value' attribute and if something is passed to this attribute then that radio button is checked by default. the list that contains radio buttons is created dynamically so i dont know what is actually in the hashMap key's. but i do know that key's are string.
    so just wondering if there is a way to get first item from a hashmap without knowing the key...

    thanks for the quick reply.
    posted in java forums because thought it was a java API/workaround question. gave a little history because i didnt want people to start questioning my use of HashMap for this purpose..
    anywhose..i've found a workaround.
    If someone has a similar problem:
    as the hashmap is being populated dynamically....set a String member of class to contain the first key thats being put in the hashmap. then have struts tag pick up that value.
    also, through your post and reading hashMap api...its usefull to know that hasMaps do not gurantee the order of elements in it. So now I am using a TreeMap.
    Thanks

  • I use iCloud to store my contacts but in Outlook it only sorts by first name. Although in iCloud it can be set to sort by last name, I cannot get it to do that in Outlook.

    I use iCloud to store my contacts, but in Outlook it only sorts by first name. Although in iCloud it can be set to sort by last name, I cannot get it to do that in Outlook. I have thousands of contacts and cannot sort though all the first names to find one.How do I get it to sort by last name in Outlook?

    By reading this:
    http://office.microsoft.com/en-us/outlook-help/display-the-contacts-list-in-last name-firstname-format-HP001034286.aspx

  • My first gen Ipod went in the wash and now I cannot get wifi on it.

    Well my first generation ipod touch accidently went in the wash, and now when its working again I cannot get any wifi on it. I have tried reset the network settings and the ipod my still no luck.

    Maybe:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    One user reported that placing the iPod in the freezer fixed the problem. A trick that works frequently with iPhones:
    Settings > AirPlane Mode ON, Do Not Disturb ON
    Power down and wait 5-10 minutes
    Power up
    Settings > AirPlane Mode OFF, Do Not Disturb OFF
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar
    Otherwise:
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.             
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                              
    I would say it is not worth getting it fixed

  • I am using the trial version of CC and cannot get the auto blend layers working despite following many videos on youtube etc. I have selected all layers but no matter which order I select etc all I get is an output of the first file in the stack - help!!

    I am using the trial version of CC and cannot get the auto blend layers working despite following many videos on youtube etc. I have selected all layers but no matter which order I select etc all I get is an output of the first file in the stack - help!!

    <moved from Adobe Creative Cloud to Photoshop General Discussion>

Maybe you are looking for