Can you limit returned rows in a loop?

Say you have 45 line elements in an invoice, how would you only show 15 per page?
I tried fixing a row height, but the loop just bust right though that. Is there a way to limit how many are returned?
Thanks,
Jeremy

I have tried this and I receive the following error -
Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
RTFProcessor setLocale: en-us
FOProcessor setData: C:\Documents and Settings\Desktop\Test.xml
FOProcessor setLocale: en-us
java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:586)
     at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:383)
     at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:201)
     at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
     at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
     at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
     at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
     at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
     at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
     at RTF2PDF.runRTFto(RTF2PDF.java:626)
     at RTF2PDF.runXDO(RTF2PDF.java:460)
     at RTF2PDF.main(RTF2PDF.java:251)
Caused by: oracle.xdo.parser.v2.XPathException: Variable not defined: 'start'.
     at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1526)
     at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:517)
     at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
     at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
     at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
     at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
     ... 16 more
Do you have any idea what I have done wrong in order to receive this error?
Thanks,
KAP

Similar Messages

  • Can you limit the list of AirPlay devices seen on the iPad if multiple devices exist?

    We are setting up a school to use iPads, Apple Tvs and Projectors in classrooms.
    - Teachers are using iPads in classrooms and we are setting up wireless projection using AirPlay.
    - Each classroom has an Airport Express with a unique WiFi name.
    - Each classroom has a projector with an Apple TV mounted on it and each Apple TV has a unique AirPlay name.
    - An iPad and the AppleTV are the only two devices on each classroom’s wifi.
    - When a teacher wants to mirror iPad to the projector, we thought they would just see their own AppleTv (projector) but, I think because the underlying school network is the same in each classroom, the teacher sees every device in the school.
    Question:  If you have multiple AirPlay devices on the same network, can you limit the list that one sees on an iPad?
    And/or: Is there a way to set up the wifi differently so the teacher is not presented with a huge list of devices?

    I wish teachers like you would leave technology you don't understand alone. The fact you were allowed to plug-in "consumer grade" access points into a enterprise network says a lot about your lack of knowledge; next you want to turn all of these low end access points into routers!? Your going configure a unique SSID on every AP setup each device to only connect to that network? Do you have any consent of wireless networks? Management?
    It's teachers like you that bring down a network. Then you insult the very IT staff that work in a very thankless position in which most of their interaction occurs when something doesn't work.

  • Can you limit the amount of data accessed per user on an AirPort Extreme?

    Can you limit the amount of data accessed per user on an AirPort Extreme?

    Your question was whether the AirPort Extreme is able to establish data limits per user.
    If you add another router that has this type of capability or install software on another router, then you will be able to establish data limits for each user. The AirPort Extreme will have no control over this.

  • In Pages can you reorder the rows in a table?

    I'm creating a song set list in a table Pages (showing song titles and composers, etc), which I want to change the order of the songs and play with the order. Is it possible to grab rows and move them around? Or are you stuck with the order that you created?
    Message was edited by: Meetoo

    Click & hold for a half second or so until the hand becomes a fist, then drag. You can select one or more cells/rows. If the location you're dragging to isn't empty, the contents will be replaced.

  • Can you set a .mov file to loop for ipad?

    Spent now hours trying to get clips to loop when viewed on a ipad... it shows fine in explorer or on my Mac but on the ipad it will not autoplay or loop
    Tried this
    <video src="http://linktovideo.mov" width="576" height="576" controls="controls" autoplay="autoplay" loop = "loop" qtnext1="goto0" controller="false" kioskmode="true"></video>
    But does not work for me any ideas or is it just not possible?

    From : Safari HTML5 Audio and Video Guide
    Warning: To prevent unsolicited downloads over cellular networks at the user’s expense, embedded media cannot be played automatically in Safari on iOS—the user always initiates playback. A controller is automatically supplied on iPhone or iPod touch once playback in initiated, but for iPad you must either set the controls attribute or provide a controller using JavaScript.
    Read this too : Preparing Your Web Content for iPad
    Here's what you can do : HTML5 Video
    Here's an advanced way of showing movies : Culture Club - Movies

  • Can you limit an application's RAM?

    I was just wondering if there was a program or something that you could use to limit RAM usage for a certain application. Some programs eat up all the ram and slow the machine down.
    Another question, is there a way to see how much RAM a certain application is currently using? Or better yet all running apps so you can contrast and compare?
    Message was edited by: fugnug

    RAM prices have stayed pretty low for a while (see here), so your best option is to load up while the prices are attractive. Adding a US$23 256MB module would go a long way to improving your performance and stability without risking a third-party system enhancer that could potentially cause you no end of grief.
    This assumes you have a slot available which, based on standard configs for that model, I think you do. Unless you are into very heavy-duty programs, simply taking Panther to 512MB makes a big difference; my son's G4 MDD came with 256MB and adding another 256MB make all the difference in the world. Later he bumped it to 1G and the change was not that impressive.
    Allan
    PS: I have no connection to the site I referenced other than being a customer for about four years,

  • Can you preselect cfgrid rows?

    i have a boolean column (checkboxes) in a cfgrid, column is fake, doesn't exist in query.
    onChange i run a js function that takes the value of another (numerical) column and saves it in a hidden form field as a comma delimited list. if user clicks the same checkbox again, it removes it
    everything works fine, except when the user navigates to the next page and back, my list of values is still in the field, but the checkboxes are no longer checked.
    that creates a problem, because now, if the user clicks the same checkbox again, it will actually remove the value instead of adding it
    is there a way to preserve the checkbox state when navigating back and forth?
    thanks for any help

    I'm not sure if I'm totally clear on what you want to do, but I gather you want to select the ".jpg" part of "image.jpg" in the JFileChooser's text field? If so, here's a really ugly and dirty way to get ahold of that text field
    private void doIt() {
         JFileChooser chooser = new JFileChooser();
         JTextField textField = getChooserTextField(chooser);
         if (textField != null) {
              textField.setText("Hi there");
         chooser.showSaveDialog(this);
    private JTextField getChooserTextField(JFileChooser chooser) {
         JTextField rtn = null;
         List<Component> comps = getAllComponents(chooser);
         for (Component comp : comps) {
              try {
                   rtn = ((JTextField)comp);
                   break;
              } catch (ClassCastException ignore) {}     
         return rtn;
    private List<Component> getAllComponents(Container cont) {
         List<Component> rtn = new ArrayList<Component>();
         for (Component comp : cont.getComponents()) {
              if (comp instanceof Container) {
                   rtn.addAll(getAllComponents((Container)comp));
              rtn.add(comp);
         return rtn;
    }With a reference to the JTextField, I assume you can select the relavent portions of the text yourself. This is definately a hack, and there may be a better way to do it that I'm not aware of.

  • Can you limit e-mail items on iPhone with iOS 7?

    Prior to iOS 7, there was a setting to limit the quantity of e-mail items that would upload to the phone (ie, 50 per account).  It seems with iOS 7, that setting is no longer an option, or at least I can't seem to find it.  Does anyone know if such a setting is still in iOS 7?  Thx in advance...

    Hi there anok goh,
    You may find the troubleshooting steps in the article below helpful.
    iCloud: Troubleshooting iCloud Contacts
    http://support.apple.com/kb/TS3998
    -Griff W. 

  • Can you limit write-behind batch sizes to a set number in Coherence 3.5?

    I'm currently running Coherence 3.5.3p9 on Windows.
    The cache store is set up to use the write-behind scheme via the read-write-backing-map-scheme tag.
    Batching is enabled with a write-delay of 5s.
    My understanding is that essentially anything that was newly inserted into the cache more than 5 seconds ago becomes eligable for storage.
    Our application goes through a bit of a peak-trough cycle. Sometimes very little data is inserted all at once and sometimes a lot is. This results in quite varying batch sizes and big batch sizes do cause issues on our db from time to time.
    I can decrease the write-delay to 1s in the hope that this will in turn decrease the batch sizes, but is there a way to set a specific number e.g. I only ever want to write 20 in a batch?

    Hi,
    you can just break down that big batch into smaller batches (DB transactions) yourself, and you can also decide that you don't want to write more at the moment.
    If you throw an exception Coherence will retry whatever is in the parameter map passed to storeAll and parameter collection to eraseAll. But it does not have to be the full list, it is expected that you remove those entries/elements which you have successfully persisted.
    This way you can control the rate of writing yourself. Also, since the write-behind thread does not block event processing, therefore you are sort of safe to do longer waits in those methods if you want to somewhat space out resource transactions without returning from storeAll.
    To answer your question:
    You can either
    - do a physical transaction of 20 elements, remove those 20 elements from the map, then optionally wait and then continue with more elements from the map as long as there are any (this gives you the chance of controlling the rate of transactions).
    - send a physical transaction of at most 20 elements to the database, remove those 20 elements from the map and then throw a dummy exception (in which case Coherence requeues the rest... take care, after this they are considered freshly changed entries).
    Best regards,
    Robert

  • HT201084 can you limit what kids can share from your account

    With Family Sharing, do my kids still have to ask permission to download an app that I purchase? I would like to limit what each kid can have from my purchased apps. For example, if I buy a game on my mac mini Family Shared iTunes, can I then decide which kids can download it, or do they all automatically get it?

    Hi,
    If you meant "Hide so he Can't... " then the answer is no.
    Any Screen Sharing lets the Viewing End the same access as you have.
    What you can do is set up a Test User Account on your Mac (System Preferences > Accounts)
    This in effect give that User all their own Folders in their Home Folder.
    You could put Files, docs and other things in the Public Folder of that account, that you want to "Share, from your Account, so that when you Log in as the Test User they can have access to them.
    Public Folders are what other Users on a Mac can "See". They can only Look.
    Unless you set up Remote Login in System Preferences > Sharing to behave differently it is also all someone logging in from outside your computer can "see" (like Windows can only see Shared folders).
    Once you login as another User your regular User Account is inaccessible apart from the Shared (Public folder only by default) folders.
    putting things in the Drop Box in the Test account will make copies of them to do so allowing you to keep unaltered originals.
    I hope I have said that clearly enough.
    9:57 PM Sunday; August 2, 2009
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"

  • Sqlldr - can you skip last row from a data file

    Hi
    I need to skip last line from the data file when I load the data into the tables. Is that possible to do using sqlldr, if yes How?
    Also, the first row in the data file, which has a single column needs to be loaded into all the rows of the table. How can i do that?
    Example
    020051213
    1088110 0047245 A 000000000000GB 00000496546700
    1088110 0719210 A 000000000000GB 00001643982200
    1088110 0727871 A 000000000000GB 00000083008900
    9010163
    The first line needs to go into all the rows, and the last row needs to be skipped. Remaining can be loaded normally. I think this would take multiple loads. Can anybody please help.
    TIA

    here i am sending a control file sample which use the when clause
    in sql loader
    load data
    infile 'load_4.dat'
    discardfile 'load_4.dsc'
    insert
    into table sql_loader_4_a
    when field_2 = 'Fruit'
    field_1 position(1) char(8),
    field_2 position(9) char(5)
    into table sql_loader_4_b
    when field_2 = 'City'
    field_1 position(1) char(8),
    field_2 position(9) char(5)
    )

  • Can you limit information based on totals?

    Our requirements (Govt mandated) are that we cannot display totals that may allow someone to help identify an individual.
    Example: Someone is running an analysis that includes ethnicity. Lets say that there is only one person with XYZ ethnicity.
                   The person viewing the analysis may be able to use other information (zipcode, age, etc), along with the ethnicity information
                   to determine who the person is with XYZ ethnicity.
    I need to find a way for the analysis to return no results for any ethnicity that has a total of 5 or less, if the ethnicity column is used in the analysis.
    So, lets say that I want to run an ethnicity analysis on 50 people in a company. It would look something like this...
          Ethnicity          Count
             DDD               30
             GGG              17
             ABC                2
             XYZ                 1
    Total:                       50
    Next, I run an analysis for all 50 people that includes Department, and Ethnicity. The report should show 47 people, because ethnicity ABC and XYZ each has 5 or less in total.
    This report should look like this...
              Department        Ethnicity       Count
                    D1                  DDD             10
                                          GGG              5
                    D2                  DDD             15
                                          GGG              5
                    D3                  DDD               5
                                          GGG              7
    Total:                                                  47
    Is that possible, and if so, how can it be done?
    I am sure there must be a way to do this considering all of the HIPPA, FERPA, etc confidentiality requirements, as most of these requirements stipulate that
    information cannot be used to back into the identification of any particular protected information.

    For filtering on total 50 use another column with expression rsum(count) and set filter <=50
    for other requirement set count>=5
    let me know updates
    ~ http://cool-bi.com

  • How can i limit my rows in a query?

    What SQL query could i use to limit rows for example from 5 to 5 rows?
    for example:
    Select EmpNo, Ename From Emp; (imagine it has 10,000 records) and i want to present them as 5 at the same time.
    what SQL query or instruction should i use? (since CURSORS are not an SQL standard) how else could i achieve that?
    thanks

    HOW TO: Get first n, last n, or rows m thru n, top-n analysis, ROWNUM pseudocoumn

  • HT3702 Can you limit how much can be spent over a certain amount of time such as a week or does this just limit if something can be bought or not?

    My parent wants to set up his credit card to my iTunes account but he want to know if there is any restrictions on what can be bought and when I can buy things. Could you please tell me if there are any restrictions on this sort of thing.

    Hello everyone  Thank you so much for making use of my thread, dedicated to resolve the issue. I appreciate all the feedback  For those who are still experiencing issues, please reply to this post with the following information, and I can continue to assist: 1. The computer's model number. If you require assistance locating this information, please reference this website: Guide to finding your notebook product number 2. The computer's operating system. If you require assistance locating this information, please reference this website to determine your Windows operating system. (Make sure to include whether it's 32 or 64 bit.) 3. Does this occur on certain programs, or all programs? 4. Have you installed any new software or drivers on this computer, before the issue appeared? 5. What steps have been attempted from my first post on this thread, and what were the results? Additionally, if the issue just began occurring, I would perform a system restore. I want you to bring the computer back to the earliest restore point possible, in an attempt to dodge whatever caused the issue. Here is a document on how to perform a System Restore: System Restore Thanks again for all the continued support! Mario

  • Can you limit the size of a TextArea?

    I've developed a program which logs what it does into a file as well as into a TextArea component. We've just realised a potential problem though in that this program may be left running several weeks at a time and the TextArea could become very full and tie up a lot of memory.
    So basically I need a good solution for limiting its size. I thought that each time it could clear itself and read through the log file for, say, the last 50 events but that process may also start taking a long time if the log file gets big too.
    Any solutions?
    Both the file logging and textarea logging are handled by a seperate class. There is one log() method which accepts a string and takes care of both.

    Its easily done on a JTextArea. Basically every time the text area is updated you check the number of lines in the text area and remove any lines above your limit.

Maybe you are looking for