GridControl show the last two rows in blank

I'm using JDeveloper 3.2.2 with jdk 1.3 developing a swing
application.
I have a form with a gridControl binded to one view of my bc4j
application module.
When the number of records from the view excedes the maximum
number of rows visibles in the area of the gridControl the last
two rows of the gridControl are showed blank.
There is no problem when I scroll through the grid control.
This problem doesn't appear using JDK 1.2.2, provided with
Jdeveloper, but I would like to use 1.3.1.
Thanks in advance
Alex.

You don't need to do Sum for this, you should use Sum for all rows purpose only..
$.rawValue = subform_Hidden.sub_SupportTotals.tbl_SupportSubtotals.DataRow[0]. SUBTOTAL +  subform_Hidden.sub_SupportTotals.tbl_SupportSubtotals.DataRow[1].SUBT OTAL

Similar Messages

  • DB12 not showing the last two completed Database Backup

    Hi Gurus,
    I have scheduled my production system to take a daily complete db backup , but when I see the Db12 Database History it shows the last complete backup was happened two days before(ex: 18/01/10 considering today is 21/01/10) and its not showing previous date were the db backup completed. When I checked in OS level the backup is completed for the previous day(eg.20/01/10) which is not showing in DB12. Whether there is any standard jobs that update this log ? My database is DB2.
    Please suggest as this is very critical.
    Regards,
    Rahul

    Please cross check the following things :
    1) Check in SM37 for the DBA* job logs for last 2 days.
    2) Whenever backup job is scheduled in DB13, it makes an entry in SAP table "SDBAP". You can also check in this table by the timestamp.
    3) Are you able to see backup logs in DB12 before2 days or it is empty ?
    Regards,
    Ankit

  • Sort the rows of a datagridview but not the last two

    Hi,
    with this code, the last row isn't sorted:
    Protected Overrides Sub OnSortCompare(ByVal e As System.Windows.Forms.DataGridViewSortCompareEventArgs)
    MyBase.OnSortCompare(e)
    If e.RowIndex1 = Me.RowCount - 1 Then e.Handled = True
    If e.RowIndex2 = Me.RowCount - 1 Then e.Handled = True
    End Sub
    How can I expand this code to do not sort the second last row too?
    This doesn't work:
    Protected Overrides Sub OnSortCompare(ByVal e As System.Windows.Forms.DataGridViewSortCompareEventArgs)
    MyBase.OnSortCompare(e)
    If e.RowIndex1 = Me.RowCount - 1 Then e.Handled = True
    If e.RowIndex2 = Me.RowCount - 1 Then e.Handled = True
    If e.RowIndex1 = Me.RowCount - 2 Then e.Handled = True
    If e.RowIndex2 = Me.RowCount - 2 Then e.Handled = True
    End Sub

    Hi DerStauner,
    I have no idea about what do you mean “But I would like to fix the last two row”.
     My code seems sort correct all of the data in the datagridview. Would you like to share a sample about this?
    Please pay attention that the sort method of ID is according to the string, so”10” will be before than “2”. If you want to compare the ID as integer, you need to change to your code to compare with integer instead of string.
    Here is a sample (change the OnSortCompare method with following code):
    Protected Overrides Sub OnSortCompare(ByVal e As System.Windows.Forms.DataGridViewSortCompareEventArgs)
    MyBase.OnSortCompare(e)
    'If e.RowIndex1 = Me.RowCount - 1 Then e.Handled = True
    Dim a As Integer = CInt(e.CellValue1.ToString())
    Dim b As Integer = CInt(e.CellValue2.ToString())
    e.SortResult = a.CompareTo(b)
    e.Handled = True
    If e.RowIndex2 = Me.RowCount - 1 Then e.Handled = True
    End Sub
    Hope this helps.
    Mark Liu-lxf [MSFT]
    MSDN Community Support | Feedback to us

  • How can I get only the last 2 rows?

    How can I narrow down a query to get only the last two rows in a table ?
    Thanks,
    Mohan

    Thanks a lot Ram for your suggestion but already I have a query which returns a set of rows, of which I would like to further filter and get the last two rows
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Ramanuj Bangad ([email protected]):
    try out something like this if it helps.
    Example:
    select * from users
    where rownum <= (select count(*) from users)
    minus
    select * from users
    where rownum <= (select count(*) -2 from users )
    <HR></BLOCKQUOTE>
    null

  • Suppress printing the last two pages

    I have created a form that has the last two pages of the form screen only visible. Saved the form and printed it but the last two pages print blank. Is there any way to suppress printing the last two blank pages. If I was the only person using the form I just wouldn't print the last two pages but this is going into a production environment where seeing the last two pages is important but printing the last two pages isn't.
    Thanks.

    Take a look at the script produced by the "Print Button".
    xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
    The doc for print is available at http://livedocs.adobe.com/livecycle/8.2/acrobat_designer/001735.html
    Steve

  • Display last two rows for every group

    Hi,
    I want to display only last 2 rows for every group.
    My table look like
    ACN DATE COST APPL
    A6ERA 14-JUN 150 B777
    A6ERA 14-JUN 180 B787
    A6ERA 15-JUN 120 B677
    A6ERA 14-JUN 155 B777
    A6ERB 13-JUN 166 A777
    A6ERB 14-JUN 157 B777
    A6ERB 11-JUN 159 B787
    A6ERC 14-JUN 099 B777
    A6ERC 11-JUN 102 B788
    In the above table, I want to display only the last two rows group by ACN
    Like the below table
    ACN DATE COST APPL
    A6ERA 15-JUN 120 B677
    A6ERA 14-JUN 155 B777
    A6ERB 14-JUN 157 B777
    A6ERB 11-JUN 159 B787
    A6ERC 14-JUN 099 B777
    A6ERC 11-JUN 102 B788
    Please reply

    Nihar
    To get the first two rows from each group, you could do this:
    Use the ROW_NUMBER() analytic function (see http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions137.htm#i86310)
    Now, your question isn't clear what you mean by "last" two rows. Last in what order? Whatever it is, you can use the ORDER BY part of the ROW_NUMBER() function to specify the ordering, and reverse it using DESC - for example:
    select acn, adate, cost, appl from (
        select acn, adate, cost, appl,
                  row_number() over (partition by acn order by adate desc) as rn
        from  acntab
    where rn <= 2
    order by acn, rnHTH
    Regards Nigel

  • I switched to Apple Mail in the last two months.  When I attempt to print an email message, I get a blank piece of paper.  When I attempt to use the print options suggested in "Mail Help", the program crashes and has to be reopened.  Any ideas?

    I switched to Apple Mail in the last two months.  When I attempt to print an email message, I get a blank piece of paper.  When I attempt to use the print options suggested in "Mail Help", the program crashes and has to be reopened.  Any ideas?

    Which version of Mail are you using as well as which Snow Leopard version you are using? 

  • HT1430 my phone is blank,and has just been vibarating for the last two hours, it wont turn off on or respond to being connected to my lap top, my lap top wont even recognise the usb, which is new, its an iphone 4s

    my phone is blank, its an iphone 4, its been just vibrating for the last two hours non stop, its unresponsive to turning on or off, or even being connected to my lap top. my lap top doesnt recognise the usb...very confused.

    Try a hard reset. Hold the power and the home button down at the same time untill you see the apple logo appear. then let go of the buttons

  • I have multiple imap accounts on thunderbird, but the last two accounts will not show messages in the inbox.

    I have 7 imap accounts some with several subscribed folders. One is a gmail account. The others are from a personal .com. Everything works fine, including the gmail, except the last two accounts added will not sync the inboxes. The sent boxes sync fine, but I see no messages in the inboxes of just the last two accounts added. I know the imap server is working properly as the messages received to these accounts can be viewed via webmail, and the inboxes sync just fine on my email on my phone. I have been over and over all the settings from account to account. What am I missing. Please help.
    Thank you.

    Security Software and Related Troubles
    http://support.apple.com/kb/TS3125          Basic Troubleshooting
    http://support.apple.com/kb/TS3297          Advance Troubleshooting
    http://support.apple.com/kb/ts1629          Ports List
    Basics
    Check correct date, time, and timezone.
    Log in as administrative user account
    Verifiy iTunes updated
    Update Operating System “OS” (Ms Windows, Mac OSX)
    Update Modem / Router firmware
    Update security software (Antivirus, Firewall)
    Remove Outdated Security Software (Always restart afterwards)
    Advanced
    Remove Mobile Software not used anymore
    (Motorola, Android, Nokia, Sony, Blackberry)
    Add Apple programs to firewall permissions
    Allow Ports 80, 443, 3689, 5297, 5298, 5353, 8000-8999, and 42000-42999
    Permit Domains - apple.com , edgesuite.net , mzstatic.com
    Disable Security Software
    Remove Security Software (restart!)
    Delete “Hosts” file and restart, or edit and save.
    Check Browser Settings: Use SSL3, TLS1, Auto Detect, No Proxy Settings
    Reinstall itunes FOLLOWING ARTICLE while all security off / disabled or completely removed.
    http://support.apple.com/kb/HT1923
    http://support.apple.com/kb/HT1925

  • Ever since the last two updates of iOS 6 I have a blank email screen

    Ever since the last two updates I have a lank email screen. I've tried a warm reboot and a cold boot but with no results. I have nothing. Also the battery drains very quickly now. It used to last for two days quite easily and now it barely makes it thru the day and I've actually been using it less. In the time I've been composing this post, it's drained 6%. Additionally, there is considerable lag when using other functions such as photos. I have a 64GB iPad and no where near capacity so that shouldn't be an issue. We are, BTW, down 8% of battery function. Just so frustrating to have a wonderful piece of technology turn into crap.
    Prior to the last two updates, it was functioning normally. What's the fix? Please advise. And don't suggest a reboot or complete shutdown because I've tried that.
    I am using iPad 3 64GB
    Thanks in advance,
    Cheers,
    Brita
    PS Down 10% battery capacity

    Backup your ipad and then restore it as a new iPad with iTunes on your computer. Check to see if battery use has returned to normal. If it has not then your pad may have a hardware problem. If so contact Apple Support or visit an Apple Store.
    If it now functions normally after the restore as new then restore it from the backup you made previously and continue to monitor battery usage.

  • When using private browsing to view image results in Safari 5.1.3, only the first two rows of results are visible, the following four or so rows display greyed out place holders, and the safe search button is inoperable. Suggestions?

    When using private browsing to view image results in Safari 5.1.3, only the first two rows of results are visible, the following four or so rows display greyed out place holders, the remainder of the results page is blank, and the safe search button is inoperable. When I turn off private browsing and refresh the page, everything works again.
    Anyone else having this problem?

    I have got the same behaviour after the last Safari Update to 5.1.3. It seems that Safari now handles some scripts in a new way. If you debug the Google Website, you will see, that there is some Javascript Error, that seems to prevent to write into local cache. After some searching I wasn't able to finde a solution for this problem, other then disabling Javascript while private browsing to prevent the script loading. You then are able to use Google with the old layout. The option to disable JavaScript can be found in the Menu "Developer", wich has to be enabled in Safari in the options first.
    In my opinion this is a bug that is now occuring, because Apple changed something in private browsing and that has to be fixed by Google now, to run again. Or we will have to wait for 5.1.4, as you can read online Apple will change and bugfix the javascript engine in that version, perhaps this fixes the problem as well. I hope so!
    If anyone is in the developer program perhaps you could test this with the beta of 5.1.4 and tell us if it works.

  • How to populate the last empty row in Excel without using Report Generation Kit

    I wrote  a Labview SUb Vi that uses Report Generation Toolkit that is not loaded on the test stand. I am looking to convert it from Report Generation Vi like New Report,  Append Table to Report, Dispose Report. The tunneling through all the report generation Vis seems extensive. Code is attached. Thanks, Greg
    Greg

    Thank you that was a big help...
    I used the Excel Forum to get a lot of great ideas.  My code is almost working.
    There is a 2-D String Array that represents the String data that I am exporting to the Excel File Sheet 1 - 5.
    I am attempting to determine the last populated row in sheet 1 then populate the next row of Sheet 1.  Since all 5 sheets are populated every time, I should not have to search every sheet for the last row.
    I am getting two row populated on sheet 1 with seeming the same data.
     I found an AXExcelWrite2D ArrayWorksheet.vi that I thought would work.  I think there is a Table  determination that is causing me problems.  The link is http://lavag.org/topic/13324-labview-and-excel-activex-or-ado/.  The Application Invoke Node has a convert formula with "FromReferenceStyle" with R1C1 Attached to it.   I am not sure what this function is doing.  When I try to bring the function help up, there is a missing file.
    I am including both the new active x vi and the report generation vi.   Report Generation VI works.
    I would appreciate any assistance I can get on this.
    Thanks
    Greg
    Greg
    Attachments:
    REPU Test Data Population using Active X Write Save.vi ‏92 KB
    REPU Test Data Population.vi ‏60 KB

  • How can I make a report of all records with the date in the last two weeks?

    Hi!
    I have records with a date field, I want to create a report that only includes records with a date which is within the last two weeks of the system date, is this possible? Surely this is a basic database function, I would have thought, but I can find no help about it and there's very little in Mac Help about doing anything other than simple stuff with reports.
    I'm not a genius with databases, so help with any required formula or what have you would be great!

    Hi Jonathan,
    Here's a formula you can use with the Match function. 'Date' is the name of the date field, which must be a "Date" type field.
    'Date'>NOW()-14
    Match will select (highlight) all records matching the query. You'll then need to use Organize > Hide Unselected to show only the matches.
    Unfortunately, I haven't found a way to make the NOW() function work in a Find request, and neither Match requests nor Hide Unselected can be included in a recorded search, either of which would reduce repeating the report to a one-button operation.
    Regards,
    Barry

  • Why does safari show the last used page when the Ipad is turned on again

    Why does Safari show the last used page when the IPad is next used?

    Read this article:  Open iOS Safari to a blank page, http://www.macworld.com/article/159303/2011/04/ios_safari_blank_page.html

  • TS3274 Am getting an opaque strip across the bottom of screen for the last two days.....how can I get rid of this?

    Am getting an opaque strip about 1inch wide across bottom of home screen for the last two days.  How can I clear this please?

    Have you maybe removed all the apps from the dock? the dock is the strip that remains constant and shows the apps that you place there across all sprinboard pages.

Maybe you are looking for

  • [Partly solved] Nouveau driver crashes, nvidia-libgl-beta problem etc.

    I had the same issue as in thread 1446984 but disabling USB 3.0 in BIOS did not solve the problem. I have a new install, and are getting complete freezes on shutdown, but also on switching to another tty than the graphical (freeze after 1-20 seconds

  • Driver class not found?

    I'm using Java SE 6 and NetBeans 5.5, and I'm trying to connect to a JavaDB database that I created through NetBeans, but when I try to load the driver using Class.forName("org.apache.derby.jdbc.EmbeddedDriver") I get a ClassNotFoundException. The sa

  • Getting alert message while opening of downloaded excel file

    Hello All, I have written procedure which is used for downloading a page in excel format. the file is downloaded successfully .but when i am opening that file i am getting one alert message. The file you are trying to open, 'abc.xls',is in a differen

  • Failed recordings - g4 box - when are we getting a...

    Another weekend, and another failed recording. Getting quite annoyed by it now. Moto gp p4 - success (wasnt going to watch, just part of the series link) Fa cup - success Moto gp qualifying - failed I left my box on itv 2, to avoid any results being

  • Cannot download updates in iTunes

    Since iOS5 and iCloud migration, I have problem with my iTunes account. On my iPhone it often says that I am not authorized even though I am using the same account. In my iTunes on my Mac I see that there are many updates to apps I bought but it says