Tab page problem help needed

Hello all,
I have 8 tabs in my form and has different items in each tab. it has 2 seperations, Top single record based on block A and table A and bottom multi record based on block B and table A. (both blocks are based on same table but exists on 2 different block bcos of some functionality we had to design like this)
I have implemented a functionality where in i have a button called COPY and if user selects an item A from top block and click on COPY, the system will copy the value in item A from block A to same item A in block B only where checkbox is clicked(i have a checkbox in bottom multi record block). now everything is working fine.
my question is the checkbox which is in multi record block can be placed in only one tab, now it is in first tab but what should i do if i want to have checkbox in all the tab and based on the selection of the checkbox the diff items in diff tabs should be copied
please tell how to do this also let me know if anyone did not understand my question
Thanks
Vinod

as per my screen design, placing the checkbox on the main canvas instead of inside the tab is very difficult. the tab width is extended to the max.
i want to create only one checkbox and as the user changes the tab, the position of the checkbox will move to the diff tabs.
i do not want to create 8 checkboxes.
how to do this
Vinod

Similar Messages

  • Tab Pages Problem

    I have 5 tab pages which I enable programmatically when a button from another tab page is pressed. But when I click on the enabled tab pages with the mouse several times and then I click on a button in one of the enabled tab pages to enable another tab page, it's losing focus and after many clicks it works.
    What can be the problem?
    Please help. Thanks in advance.
    Marija

    I solved it using the WHEN-NEW-TAB-CHANGED trigger
    Thanks

  • Linked lists problem -- help needed

    Hello again. I've got yet another problem in my C++ course that stems from my use of a Mac instead of Windows. I'm going to install Parallels so I can get Windows on my MacBook and install Visual Studio this week so that I don't have to deal with these discrepancies anymore, but in the meanwhile, I'm having a problem here that I don't know how to resolve. To be clear, I've spent a lot of time trying to work this out myself, so I'm not just throwing this up here to have you guys do the work for me -- I'm really stuck here, and am coming here as a last resort, so I'll be very, very appreciative for any help that anyone can offer.
    In my C++ course, we are on a chapter about linked lists, and the professor has given us a template to make the linked lists work. It comes in three files (a header, a source file, and a main source file). I've made some adjustments -- the original files the professor provided brought up 36 errors and a handful of warnings, but I altered the #include directives and got it down to 2 errors. The problematic part of the code (the part that contains the two errors) is in one of the function definitions, print_list(), in the source file. That function definition is shown below, and I've marked the two statements that have the errors using comments that say exactly what the errors say in my Xcode window under those two statements. If you want to see the entire template, I've pasted the full code from all three files at the bottom of this post, but for now, here is the function definition (in the source file) that contains the part of the code with the errors:
    void LinkedList::printlist( )
    // good for only a few nodes in a list
    if(isEmpty() == 1)
    cout << "No nodes to display" << endl;
    return;
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->name; } cout << endl; // error: 'setw' was not declared in this scope
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->test_grade; } cout << endl; // error: 'setw' was not declared in this scope
    As you can see, the problem is with the two statements that contain the 'setw' function. Can anyone help me figure out how to get this template working and get by these two errors? I don't know enough about linked lists to know what I can and can't mess with here to get it working. The professor recommended that I try using 'printf' instead of 'cout' for those two statements, but I don't know how to achieve the same effect (how to do whatever 'setw' does) using 'printf'. Can anyone please help me get this template working? Thank you very, very much.
    For reference, here is the full code from all three files that make up the template:
    linkedlist.h (header file):
    #ifndef LINKED_LINKED_H
    #define LINKED_LINKED_H
    struct NODE
    string name;
    int test_grade;
    NODE * link;
    class Linked_List
    public:
    Linked_List();
    void insert(string n, int score);
    void remove(string target);
    void print_list();
    private:
    bool isEmpty();
    NODE *FRONT_ptr, *REAR_ptr, *CURSOR, *INSERT, *PREVIOUS_ptr;
    #endif
    linkedlist.cpp (source file):
    #include <iostream>
    using namespace std;
    #include "linkedlist.h"
    LinkedList::LinkedList()
    FRONT_ptr = NULL;
    REAR_ptr = NULL;
    PREVIOUS_ptr = NULL;
    CURSOR = NULL;
    void Linked_List::insert(string n, int score)
    INSERT = new NODE;
    if(isEmpty()) // first item in List
    // collect information into INSERT NODE
    INSERT-> name = n;
    // must use strcpy to assign strings
    INSERT -> test_grade = score;
    INSERT -> link = NULL;
    FRONT_ptr = INSERT;
    REAR_ptr = INSERT;
    else // else what?? When would this happen??
    // collect information into INSERT NODE
    INSERT-> name = n; // must use strcpy to assign strings
    INSERT -> test_grade = score;
    REAR_ptr -> link = INSERT;
    INSERT -> link = NULL;
    REAR_ptr = INSERT;
    void LinkedList::printlist( )
    // good for only a few nodes in a list
    if(isEmpty() == 1)
    cout << "No nodes to display" << endl;
    return;
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->name; } cout << endl; // error: 'setw' was not declared in this scope
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    { cout << setw(8) << CURSOR->test_grade; } cout << endl; // error: 'setw' was not declared in this scope
    void Linked_List::remove(string target)
    // 3 possible places that NODES can be removed from in the Linked List
    // FRONT
    // MIDDLE
    // REAR
    // all 3 condition need to be covered and coded
    // use Trasversing to find TARGET
    PREVIOUS_ptr = NULL;
    for(CURSOR = FRONT_ptr; CURSOR; CURSOR = CURSOR-> link)
    if(CURSOR->name == target) // match
    { break; } // function will still continue, CURSOR will
    // mark NODE to be removed
    else
    { PREVIOUS_ptr = CURSOR; } // PREVIOUS marks what NODE CURSOR is marking
    // JUST before CURSOR is about to move to the next NODE
    if(CURSOR == NULL) // never found a match
    { return; }
    else
    // check each condition FRONT, REAR and MIDDLE
    if(CURSOR == FRONT_ptr)
    // TARGET node was the first in the list
    FRONT_ptr = FRONT_ptr -> link; // moves FRONT_ptr up one node
    delete CURSOR; // deletes and return NODE back to free memory!!!
    return;
    }// why no need for PREVIOUS??
    else if (CURSOR == REAR_ptr) // TARGET node was the last in the list
    { // will need PREVIOUS for this one
    PREVIOUS_ptr -> link = NULL; // since this node will become the last in the list
    REAR_ptr = PREVIOUS_ptr; // = REAR_ptr; // moves REAR_ptr into correct position in list
    delete CURSOR; // deletes and return NODE back to free memory!!!
    return;
    else // TARGET node was the middle of the list
    { // will need PREVIOUS also for this one
    PREVIOUS_ptr -> link = CURSOR-> link; // moves PREV nodes' link to point where CURSOR nodes' points
    delete CURSOR; // deletes and return NODE back to free memory!!!
    return;
    bool Linked_List::isEmpty()
    if ((FRONT_ptr == NULL) && (REAR_ptr == NULL))
    { return true; }
    else
    { return false;}
    llmain.cpp (main source file):
    #include <iostream>
    #include <string>
    #include <iomanip>
    using namespace std;
    #include "linkedlist.h"
    int main()
    Linked_List one;
    one.insert("Angela", 261);
    one.insert("Jack", 20);
    one.insert("Peter", 120);
    one.insert("Chris", 270);
    one.print_list();
    one.remove("Jack");
    one.print_list();
    one.remove("Angela");
    one.print_list();
    one.remove("Chris");
    one.print_list();
    return 0;

    setw is the equivalent of the field width value in printf. In your code, the printf version would look like:
    printf("%8s", CURSOR->name.c_str());
    I much prefer printf over any I/O formatting in C++. See the printf man page for more information. I recommend using Bwana: http://www.bruji.com/bwana/
    I do think it is a good idea to verify your code on the platform it will be tested against. That means Visual Studio. However, you don't want to use Visual Studio. As you have found out, it gets people into too many bad habits. Linux is much the same way. Both development platforms are designed to build anything, whether or not it is syntactically correct. Both GNU and Microsoft have a long history of changing the language standards just to suit themselves.
    I don't know what level you are in the class, but I have a few tips for you. I'll phrase them so that they answers are a good exercise for the student
    * Look into const-correctness.
    * You don't need to compare a bool to 1. You can just use bool. Plus, any integer or pointer type has an implicit cast to bool.
    * Don't reuse your CURSOR pointer as a temporary index. Create a new pointer inside the for loop.
    * In C++, a struct is the same thing as a class, with all of its members public by default. You can create constructors and member functions in a struct.
    * Optimize your function arguments. Pass by const reference instead of by copy. You will need to use pass by copy at a later date, but don't worry about that now.
    * Look into initializer lists.
    * In C++ NULL and 0 are always the same.
    * Return the result of an expression instead of true or false. Technically this isn't officially Return Value Optimization, but it is a good habit.
    Of course, get it running first, then make it fancy.

  • Layout Problem, Help Need

    I developed one custom Report, which will print on pre print stationary. Really Problem here is when i send to printer it will printer properly on 8/12 By 11 Page, but i don't what is the reason it is not printing on Page after 7 Inch, even i thought i increase layout width it dos't Print after 7 Inch on Page, can i know why it is doing like these, any clue, please let me know.
    Report Verions : 6i
    Main Section : Width => 8.5
    Height => 12.5
    Orientation => Portrait
    Report Width => 80
    Report Height => 90
    Your Help Rally appreicate in advance.
    Thanks,
    Praveen

    You may need to contact support and actually show them the report to really solve the problem, but here are a few things to check first:
    a) Check the report margins, make sure that they will allow the report body to display past 7".
    b) Check that the frames and repeating frames are set to horizontally variable, or expand so that they can grow if required.
    Hope this helps,
    Danny

  • Multiple problems - help needed please

    I've got so many problems that I've completely confused myself. So, if anyone can help….
    I was previously using a D-Link D-320T DSL modem on BT Broadband in the UK. The modem was set up in bridge mode, and hooked up via ethernet to my Airport Extreme (n). The AEBS would use PPPoE and successfully connected to the internet, as well as handling all my network needs.
    Everything worked and everything was fine, allowing screen sharing and file sharing between my Mac Mini, MacBook and MacBook Pro.
    Earlier this week, the internet connection dropped and I couldn't find the cause. Resetting the router and hooking it up directly to my Mac Mini, I connected to it (192.168.1.1) and had it connect to the internet itself.
    It did so, and distributed IP addresses to the Mac Mini…but after 30 seconds my internet connection dropped, and looking in network preferences, I found that the modem had jumped from a router address of 192.168.1.1, to an 82.xx.xx.xx address, which was clearly the public IP address forwarded by my ISP. So it seemed like it was working in a sort of bridge mode still.
    I reset the router numerous times, tried switching it into full bridge mode etc, but the AEBS was unable to use it to connect via PPPoE as before, because the D-Link would play nice for 30 seconds, then jump around with addresses.
    Very strange, but I assumed the modem was just broken.
    I dug out my spare router, being the Netgear DG632.
    I managed to get this hooked up to the internet really quickly, and using an ethernet connection to the Mac Mini, it all appeared fine. However, as I started looking around the internet, I noticed that although google.com would open up, any subsequent links, and indeed any other domains I tried to visit would not open.
    Resetting the router seemed to solve this.
    I then hooked up my AEBS to the Netgear and, after pondering which way to use it, I found the only way I could get it to play nice was to have the AEBS in bridge mode itself, meaning that the Netgear would do all the routing work.
    The MacBook connected to the airport, and all seemed okay….
    …However, I then noticed that the internet connection would randomly drop. Web pages would not open (in any browser), and downloads which were under way could be seen in the Safari download manager to suddenly crash.
    The same was true on the Mac Mini - web browsing stopped at random. I had however hooked this up to the airport via an ethernet cable, I noticed that, although the "internet" wasn't working, other connections like torrents were still active.
    Reconnecting the Netgear router directly to the Mac Mini allowed me to see in its diagnostics that it still held a connection to the ISP and still had an external IP address.
    Again, a reset of the router seemed to resolve things….but only for a few hours. And whilst the Mac Mini seemed resilient, the airport connection to the MacBook was terrible. (I haven't even tried using the MBP yet).
    Furthermore, I noticed that networking between devices had severely been crippled. Although the Mac Mini and MacBook were visible to each other in the shared devices section of finder, clicking the link meant waiting literally four minutes for a connection to establish, and screen sharing timed out, from either direction.
    I then tried assigning everything static IP addresses, but this seemed to confuse matters with the router.
    Under the impression that the Netgear clearly couldn't handle the job of routing my network, I tried to set it up in bridge mode and use the AEBS as before.
    Reading around the internet (on my iPhone at this stage), I realised there was no obvious "bridge mode" option, but I was told to set the device mode as router, and then say "no" when it asks if there are any login details for the ISP (under Basic Router Settings). This was done.
    However, setting up the AEBS with PPPoE had no success, and the connection was never made.
    At this stage, I'm living with a crippled network and two routers, neither of which do what I want.
    Can anybody advise me on a solution to fix either router/modem?
    I want to use the modem in bridge mode and have the AEBS handle everything as before, as it was perfect.
    At this stage, which a frazzled brain (after messing with everything for several hours), something step-by-step would be great.
    Help! (and thanks)

    I have also recently developed problems with my airport network. I was playing my air tunes when it started freezing so i reset my airport extreme and expresses. When I tried to setup my networks again I en counted problems like airport utility couldn't find the extreme base station or when it did it couldn't read the setting. I eventually managed to create a network then when i tried to connect to the network it either asks for the password (even though its saved in keychain) When I enter the password it keeps saying "connection time out". I then turn airpot off & on and it the sometimes reconnects automatically without requiring a password.
    My internet then will sometime start working again but then drop out completely or take an age to load.
    The network will then sometimes disappear from the network list and I'm unable to see it at all.
    No matter how many time i reset the base station it doesn't make a difference.
    I my broadband modem is also a wireless router and Im experiencing similar problems with that. I took my laptop to work and tried to connect to the network at work and it seems to work ok except it did ask for a password the time out but did it only once.
    I did download a security update recently but im not sure if its that that is causing it
    please help me as well as I'm stuck without my network

  • Interesting problem - Help Needed

    I am currently working on developing a report that has a cross tab layout. The number of columns are arbitrary and decided at run time. I am trying to create a
    report template. The XML feed for the report has the following structure
    <group name="SETTLE_INFO" source="settlementlvl">
         <element name="SETTLE_DATE" value="umb_settlement_date"/>
         <element name="BANK_NAME" value="bank_name"/>
         <element name="PRODUCT_NAME" value="product_name"/>
         <element name="PRODUCT_LVL_TOTAL_BAL" value="prtdlvl_balance"/>
         <element name="PRODUCT_LVL_TOTAL_ACCNTS" value="prtdlvl_account_count"/>
    </group>
    Here each settlement date may have many banks having many product levels. I am trying to summarize this information in a cross tab report which has the following structure:
    For each settlement date (row) -> for each group of Banks(column) -> for each group of products under each Bank(column) -> display total summation of bal and accounts for each product (cell).
    How do I generate these multiple levels of dynamic columns at run time?
    Ashwin

    Thanks for your help. I am able to generate columns at run time but my problem is a bit more complex.
    I have to generated a table structure like following:
    | UMB Settlement Date | Bank Name1 | Bank Name2 |
    | ------------------------------------------------------------------------------------------------------------------
    | | Product Name1 | Product Name2 | Product Name1 | Product Name2 | Product Name3 |
    |--------------------------------------------------------------------------------------------------------------------------------------------------
    The problem that I am facing is that I am not able to get the desired structure like this, i.e encapsulating the products columns under the bank column.
    My RTF template look like the following:
    UMB Settlement Date <?horizontal-break-table:1?> |     <?for-each-group@column:SETTLE_INFO;./BANK_NAME?><?BANK_NAME?><?end for-each-group?> |
    | <?for-each-group@column:SETTLE_INFO;./BANK_NAME?><?variable@incontext:G3;BANK_NAME?><?for-
    | each-group@column://SETTLE_INFO;./PRODUCT_NAME?><?if: count(current-group()
    | [BANK_NAME=$G3])?><?PRODUCT_NAME?><?end if?><?end for-each-group?><?end for-each-group?>
    --------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------
    The bank header column and the product header column are out of sync. How do I make sure that the product name column is contained within the header of the bank name column.
    Please let me know if you need more information about this.
    Ashwin

  • Trigonometry problem- help needed big time!

    Hello, thanks for clicking. I am filling in a Flash template
    for a client- and the template purchased turned out to be in
    Spanish. I don't speak more than 2-3 words of Spanish and I'm stuck
    in one place. I don't think Spanish is required to solve the
    problem, if you're already good at trig. Can someone please help me
    out?
    Here is what I need to fix. The "rollaround" menu at the top
    of the page here-
    http://www.rollwiththetank.com/l2
    is not lining up correctly when the 3rd, 4th, and 5th menu
    buttons are clicked. Try them out and see what I mean. If this code
    was in english I know I would be able to crack it, but as it is I'm
    stumped.
    Here is the code controlling the rollaround-
    Thanks to anyone who can help clue me in on what I'm
    missing.

    http://translation2.paralink.com/
    for the comments anyways....
    Sorry I don't speak Spanish either, this is where I go when I
    need it

  • Audio Console Problem - Help Need

    Hey everyone.
    I'm having a problem here with my creative audio console. I have a Soundblaster Audigy 2 Value series. I've been using this card for about month now and everything has been working great. I've been using the latest beta drivers since i got the card and i've had no problems. I'm using the latest audio console too and it's great. I need the console for the Advanced EQ settings.
    The problem is: I went into the console to change the EQ to 'rock' but when i accessed the 'EAX' tab, it was all blank, no settings, nothing. If i go to the 'speakers' tab, there is nothing to choose from also. Anyone got any idea what the problem is?
    Audio works fine, just not these features.
    I have had this problem occasionally before, but after a restart of windows, everything re-appears again. This time nothing is coming back after a restart.
    I've tried re-installing the drivers and console, but nothing works.
    Any help would be very greatly appreciated. I do love my Advanced EQ.
    Here is a few screenshots of what the console looks like:
    http://www.serenityindarkness.com/images/creativescrn.JPG
    http://www.serenityindarkness.com/images/creativescrn2.JPG

    I am thinking, the beta read me states, some audio console apps may not fuction. The only last resort thing I can think of is a 00% clean sweap. Unistall drivers and ALL media source ap
    ps.
    Also make sure to delete install sheild and delete C:\Program Files\Creative folder .
    Use driver cleaner after you uninstall drivers also, this is to remove all reg keys.
    In C:\Program Files folder you should have an installshield folder (hidden) in there are GUID named folders.
    Go through them all and any that have a reference to creative, delete the folder.
    Install your drivers and apps from the CD. Then update all the media source ap
    ps.
    Then update you driver. Do not uninstall the drivers though, just over right them and make sure to say yes to over right shared driver files.
    NOTE: When you update media source apps, use the auto updater.
    Before you do this though, as a test go to windows control panel and you should have audio HQ in here, open it and see if you can change EAX settings in here. If you can, then its just a bad install of media source ap
    ps.
    Hope this hel
    ps.

  • How to find end of the Page in Crystal ? or I need to add one Horizontal line at the end of the page.--- URGENT HELP NEEDED

    Hi friends,
    I need to add one horizontal line  for the detail section at the end of the page.
    I tried to put that line in page footer and i tried with Box also. Both are not properly working. Some space problem is coming.
    Is there any feature to find end of the Page.
    I want report format like this.
    set id  |  set name |  date  Name
      1         x           dddd   vijay
                            dddd   sarathi
                            dddd    reddy
    (End of the page)
    Thanks in advance...
    vijay.

    Do you know how many detail records are showing up per page?
    If you do - you could create a Details B section that is suppressed except for on Record N (where N is a counter, and N is the last Detail record that will show up on a page).
    The Page footer is indeed built so that it will be rendered at the bottom of your physical page of paper.

  • Pagination problem, help needed to finish it

    Hi friends,
    I am in need to use pagination in my Web Application, since i have a tons of values to display as a report. I develop a pagination logic, tested it seperately and it works fine.When i try to implement it to current project it works, but no result was displayed as it displayed in testing..
    Here is the file i tested seperately..
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ page import="com.rajk.javacode.servlets.dbmodel"%>
    <%
    int count=0;
    int userid = 0;
    String g = null;
    dbmodel db=new dbmodel();
    Statement ps = null;
    ResultSet rs = null;
    db.connect();
    String SQL = "select * from tbl_rmadetails";
    ps=db.con.createStatement();
    rs=ps.executeQuery(SQL);
    rs.last();
    count= rs.getRow();
    rs.beforeFirst();
    int currentrs;
    int pagecount=(count/2);
    if((pagecount*2)+1>=count)
    pagecount++;
    out.println("<table width=363 height=20 align=center border=0 cellpadding=0 cellspacing=0><tr><td>");
    for(int i=1;i<pagecount;i++)
    out.println("<font face=verdana size=1><a href=pagination.jsp?pagenum="+ i +"&userid="+ userid +">["+ i +"]</a></font>");
    String pagenum=request.getParameter("pagenum");
    if(pagenum==null)
    out.println("<br><strong><font face=verdana size=1 color=white>Page 1 of " + (pagecount-1) +"</font></strong>");
    currentrs=0;
    else
    out.println("<br><strong><font face=verdana size=1 color=white>Page " + pagenum + " of " + (pagecount-1) + "</font></strong>");
    pagecount=Integer.parseInt(pagenum);
    currentrs=(2*(pagecount-1));
    out.println("</td></tr></table>");
    //messageboard
    String sql="select * from tbl_rmadetails order by date LIMIT " + currentrs + ",2";
    rs=ps.executeQuery(sql);
    while(rs.next())
    %>
    <br>
    <table width="363" height="64" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
    <tr>
    </td>
    <td width="126" height="19" align="center" valign="top"><font face="verdana" size="1"><strong><%=rs.getString("serial_no")%></strong></font></td>
    <td width="126" height="19" align="center" valign="top"><font face="verdana" size="1"><strong><%=rs.getString("status")%></strong></font></td>
    </tr>
    </table></td>
    </tr>
    </table>
    <%
    rs.close();
    %> And here is the file in which i want to implement the pagination..
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ page import="com.rajk.javacode.servlets.dbmodel"%>
    <%
    int x1=0;
    int userid = 0;
    int count = 0;
    String raj=request.getParameter("q");
    String temp=null;
    String SQL = null;
    String SQLX = null;
    int currentrs;
    try
    dbmodel db=new dbmodel();
    Statement ps = null;
    ResultSet rs = null;
    db.connect();
    if(raj.equals("All Vendor"))
    SQL = "SELECT * FROM tbl_rmadetails,tbl_customer,tbl_item,tbl_vendor WHERE tbl_rmadetails.customer_id=tbl_customer.customer_id AND tbl_rmadetails.item_id=tbl_item.item_id AND tbl_rmadetails.vendor_id=tbl_vendor.vendor_id AND tbl_rmadetails.status='STS'";
    else
    SQL = "SELECT * FROM tbl_rmadetails,tbl_customer,tbl_item,tbl_vendor WHERE tbl_rmadetails.customer_id=tbl_customer.customer_id AND tbl_rmadetails.item_id=tbl_item.item_id AND tbl_rmadetails.status='STS' AND tbl_rmadetails.vendor_id=tbl_vendor.vendor_id AND tbl_rmadetails.vendor_id='"+raj+"'";
    ps=db.con.createStatement();
    rs=ps.executeQuery(SQL);
    rs.last();
    count= rs.getRow();
    rs.beforeFirst();
    rs.close();
    int pagecount=(count/6)+1;
    if((pagecount*6)+1>=count)
      pagecount++;
    //out.print(count);
    %>
    <%
    for(int i=1;i<pagecount;i++)
    out.println("<font face=verdana size=1><a href=http://localhost:8080/rmanew/sendtovendor.jsp?pagenum="+ i +"&userid="+ userid +">["+ i +"]</a></font>");
    String pagenum=request.getParameter("pagenum");
    if(pagenum==null)
    out.println("<br><strong><font face=verdana size=1 color=white>Page 1 of " + (pagecount-1) +"</font></strong>");
    currentrs=0;
    else
    out.println("<br><strong><font face=verdana size=1 color=white>Page " + pagenum + " of " + (pagecount-1) + "</font></strong>");
    pagecount=Integer.parseInt(pagenum);
    currentrs=(6*(pagecount-1));
    if(raj.equals("All Vendor"))
    SQLX = "SELECT * FROM tbl_rmadetails,tbl_customer,tbl_item,tbl_vendor WHERE tbl_rmadetails.customer_id=tbl_customer.customer_id AND tbl_rmadetails.item_id=tbl_item.item_id AND tbl_rmadetails.vendor_id=tbl_vendor.vendor_id AND tbl_rmadetails.status='STS' LIMIT"+currentrs+",6";
    else
    SQLX = "SELECT * FROM tbl_rmadetails,tbl_customer,tbl_item,tbl_vendor WHERE tbl_rmadetails.customer_id=tbl_customer.customer_id AND tbl_rmadetails.item_id=tbl_item.item_id AND tbl_rmadetails.status='STS' AND tbl_rmadetails.vendor_id=tbl_vendor.vendor_id AND tbl_rmadetails.vendor_id='"+raj+"' LIMIT"+currentrs+",6";
    rs=ps.executeQuery(SQLX);
    if(rs!=null)
    while(rs.next())
    %>
    <link rel="stylesheet" type="text/css" href="chromejs/stvcss.css" />
    <table width="100%" border="0">
    <tr bgcolor="#0066CC">
    <td align="center"><span class="style2">Date</span></td>
    <td align="center" class="style2">Product Details</td>
    <td align="center" class="style2">Serial No</td>
    <td align="center" class="style2">Fault Desc</td>
    <td align="center" class="style2">Customer Name</td>
    <td align="center" class="style2">Vendor Name</td>
    <tr>
    <tr bgcolor="#CCCCCC">
    <td align="center"><%=rs.getDate("date")%></td>
    <td align="center"><%=rs.getString("item_description")%></td>
    <td align="center"><%=rs.getString("serial_no")%></td>
    <td align="center"><%=rs.getString("fault_desc")%></td>
    <td align="center"><%=rs.getString("customer_name")%></td>
    <td align="center"><%=rs.getString("vendor_name")%></td>
    </tr>
    </table>
    <%
    else
    out.println("Result Set is empty");
    catch(Exception e)
    System.out.println("Error: " + e);
    response.setContentType("text/xml");
    response.setHeader("Cache-Control", "no-cache");
    %>The output i got when i ran this page is..
    [1]
    And no records displayed matching the query, but there is a lot of datas in DB as a result of the queries i mentioned here..
    Please help me friends...

    Debug your code. Check what happens and what happens not.
    You could make it much easier if you wrote Java code in Java classes rather than JSP files. Now it's one big heap of mingled -and thus hard to maintain/test/reuse- code.

  • Linked excel file problem - Help needed

    I have 2 excel files in the same directory in Content Services. The "destination" file has a link in one of its cells to a cell in the "source" file. I want to be able to open the "destination" file and update the data if any changes have been made to the "source" file.
    My problem is when I try to do this i get an error that says "This workbook contains one or more links that cannot be updated" and two options.
    1) To change the source of links, or attempt to update values again, click Edit Links.
    2) To open the workbook as is, click Continue.
    If I click Edit Links I am then presented with a screen where I can open the "source" file. When I try to do this though I am given a login screen. Supplying a valid Content Services username and password doesn't work and I cannot open the file.
    Can anyone tell me how I can open the "destination" file without having to open every "source" file? I don't want to open the "source" files because there could be dozens of "source" files for one "destination" file.

    setw is the equivalent of the field width value in printf. In your code, the printf version would look like:
    printf("%8s", CURSOR->name.c_str());
    I much prefer printf over any I/O formatting in C++. See the printf man page for more information. I recommend using Bwana: http://www.bruji.com/bwana/
    I do think it is a good idea to verify your code on the platform it will be tested against. That means Visual Studio. However, you don't want to use Visual Studio. As you have found out, it gets people into too many bad habits. Linux is much the same way. Both development platforms are designed to build anything, whether or not it is syntactically correct. Both GNU and Microsoft have a long history of changing the language standards just to suit themselves.
    I don't know what level you are in the class, but I have a few tips for you. I'll phrase them so that they answers are a good exercise for the student
    * Look into const-correctness.
    * You don't need to compare a bool to 1. You can just use bool. Plus, any integer or pointer type has an implicit cast to bool.
    * Don't reuse your CURSOR pointer as a temporary index. Create a new pointer inside the for loop.
    * In C++, a struct is the same thing as a class, with all of its members public by default. You can create constructors and member functions in a struct.
    * Optimize your function arguments. Pass by const reference instead of by copy. You will need to use pass by copy at a later date, but don't worry about that now.
    * Look into initializer lists.
    * In C++ NULL and 0 are always the same.
    * Return the result of an expression instead of true or false. Technically this isn't officially Return Value Optimization, but it is a good habit.
    Of course, get it running first, then make it fancy.

  • 9i Developer suite login problem. help needed ASAP

    i installed oracle 9i developer suite, my problem is i can't login. this is the error ora12560: TNS: oracle adapter error.
    or
    if i put the hostname it displays a no listener error and closes. i tried to create a listener in net configuration assistant, but i can't see it in services.
    i'm using windows XP. and not conneted to any machine.
    do i need any changes on my window settings?
    please help...
    thanks
    here is my listener.ora
    ABC =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc)(PORT = 1521))
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\OraHome)
    (PROGRAM = extproc)
    tnsnames.ora
    TEST.ABC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ABC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = test.ABC)
    ORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oracle)

    check your operating system network protocole is TCP/IP is installed if so check is there any problem with these protocoles. this error is encounter generally due operating system network protocoles it is not an oracle error. here is discription.
    TNS-12560 TNS:protocol adapter error
    Cause: A generic protocol adapter error occurred.
    Action: Check addresses used for proper protocol specification. Before reporting this error, look at the error stack and check for lower level transport errors.For further details, turn on tracing and re-execute the operation. Turn off tracing when the operation is complete.

  • Page Peel Help Needed.

    Cheers, been struggling with this and would like to know if anyone can shed some light. I have a Page Peel here that works fine in a plain index.html with nothing except the peel on it:
    Here are the source and picture:
    The problem is when I try to apply the Page Peel to my existing high_res.html, it doesn´t work, it only shows my flash movie background but no peel!
    Here are the source and picture:
    Here is the code used on my high_res.html
            // Forneça um conteúdo alternativo para navegadores que não oferecem suporte     // para scripts, ou para aqueles em que os scripts estejam desativados.       O conteúdo HTML alternativo deve ser inserido aqui. Este conteúdo requer o Adobe Flash Player.       Obter o Flash
    I have no idea what can be wrong here, been doing some research and read something about pagel peel being under flash file due to lack of transparancy, but I gave up, headache is getting stronger.
    Hope someone can help me out here.
    Thanks

    Problem solved!
    Great thing about receiving no help is having to somehow figure it all out by yourself.
    Mission accomplished.

  • Detail page navigation help needed

    I am running 9iAS 9.0.2 and have a MD Form that displays 10 detial records at a time. I need to develop functionality to allow my users to move between detail pages without having to click "Next","Next","Next",etc....
    I was thinking of using the functionality of the onDetailNext procedure as part of the return value in a combobox LOV for the detail pages, but I don't know what to set the variables to, or if this is even possible.
    My code outline right now is. THis does a simple next. I don't know how to set it to jump to the 3rd or 4th page etc.
    BEGIN
    onDetailNext(
    p_block_name => null,
    p_object_name => null,
    p_instance => null,
    p_event_type => null,
    p_user_args => null,
    p_session => p_session
    END;
    Help on this, or info on a better way to do this would be great.

    As of now, there aren't any simple ways to jump to the nth page. You will have to do a lot of coding yourself.
    Please see the form's package body to get an idea how form's paginate between multiple records.

  • (  jrew.exe encounterd problem,help needed  )

    MY DEARS
    I AM FACING A PROBLEM ON MY P4 LAPTOP AND DESKTOP COMPUTOR ON A PRGRAMM ON SURGERY CD ,WHICH ON START UP DIPLAYS MESSAGE ( jrew encountered a problem,needs to close-)
    WHAT IS THE SOLUTION .HELP IS APPERECIATED.
    MANY REGARDS FOR HELPER.
    DR QAMAR

    Hi Jamie,
    The install log looks fine, but the last entry was September 9th.  I suspect the crash is occuring before the new log entries can be made. 
    Could you please open a new bug report on this over at bugbase.adobe.com?  We'll want to get a crash dump so we can try to figure out what might be causing this to happen.  You didn't mention what OS you were running, but I found this tech doc on the net that describes how do generate the .dmp file:
    Creating Dr. Watson crash dumps
    Thanks,
    Chris

Maybe you are looking for

  • Our family used to operate under one itunes account.  We now need to have our own accounts.

    Our family used to operate under one itunes account.  We now need to have our own.  How do we keep our own downloads for the new accounts?  We have realized now that we are all in the icloud world we have each others downloads on our devices.

  • Error while trying to deploy the application (invalid AccountType).

    Hello. Error while trying to deploy the planning application (EPMA). invalid AccountType Rejecting Member PL_Brt_L.2. invalid AccountType Rejecting Member PL_Brt_L.3.2. And not updated outline. PL_Brt_L.2 - Account Type = Revenue PL_Brt_L.3.2 - Accou

  • Multiple rows in infopackage doesn't work

    Hi all, I have an infopackage and on the selection screen I want to enter 3 ranges for material: for example: from 1 -> 3000 from 3002 -> 4000 from 4002 -> 9999 when I execute the infopackage, only the materials from the first range are loaded. when

  • More than 13 digits

    Hi, Is there any solution to allow me key in more than 13 digits (without decimal place) for the amount in one transaction? (FTR_CREATE) Thanks, Yang

  • Cut a heart shape out of one photo and put on another

    I just installed pse 10 tonight and I need to frame out a part of a picture in a heart shape and put that heart shape on a layer so I can put that layer over my background photo.  How do I do this.  Also, the pse 10 box shows a couple with happy anni