Customers recievable as of date

Dear Experts,
I have created this query for Customers Recievables, the problem that I am having is that it only shows the open invoices even if it was closed after the date in my parameter.
my requirements is like the Built-In Customers Recievables Aging in SAP but with the remarks on each invoice on the end.
here is the query i used:
SELECT 'IN' "Invoice/Credit Notes", T0.[CardCode], T0.[CardName], T0.[DocDate], T0.[DocDueDate], T0.[DocNum],
CASE WHEN DATEDIFF(DAY, T0.DocDueDate, [%1]) < 30 then (T0.[DocTotal]-T0.[PaidToDate]) end as '0-30',
CASE WHEN DATEDIFF(DAY, T0.DocDueDate, [%1]) BETWEEN 31 and 60 then (T0.[DocTotal]-T0.[PaidToDate]) end as '31-60',
CASE WHEN DATEDIFF(DAY, T0.DocDueDate, [%1]) BETWEEN 61 and 90 then (T0.[DocTotal]-T0.[PaidToDate]) end as '61-90',
CASE WHEN DATEDIFF(DAY, T0.DocDueDate, [%1]) BETWEEN 91 and 120 then (T0.[DocTotal]-T0.[PaidToDate]) end as '91-120',
CASE WHEN DATEDIFF(DAY, T0.DocDueDate, [%1]) > 120 then (T0.[DocTotal]-T0.[PaidToDate]) end as '120',
T0.[Comments] FROM OINV T0  INNER JOIN OCTG T1 ON T0.GroupNum = T1.GroupNum INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN OCRG T3 ON T2.GroupCode = T3.GroupCode WHERE T0.[DocStatus] ='O' AND  T0.[DocDate] <=[%1] AND  T2.[Cardcode] = 'CCBARTES A/S'
UNION ALL
SELECT 'CN',T0.[CardCode], T0.[CardName], T0.[DocDate], T0.[DocDueDate], T0.[DocNum],
CASE WHEN DATEDIFF(DAY, T0.DocDueDate, [%1]) < 30 then -(T0.[DocTotal]-T0.[PaidToDate]) end as '0-30',
CASE WHEN DATEDIFF(DAY, T0.DocDueDate, [%1]) BETWEEN 31 and 60 then -(T0.[DocTotal]-T0.[PaidToDate]) end as '31-60',
CASE WHEN DATEDIFF(DAY, T0.DocDueDate, [%1]) BETWEEN 61 and 90 then -(T0.[DocTotal]-T0.[PaidToDate]) end as '61-90',
CASE WHEN DATEDIFF(DAY, T0.DocDueDate, [%1]) BETWEEN 91 and 120 then -(T0.[DocTotal]-T0.[PaidToDate]) end as '91-120',
CASE WHEN DATEDIFF(DAY, T0.DocDueDate, [%1]) > 120 then -(T0.[DocTotal]-T0.[PaidToDate]) end as '120',
T0.[Comments] FROM ORIN T0  INNER JOIN OCTG T1 ON T0.GroupNum = T1.GroupNum INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN OCRG T3 ON T2.GroupCode = T3.GroupCode WHERE T0.[DocStatus] ='O' AND  T0.[DocDate] <=[%1] AND  T2.[Cardcode] = 'CCBARTES A/S'
Thanks!
Carlo

Hi Carlo,
Try below query.
SELECT max(b.TransType) as [Invoice/Credit Notes], c.CardCode, c.CardName, max(b.RefDate) as DocDate,
max(b.DueDate) as DocDueDate, max(b.BaseRef) as DocNum,
CASE WHEN DATEDIFF(DAY, max(b.DueDate), [%1]) < 30 then SUM(a.Debit-a.Credit) end as '0-30',
CASE WHEN DATEDIFF(DAY, max(b.DueDate), [%1]) BETWEEN 31 and 60 then SUM(a.Debit-a.Credit) end as '31-60',
CASE WHEN DATEDIFF(DAY, max(b.DueDate), [%1]) BETWEEN 61 and 90 then SUM(a.Debit-a.Credit) end as '61-90',
CASE WHEN DATEDIFF(DAY, max(b.DueDate), [%1]) BETWEEN 91 and 120 then SUM(a.Debit-a.Credit) end as '91-120',
CASE WHEN DATEDIFF(DAY, max(b.DueDate), [%1]) > 120 then SUM(a.Debit-a.Credit) end as '120',
max(x0.Comments) as Remarks
FROM JDT1 a
inner join OJDT b on b.TransId = a.TransId
inner join OCRD c on c.CardCode = a.ShortName
inner join OCTG d on d.GroupNum = c.GroupNum
inner join OCRG e on e.GroupCode = c.GroupCode
left outer join OINV x0 on x0.TransId = b.TransId
left outer join (select z0.TransId, z0.TransRowId, MAX(z1.ReconDate) as LastReconDate, sum(z0.ReconSum) as ReconSum
  from ITR1 z0
  inner join OITR z1 on z1.ReconNum = z0.ReconNum
  where z1.ReconDate <= [%1] and z1.CancelAbs = 0
  group by z0.TransId, z0.TransRowId
  )f on f.TransId = a.TransId and f.TransRowId = a.Line_ID
where a.RefDate <= [%1] and c.CardCode = 'CCBARTES A/S'
group by a.TransId, c.CardCode, c.CardName
having  CASE when sum(a.Debit - a.Credit) < 0
  then sum(a.Debit - a.Credit) + sum(isnull(f.ReconSum,0))
  else sum(a.Debit - a.Credit) - sum(isnull(f.ReconSum,0)) end <> 0
Regards,
Alvin

Similar Messages

  • Using one azure table storage account for many customers with their own data

    I'm developing app that will allow the customers to store their data in azure. However, currently I have no idea how to split  accounts of the customers in azure. Yes, I'm just started to read the documentation, but maybe someone can point me to the
    right topic?

    It seems like it might be worth starting from the general guidance to developing multitenant cloud applications - this resource might help: http://msdn.microsoft.com/en-us/library/ff966499.aspx
    The patterns covered in this guidance might apply to data storage mechanism chosen for the application - whether it's Azure Storage , Azure SQL DB or else.

  • How to Recieve a POSTed data by Servlet

    How can I recieve a POSTed data by Sevlet doPost Method?
    Raheel

    No, I cannot use getParameter because a XML Request is posted to the Servlet and my Servlet has to parse that servlet using DOM.
    My code is as follows:
    factory = DocumentBuilderFactory.newInstance();
    builder = factory.newDocumentBuilder();
    document = builder.parse(new InputSource(requst.getReader())); --- A
    I am facing SAXParseException that Content not allowed in Prolog at point A.
    Any Help
    Thanks
    Raheel

  • How to recieve a POSTed data

    How can I recieve a POSTed data by Sevlet doPost Method?
    Raheel

    No, I cannot use getParameter because a XML Request is posted to the Servlet and my Servlet has to parse that servlet using DOM.
    My code is as follows:
    factory = DocumentBuilderFactory.newInstance();
    builder = factory.newDocumentBuilder();
    document = builder.parse(new InputSource(requst.getReader())); --- A
    I am facing SAXParseException that Content not allowed in Prolog at point A.
    Any Help
    Thanks
    Raheel

  • Is there ANYWAY for Loyal Customers to get 4GB data plan for $30

    Is there ANYWAY for Loyal Customers to get 4GB data plan for $30. I just got a new upgrade, but I really want the 4GB, because 2GB is very little (for a Smartphone and its multiple capabilities). PLEASE HELP VERIZON!!!!
    - from your LOYAL customers.

    Did you upgrade to a 4G phone? The double data deal is only for 4G phones.
    Additionally, this is for ALL 4G phones, even if you are not upgrading. If you currently have a 4G phone which is on the 2GB tiered plan, you can sign into My Verizon and change it to the double data deal. At least it will let me change a 4G phone I have which was purchased last May to the double data deal.

  • Best Practice Table Creation for Multiple Customers, Weekly/Monthly Sales Data in Multiple Fields

    We have an homegrown Access database originally designed in 2000 that now has an SQL back-end.  The database has not yet been converted to a higher format such as Access 2007 since at least 2 users are still on Access 2003.  It is fine if suggestions
    will only work with Access 2007 or higher.
    I'm trying to determine if our database is the best place to do this or if we should look at another solution.  We have thousands of products each with a single identifier.  There are customers who provide us regular sales reporting for what was
    sold in a given time period -- weekly, monthly, quarterly, yearly time periods being most important.  This reporting may or may not include all of our product identifiers.  The reporting is typically based on calendar-defined timing although we have
    some customers who have their own calendars which may not align to a calendar month or calendar year so recording the time period can be helpful.
    Each customer's sales report can contain anything from 1,000-20,000 rows of products for each report.  Each customer report is different and they typically have between 4-30 columns of data for each product; headers are consistently named.  The
    product identifiers included may vary by customer and even within each report for a customer; the data in the product identifier row changes each week.  Headers include a wide variety of data such as overall on hand, overall on order, unsellable on hand,
    returns, on hand information for each location or customer grouping, sell-through units information for each location or customer grouping for that given time period, sell-through dollars information for each location or customer grouping for that given time
    period,  sell-through units information for each location or customer grouping for a cumulative time period (same thing for dollars), warehouse on hands, warehouse on orders, the customer's unique categorization of our product in their system, the customer's
    current status code for that product, and so on.
    Currently all of this data is stored in a multitude of Excel spreadsheets (by customer, division and time period).  Due to overall volume of information and number of Excel sheets, cross-referencing can take considerable time.  Is it possible to
    set-up tables for our largest customers so I can create queries and pivot tables to more quickly look at sales-related information by category, by specific product(s), by partner, by specific products or categories across partners, by specific products or
    categories across specific weeks/months/years, etc.  We do have a separate product table so only the product identifier or a junction table may be needed to pull in additional information from the product table with queries.  We do need to maintain
    the sales reporting information indefinitely.
    I welcome any suggestions, best practice or resources (books, web, etc).
    Many thanks!

    Currently all of this data is stored in a multitude of Excel spreadsheets (by customer, division and time period).  Due to overall volume of information and number of Excel sheets, cross-referencing can take considerable time.  Is it possible to
    set-up tables .....
    I assume you want to migrate to SQL Server.
    Your best course of action is to hire a professional database designer for a short period like a month.
    Once you have the database, you need to hire a professional DBA to move your current data from Access & Excel into the new SQL Server database.
    Finally you have to hire an SSRS professional to design reports for your company.
    It is also beneficial if the above professionals train your staff while building the new RDBMS.
    Certain senior SQL Server professionals may be able to do all 3 functions in one person: db design, database administration/ETL & business intelligence development (reports).
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Customers whose latest posting date is older than 2 years

    How to find out the Latest posting date for a customer in the report from the list of Posting date available.
    Sorting option may not be a right Option as i need to create a condition on the formula(Latest posting date(4) -Sy-datum(4) greater than 2 years)
    Please suggest me

    Please let me know for any inputs

  • Firefox will not start I recieve error that Data execution Prevention will not let it start.

    I am running Windows Vista home premium service pack one. I have never had a problem with firefox until 9-27-11 when upon clicking on the icon to open Firefox I got a windows error message saying that Data Execution Prevention has stopped the program from running. At certain times however, it will work. No other programs have been affected. It will not run in safe mode either.

    You can try reinstalling Firefox. You can get the latest version for free, as always, at [http://getfirefox.com getfirefox.com]. Just install it over your current install. No data will be lost.
    If that doesn't help, it's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and themes and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
    If you need support for one of your add-ons, you'll have to contact its author.
    If the problem does not disappear when all add-ons are disabled, please tell me, so we can work from there. Please have no fear of following my instructions to the line, as all can be easily undone.

  • Idoc is recieved on port but only control data

    Hi all,
    I hav created a program to send data on file port. Idoc gives status 03. but we we see data on recieving port (when file is generated)then data is abent only control data is recieved . No data records are there.I'm using FM EDI_OUTPUT_NEW to send data
    If I send that idoc again directly running The  FM EDI_OUTPUT_NEW then then conrol data and data records are recieved successfully.
    Plz help me
    Regards
    Richa

    Hi!
    The data section is missing mostly in that case, if all the data fields within it is empty. IDoc sending is skipping empty fields.
    In WE19, I think you entered all data within the fields.
    Check your sender program, you might accidentally clear the IDoc data strucure before the MASTER_IDOC_DISTRIBUTE fm call.
    Regards
    Tamá

  • Verizon please release a Home Fusion Data Usage Tracking Tool for customers

    Just switched to Home Fusion. It works quickly but data usage has gone up dramatically. Why?
    In the past, with my MiFi hotspot, I could use Verizon website tools to view usage per session to see when data was being used.
    Verizon has no tools for customers to view usage during data sessions on their Home Fusion.
    The only tool available is a worthless display of the "packets" used during the current session and the number of hours connected.
    We cannot view past data sessions or a measure of mb or gb used for even the current session, let alone past sessions.
    Verizon, please release an application that gives customers the ability to see when data is being used by their Home Fusion wireless connections!!!!
    You will continue to receive complaints from customers on your forum and by phone if you don't give us the tools we need to see when data is being used at the very least.
    My data usage has jumped up dramatically. The only help you'll give is for me to call Tier 2 support and have them list off my past data sessions and the amount of data used. Perhaps I'll call more regularly so they'll get annoyed and get an app for customers to see their data for themselves.
    Your refusal to put detailed data usage in the hands of your customers makes me think forum complaints of your Home Fusion using data when all computers are off might be valid and suspect you may be trying to hide a problem with your data usage billing.
    How can I dispute my data usage if you won't allow access to more than the total usage YOU claim I've used?
    Make this customer tool a TOP PRIORITY. If I'd known data usage would jump and there'd be nothing to document the reason, I'd have cancelled within the 14 days. Wish I was quicker to investigate.

    EXACTLYYYYYYYYYYYYYYYYYY! Starting March of this year, My bill has ESCALATED to the $1,000 mark and I'm FED up with their STEALING MY DATA. I have had the box TURNED OFF THIS BILLING CYCLE JUST TO SEE. June 16 was the first day. We had to go out of state so I made sure that Home Fusion box was OFF.. We returned the following night around 1130 pm and NINE GB of data was used on the 16th and we were NOT home AND THE BOX WAS TURNED OFF. THEY CANNOT EXPLAIN, WILL NOT REFUND, ETC.................. BeckyInEastLeroy

  • Count of Active Customers each day between two dates

    Hi Folks
    I have a  table as shown in the screenshot. The id column is a customer id, and the activated and cancelled date columns represent when a customer signed-up or cancelled their subscription. I want to count how many customers were active each day (from
    the earliest activation date  to the current date, note non-cancelled customers have a cancelled date of 2099-01-01). Any suggestions on how to do this? 
    Regards
    Steve

    >> I have a  table as shown in the screenshot. <<
    Where is the DDL? Does your boss make you program from screenshots? So you have to type in the data by hand? And guess at keys and constraints? Wow! That is an awful place to work! 
    >> The “id” column is a “customer_id”, <<
    Why did you not call it that? Being rude is fine, but being vague is bad. :( Here is my guess.
    CREATE TABLE Customers
    (customer_id CHAR(5) NOT NULL  PRIMARY KEY, --- wild guess !
      activation_date DATE NOT NULL,
      cancellation_date DATE, 
     CHECK (activation_date < cancellation_date), --- second wild guess!
    >>  I want to count how many customers were active each day (from the earliest activation date to the current date. Note non-cancellation  customers have a cancellation date of 2099-01-01). <<
    You will need a Calendar table (Google it) and a book on basic data modeling. We use a NULL for missing data in SQL and RDBMS. This is how we implement the ISO half-open temporal model. We also use DATE for dates now. There is no need to use the old Sybase/UNIX
    datetime with '00:00:00.000' and in fact it is awful coding today. 
    WITH X (customer_id, cal_date)
    AS
    (SELECT A.customer_id, C.cal_date
      FROM Customers AS A, -– for active
            Calender AS C
      WHERE C.cal_date 
            BETWEEN MIN(A.activation_date) OVER() 
                AND (COALESCE(cancellation_date, 
                     CAST (CURRENT_TIMESTAMP AS DATE))
    SELECT COUNT(X.customer_id) AS active_customer_cnt
      FROM X
     GROUP BY cal_date;
    Untested due to lack of sample data. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to see all the customers under one company code?

    hi,
    I would like to know, is there any standard transaction code to see all the customers under one company code?
    thanks.

    Hi,
    You can check through :
    1). SAP Menu ->  Accounting -> Financial Accounting -> Accounts Recievables ->Information Syatem -> Reports for Account recievable accounting -> Master Data -> Customer List
    2). Run Txn SE16 -> Enter Table name (KNB1) -> Enter Company Code -> Execute.
    Reward Points if this helps.
    Regards,
    Harsh

  • Data not refreshing in report

    Post Author: SparrowHawk
    CA Forum: Data Connectivity and SQL
    I'm developing a dB application in VB6 using the Developers CRXI. For the problem I'm having with the report, I've got a discrete table in the dB which holds only 1 record. The report gets it's data from that table. Before calling the report, I am saving all the data from the VB form to the table and then calling the report. Initially, the report acts fine, but if I close the report, go back to the VB form, make changes, save the data to the table once again and then reopen the report, the old data remains. More often than not I have to click the refresh button TWICE on the report in order to get the updated data to appear. Sometimes it simply won't update. I've tried to force the refresh at runtime without any luck. The save data with report is NOT checked. And, because I know an Access dB can take a bit of time to "settle", I've waited for as long as 5 minutes with the report visible before I click the refresh button. It still takes TWO tries and even then sometimes will not update. Is there a way to solve this, or must I pass the variables to the report at runtime? Since there are upwards of 100 discrete variables to pass (it's an invoice form), I'd prefer not to have to do this if at all possible.I've posted this on other forums without any replies but this can't be that hard to do. Thanks,Ken

    Hi,
    I do face the same issue. Live data is not getting updated in the BAM report.
    My scenario: BPEL generates sensors for the response message variabe and data is inserted into JMS Topic.
    Created an Enterprise Message Source to poll the data fromo JMS Topic.
    In design studio -&gt; configured Oracle BAM Enterprise Message Reciever to revceive data from Enterprise message source and send the data to BAM using Oracle BAM Insert Sink.
    As mentioned in one of the post, updated below changes in Plan Setting in BAM administrator for the report.
    Completion Action: Always restart on completion.
    Failiure Action: Alway restart on failiore.
    Max restart frequency: No limit on frequency.
    Monitor Service: Oracle BAM Plan Monitor.
    Did I missed any configuration to be made for the reports to get updated.
    Please someone throw some light on this.
    Regards
    Jude.

  • Data Plans and Activation

    I know that there is absolutely no way around this; I am merely using a forum run by Verizon (and supposedly read by Verizon staff) to issue a complaint where it should be made.
    About six months ago, it was time to upgrade my phone.  My sister had an enV3, which she loved (more accurately: still loves), and which fully fit the three criteria I like in a phone: it texts, it calls, and it has a reasonable resolution w/r/t taking pictures (I'm not a huge picture taker, that's why I prefer my phone to have a reasonable camera installed, although it certainly isn't necessary).  Naturally, I wanted to get an enV3, but was told that I would have to pay $10 a month for a data plan.  I do not use my phone for internet access.  I do not use my phone for applications (except for backup assistant, which hardly qualifies as an application that should be paid for).  I have no reason for a data package.  And yet, what my sister was able to get with no added package, I would have had to get the monthly package.  Upgrading to an actual phone whose data capabilities would be truly useful, such as a Droid, would require a $25 a month package. 
    So, I chose the Samsung Intensity, because, frankly... I'm a college student; the $10 a month is better spent elsewhere.  As a college student, though, accidents happen.  I will preface the fact that I abstain from partying, alcohol, and drugs, so I managed to destroy my own phone with all of my mental capacities intact, so yes, it was my own idiocy that led to the destruction of my phone.
    My family, however, has a reasonable collection of phones which we replaced with newer models as upgrades came around.  I'm currently blessed with the use of an LG that was made before 2005.  One can, hopefully, understand that I would prefer the use of a phone that accepts a Sim Card.  We had two LG phones from 2008 (sorry, I can't remember the model number at the exact moment... suffice to say that they were relatively high quality phones) which I would have gladly used, except for the fact that the particular design of the phone causes the hinge to break, and in both phones, the hinges were broken (I'm not the only one with this problem; two friends of mine who are much more careful with their phones than I had hinge problems with the same model... our two phones merely managed to break right after their warranty expired).  Actually, the manufacturing defect in the hinges was what caused me to have to upgrade phones... I would have gladly gone another two years with my original phone had Verizon decided to start manufacturing phones that don't break just because you open it on a regular basis to make calls or to text. 
    To make that long digression mean anything, our family also has an old LG Touch... a phone which Verizon quickly pulled off the shelves due to the fact that it received horrible reviews on.  I would love to activate this phone with my number, but upon attempting to do so, Verizon forces the addition of a $10 monthly data plan.  To a phone that we have had for about 2 years and which upon purchasing we were not required to have a data package for. 
    The Verizon data package plan is, I assume, a great idea... if you *want* to use it.  Forcing someone who wants a phone to pay money for features that they do not want to deal with is not ok.  Forcing someone to buy a data package when they bought the phone before data packages were required is not ok.  Come to think of it: building phones that break down a month after their warranty has expired is not indicative of a company that actually cares about its customers, either.  These data packages should remain optional.  I promise Verizon that, the moment I am independent and able to choose my own phone plan, I will immediately take my business elsewhere unless the data package requirement is rescinded.  It doesn't matter whether or not the other company requires the data package... my family has been loyal to this company for upwards of 8 years.  Any customer who has been with a company for that long deserves better than having to suddently upgrade to a phone similar in capabilities to a previous one and pay extra for a service which is not wanted.  Any person who has been with Verizon since before the data package requirement was instituted should not have to deal with this.  Realistically, any person who chooses Verizon Wireless, even after the requirement came in force, does not deserve treatment of this nature.
    On that note, anyone working towards getting around the $10 a month plan?  I'd be willing to give a donation of $10 a month the the cause.

    I completely agree!  I want a decent phone with camera and camcorder  to use for calling and texting without having to pay even the $9.99 data plan.  All of the providers want to force everyone into paying these extra fees.  It's not enough to pay for the services you use every month.  They want you to have to pay for the ones you don't as well.  I do not desire and WILL NOT pay for a data plan!

  • Java.lang.OutOfMemory error while retrieving data from a large table

    Hi,
    i am trying to fetch data using "executeQuery()" into a ResultSet from the database. But since the data in that table is large. i am recieving "java.lang.OutOfMemory" Error. So, to resolve that, i have used "setMaxRows()" for my statement object. This resolved the error but i don't recieve the entire data. If i call "executeQuery()" again, i recieve the same data. I don't even know a filtering criterion where by i can filter the data for each "executeQuery()"..
    How can i resolve this problem
    Thanx in advance
    --Chaitanya                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Either use some criteria you develop related to one of the keys on the table or use some sort of record limiting method.
    Note the method of limiting will vary related to the database you are using. You will have to look at the documentation.
    For example I am told this will work in MySQL to get 200 records starting at record 100.
    SELECT * FROM myTable ORDER BY whatever ASC LIMIT 100,200
    Because you are running out of memroy I assume the table is large,
    I am not sure what the impact of the above will have on performance because if in the above if the order by is not based on an index at the server level all the records will be selected and sorted before the records are limited.
    I would make sure you have an appropriate index.
    If you use the advanced search over the user forums using "resultset paging" and possibility the database you are using you should be able to get some ideas.
    I hope this makes sense to you.
    rykk

Maybe you are looking for

  • Safari 6 on Mac Osx 10.7.4

    Hi I have update Safari version and now I have Safari 6 on Mac OsX 10.7.4. I am facing few issues. Please help me resolve these. 1) I cannot see google sitemaps on this. When I open Sitemaps in web master tools, page header and menu loads, but not th

  • How do I get my Fluid Grid Layout page to resizes from portrait to landscape for iPhones?

    Starting in portrait on my iPhone 4, the fluid grid layout page does not resize when I turn to landscape.  After I refresh / resize to fit the page on landscape and then turn the iPhone to portrait, the page resizes just fine.  Everything seems to be

  • Where is the Equalizer in iTunes 9?

    I've been trying to figure this out for half an hour. It's probably right in front of me, but I can find it. Is there an equalizer in iTunes 9? If so, how do I get to it? Thanks in advance, Ryan

  • Problem in displaying a custom property

    Hi,   I am trying to display the permissions of a user for the documents in KM Content. I am following this <a href="https://media.sdn.sap.com/html/submitted_docs/nw_kmc/howto/km/flexui/Flexible%20UI%20Components.html#_Toc88990490">link</a> to go abo

  • Numbers not appearing in iCloud Settings

    I was just looking through the settings on my iPhone 4S running iOS 7.0.4 and discovered that Nubmers was not displayed as an option in iCloud. Keynote and Pages both display just fine. I went to settings for Numbers and turned iCloud off and reset m