Column NotFound...Why? [Help] !!!

Hello all,
I am recently got bogged down and embaraced that why this error is bugging me 'coz i have done everything well...
here is the method in which it is bugging me off....
I have Indicated from which line the program bugs me...
" whatever column name u give it says Cannot find Column name: "your coloumn"...
If i press <"Enter"> after entering PaymentID the program finds the cheque, and displays the record... but it gives me mesg about which i mentioned above...(at the line in program i have mentioned) I entered agian then the program works fine...
Plz help me/////
fahad...
// Method name: findCheque()
// @param apc: APCheque ( A Gui or form of the cheque )
// @param paymentID: int type, it is the primary key in the table...
private void findCheque(APCheque apc, String paymentID) {
String findQuerry =
"SELECT f.payment_ID, f.amount, f.pay_Date, f.currency_ID, f.payment_type_ID, f.purchase_ID, f.vendor, s.currency_ID, s.currency_name, s.symbol, p.description from fc_payable f, st_currency s, st_paymenttype p "
+ "WHERE f.payment_ID = '"
+ paymentID
+ "' AND f.currency_ID = s.currency_ID AND p.payment_type_ID = f.payment_type_ID ";
try {
rs = null;
st = con.createStatement();
rs = st.executeQuery(findQuerry);
rs.next();
if(rs.getString("payment_ID") == null){
     this.clearFields(apc);
     JOptionPane.showMessageDialog(apc, "No Record Found", "Result Message", JOptionPane.INFORMATION_MESSAGE);
     else {
     this.oldid = rs.getString("payment_ID");
/*<Currency Selection>
*     If the payment ID is found, then Currency ComboBox displays the Currency details....
* </Currency Selection>*/
String currency =
Integer.toString(rs.getInt("currency_ID"))
+ "-"
+ rs.getString("currency_name")
+ "-"
+ rs.getString("symbol");
//System.out.println("Currency is found to be as: " + currency);
apc.getcmbCurrency().setSelectedItem(currency);
/* <Payment Mode Selection>
* If the payment ID is found, then Payment Mode ComboBox displays the Payment Mode details....
* </Payment Mode Selection>*/
String paymentMode =
Integer.toString(rs.getInt("payment_type_ID"))
+ "-"
+ rs.getString("description");
// System.out.println("Payment Modeis found to be as: " + paymentMode);
apc.getcmbPaymentMode().setSelectedItem(paymentMode);
          /* <purchaseID Selection>
          * Purchase Id gets selected in the Combo Box if payment ID is rightly matched....
          * </purchaseID Selection>*/
          String purchaseID = Integer.toString(rs.getInt("purchase_ID"));
          apc.getcmbPurchaseID().setSelectedItem(purchaseID);
          /* <date Selection>
          * Date displayed....
          * </date Selection>*/
----> Bugging me here <-----
          int i = rs.findColumn("pay_Date"); //from here
          System.out.println(i);
          /*if(!apc.getcmbMonth().isVisible() && !apc.getcmbMonth().isVisible()){
          apc.getcmbMonth().setVisible(true);
          apc.getcmbDay().setVisible(true);
               // String dateString = rs.getString("vendor").toString();
               // System.out.println(dateString);
               String year = dateString.substring(0, dateString.indexOf("-"));
               String month = dateString.substring(dateString.indexOf("-")+1, dateString.lastIndexOf("-"));
               String day = dateString.substring(dateString.lastIndexOf("-")+1);*/
               //System.out.println("Date : "+ rs.getDate("pay_Date").toString());
               apc.gettxtDate().setText(rs.getDate("f.pay_Date").toString());
} catch (SQLException exp) {
JOptionPane.showMessageDialog(null, exp);
}

// Method name: findCheque()
// @param apc: APCheque ( A Gui or form of the cheque )
// @param paymentID: int type, it is the primary key in the table...
private void findCheque(APCheque apc, String paymentID) {
String findQuerry =
"SELECT f.payment_ID, f.amount, f.pay_Date, f.currency_ID, f.payment_type_ID, f.purchase_ID, f.vendor, s.currency_ID, s.currency_name, s.symbol, p.description from fc_payable f, st_currency s, st_paymenttype p "
+ "WHERE f.payment_ID = '"
+ paymentID
+ "' AND f.currency_ID = s.currency_ID AND p.payment_type_ID = f.payment_type_ID ";
try {
rs = null;
st = con.createStatement();
rs = st.executeQuery(findQuerry);
rs.next();
if(rs.getString("payment_ID") == null){
this.clearFields(apc);
JOptionPane.showMessageDialog(apc, "No Record Found", "Result Message", JOptionPane.INFORMATION_MESSAGE);
else {                                               //Else block start
this.oldid = rs.getString("payment_ID");
// Here it Works.... --->[1]
/* <date Selection>
* Date displayed....
* </date Selection>*/
          String dateString = rs.getDate(3).toString();
          apc.gettxtDate().setText(dateString);
/*<Currency Selection>
* If the payment ID is found, then Currency ComboBox displays the Currency details....
* </Currency Selection>*/
String currency =
Integer.toString(rs.getInt("currency_ID"))
+ "-"
+ rs.getString("currency_name")
+ "-"
+ rs.getString("symbol");
//System.out.println("Currency is found to be as: " + currency);
apc.getcmbCurrency().setSelectedItem(currency);
/* <Payment Mode Selection>
* If the payment ID is found, then Payment Mode ComboBox displays the Payment Mode details....
* </Payment Mode Selection>*/
String paymentMode =
Integer.toString(rs.getInt("payment_type_ID"))
+ "-"
+ rs.getString("description");
// System.out.println("Payment Modeis found to be as: " + paymentMode);
apc.getcmbPaymentMode().setSelectedItem(paymentMode);
/* <purchaseID Selection>
* Purchase Id gets selected in the Combo Box if payment ID is rightly matched....
* </purchaseID Selection>*/
String purchaseID = Integer.toString(rs.getInt("purchase_ID"));
apc.getcmbPurchaseID().setSelectedItem(purchaseID);
/* <date Selection>
* Date displayed....
* </date Selection>*/
// Commented code... Buggy Code in my old Version....
----> BUGGING ME FROM HERE <-----
int i = rs.findColumn("pay_Date"); //from here
System.out.println(i);
/*if(!apc.getcmbMonth().isVisible() && !apc.getcmbMonth().isVisible()){
apc.getcmbMonth().setVisible(true);
apc.getcmbDay().setVisible(true);
// String dateString = rs.getString("vendor").toString();
// System.out.println(dateString);
String year = dateString.substring(0, dateString.indexOf("-"));
String month = dateString.substring(dateString.indexOf("-")+1, dateString.lastIndexOf("-"));
String day = dateString.substring(dateString.lastIndexOf("-")+1);*/
//System.out.println("Date : "+ rs.getDate("pay_Date").toString());
//this what i want to get it here, but doesn't work here but in above
// mentioned code it works there....:()
apc.gettxtDate().setText(rs.getDate("f.pay_Date").toString());
} catch (SQLException exp) {
JOptionPane.showMessageDialog(null, exp);
I marked the code which works fine in the NEW version and also the old code (Commented)...
I just copy it to the new Location ( @ the start of the first Else Block) and there it works fine... plz tell me... WHY?
Probably THE JVM BUG or JAVA BUG....?
ONE MORE THING: It is working coz i have used the integer to locate the column named: "pay_Date"...no ....I have tried both ways ...it is just not working at the end of the else block...whatever u tried i won;t work...whichever column u tried to display it won't work...but if u write it in begining of the else block works..... ;( ;)
More replies to this thread would be appreciable and helpful for the JAVA Community... :)
Fahad.... J@V

Similar Messages

  • Pages stops column width, why?

    http://dl.dropbox.com/u/11608065/ScreenShot1.png
    This is the first screen shot. I made my first row with 4 columns and sized them exactly how I want them.
    http://dl.dropbox.com/u/11608065/ScreenShot2.png
    This next screen shot show you Pages stopping me from extending my column any further to the right, to match it up with my first row. I cannot pull that column border anymore, Pages literally stops the mouse. Why?
    http://dl.dropbox.com/u/11608065/ScreenShot3.png
    It gets even weirder. When I make 4 columns on the next row, just out of curiosity, it doesn't even let me extend the column to the same width as the previous row. What you see is the furthest it will allow me to extend the column.
    Please help...FYI, there is only one table with multiple rows on this document and you can see that it's doing this on both columns on each side of the document.

    There's a screenshot showing I'm really using Pages '09.
    http://dl.dropbox.com/u/11608065/ScreenShot4.png
    This screenshot shows the inspector with that particular column highlighted. The column width is grayed out, doesn't show me the width of the column, and doesn't allow me to edit the width of the column. Why?!
    http://dl.dropbox.com/u/11608065/ScreenShot5.png
    This screenshot shows the inspector with the next column highlighted. The column width is there, 0.88", and I can edit it if I want.
    http://dl.dropbox.com/u/11608065/ScreenShot6.png
    This screenshot shows the inspector with the first column highlighted in the 2nd row. Again, column width is grayed out, doesn't show me the width of the column, and doesn't allow me to edit the width of the column. Why?!
    http://dl.dropbox.com/u/11608065/ScreenShot7.png
    This screenshot shows the inspector with the next column highlighted in the 2nd row. Instead of showing the column width like it did on the 1st row, for whatever reason, this time it doesn't show the column width and it's grayed out. Why?!
    http://dl.dropbox.com/u/11608065/ScreenShot8.png
    Please tell me that there's a good reason for all this and that I'm doing it wrong.

  • How do I set my side column width & height - Help ?

    Please see my website I am building using a Dreamweaver template  - it has a spry accordian menu in the right column - I am not skilled enough to understand how to set the height and width of this column   Can someone help?

    Here is spry css:
    * SpryAccordion.css - Revision: Spry Preview Release 1.4 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    /* This is the selector for the main Accordion container. For our default style,
    * we draw borders on the left, right, and bottom. The top border of the Accordion
    * will be rendered by the first AccordionPanelTab which never moves.
    * If you want to constrain the width of the Accordion widget, set a width on
    * the Accordion container. By default, our accordion expands horizontally to fill
    * up available space.
    * The name of the class ("Accordion") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style the
    * Accordion container.
    .Accordion {
              overflow: hidden;
              width: 210px;
              border-bottom: 1px solid #ffffff;
              outline: none;
    /* This is the selector for the AccordionPanel container which houses the
    * panel tab and a panel content area. It doesn't render visually, but we
    * make sure that it has zero margin and padding.
    * The name of the class ("AccordionPanel") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel container.
    .AccordionPanel {
              margin: 0px;
              width: 210px;
              padding: 0px;
    /* This is the selector for the AccordionPanelTab. This container houses
    * the title for the panel. This is also the container that the user clicks
    * on to open a specific panel.
    * The name of the class ("AccordionPanelTab") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel tab container.
    .AccordionPanelTab {
              color: #ffffff;
              margin: 0px;
              cursor: pointer;
              padding: 5px 10px 5px 30px;
              font-weight: normal;
              font-family: "Trebuchet MS";
              font-size: 12px;
              text-transform: uppercase;
              -moz-user-select: none;
              -khtml-user-select: none;
              background-repeat: no-repeat;
              background-image: url(../images/accordion_plus_closed.png);
              background-position: 10px 7px;
              border: 1px solid #ffffff;
              border-bottom: none;
    /* This is the selector for a Panel's Content area. It's important to note that
    * you should never put any padding on the panel's content area if you plan to
    * use the Accordions panel animations. Placing a non-zero padding on the content
    * area can cause the accordion to abruptly grow in height while the panels animate.
    * Anyone who styles an Accordion *MUST* specify a height on the Accordion Panel
    * Content container.
    * The name of the class ("AccordionPanelContent") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel content container.
    .AccordionPanelContent {
              margin: 0px 0px 0px 0px;
              padding: 0px 0px 0px 0px;
              border-left: 1px solid #ffffff;
              border-right: 1px solid #ffffff;
              overflow: auto;
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open. The class "AccordionPanelOpen" is programatically added and removed
    * from panels as the user clicks on the tabs within the Accordion.
    .AccordionPanelOpen .AccordionPanelTab {
              color: #ffffff;
              background-image: url(../images/accordion_plus_open.png);
              border-bottom: none;
    /* This is an example of how to change the appearance of the panel tab as the
    * mouse hovers over it. The class "AccordionPanelTabHover" is programatically added
    * and removed from panel tab containers as the mouse enters and exits the tab container.
    .AccordionPanelTabHover {
              color: #95c8fc;
    /* This is an example of how to change the appearance of all the panel tabs when the
    * Accordion has focus. The "AccordionFocused" class is programatically added and removed
    * whenever the Accordion gains or loses keyboard focus.
    .AccordionFocused .AccordionPanelTab {
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open when the Accordion has focus.
    .AccordionFocused .AccordionPanelOpen .AccordionPanelTab {
    /* Custom classes */
    .acontent {
              padding: 5px 10px 10px 20px;
              font-size: 10px;
    .acontent p{
              font-size: 12px;
              color: #ffffff;
    .acontent li a { color: #fffff; font-size: 12px; text-decoration: none;}
    .acontent li a:visited  { color: #0CF; }
    .acontent li a:hover    { color: #5872f4; }

  • Does anyone know why HELP doesn't open in photoshop 8

    does anyone know why HELP doesn't open in photoshop ele
    ements 8?

    Welcome to our community
    This forum is for discussing issues with getting started with Adobe Captivate. You should consider visiting the link below and re-posting your question in the Photoshop forum.
    Click here to view
    Cheers... Rick

  • I download the lightroom cc and it give me indication up to date but i can not open it . i dont know why , help please

    i download the lightroom cc and it give me indication up to date but i can not open it . i dont know why , help please

    Hi Wael,
    You can follow the article: Sign in, Sign out | Creative Cloud desktop app to sign out and sign in back again to Creative Cloud and try to launch your Lightroom 2015 application.
    Let us know if it works or not.
    Thanks,
    Ratandeep Arora

  • I just loaded Lion oxs 10.71 and now my Logic 9 software wont show up it says its not compatible also i cant find my macintosh harddrive icon that is usually shown on dektop and device browser column can anyone help me with this problem

    I just loaded Lion oxs 10.71 on my I-mac computer, and now my Logic 9 software wont show up it says its not compatible also i cant find my macintosh harddrive icon that is usually shown on dektop and device browser column can anyone help me with this problem.

    Mike,
    I had a similar issue with Photoshop when I upgraded to both Snow Leopard and Lion.  it turned out to be Rosetta is no longer present in the newer OS.  Once I upgraded to Lion, Appleworks stopped working after all these years.

  • When I update to ios5 error (3200) why help plz

    When I update to ios5 error (3194) why help plz

    Tap Settings > General > Reset > Reset Network Settings
    If that doesn't help, try here >  iOS: Troubleshooting Wi-Fi networks and connections

  • Column Visibility Expression help - SSRS

    I have a report in SSRS that has 12 columns. On each column, I have a corresponding column visibility expression like so:
     =IIF(InStr(JOIN(Parameters!HideColumns.Value,
    ","),"01")=0, False, True)
    Where I have the "01" I change to "02","03","04","05","06","07","08","09","10","11"
    & "12" respectfully across my column. The intent is to pass a parameter and allow the end user to "Hide" the column from visibility to allow them the flexibility on printing records. The issue I am having is I need a default that allows
    them to not hide anything, meaning print all 12 columns. Right now, its forcing me to pick one column to hide, is there something I could add to this to say, All? Hope this makes sense.

    Hi,
    For default value of this parameter(Parameters!HideColumns.Value)
    add  a value that is not in 01 to 12 .
    As an example if you  add 13 to the  default value   of the parameter, than  your expression will not hide the column 
       =IIF(InStr("13",
    ","),"01")=0, False, True) 
       =IIF(InStr("13",
    ","),"02")=0, False, True)  and so on.
    Many Thanks
    Chandra
    Please mark the post has answered if this post helps to solve your issue

  • How to load externl files (PDF) into BLOB column.  Please help.

    Hi All,
    I've currently been working on loading many external binary files (PDF) into BLOB column. After some digging, I learn that the SQL*LOADER can be used to load data from external files into table. I also got help from another forummate mentioning to use PL/SQL procedure to do so. Since I have not done anything like this before. So, my question is what is the simple approach needed to upload PDF files into a table(there is only one table containing BLOB column in my database). In addition, the LOBs can not be query-able, I wanted to list the contents of the LOBs column to make sure that I did successfully upload data into the database. How can I do that?. I do need your help. Please direct me step by step how to do so. Your help is greatly appreciated.
    Regards,
    Trang

    Hi,
    If the following link helps to you then great.
    http://www.exefind.com/oralobeditor-P25468.html
    Regards,
    Sailaja

  • R12 AR Invoice raxinv  -Customization (add columns) - need urgent help

    Hi,
    I need urgent help in customization of AR invoice report (raxinv) in R12. I am doing report customization for Brazil. As soon as I add one more column in report common query, build query and main query Q_invoice. Report changes to new variables in report editor q_invoice itself for example from remit_to_address_id to remit_to_address_id1 , previous_customer_id to previous_customer_id1 and start giving error that original variables e.g. remit_to_address_id , previous_customer_id are not defined in the query. Variable names and xml tags are also different from each other. even after trying to fix it, error persist.
    Thanks
    Anju

    Hi,
    I need urgent help in customization of AR invoice report (raxinv) in R12. I am doing report customization for Brazil. As soon as I add one more column in report common query, build query and main query Q_invoice. Report changes to new variables in report editor q_invoice itself for example from remit_to_address_id to remit_to_address_id1 , previous_customer_id to previous_customer_id1 and start giving error that original variables e.g. remit_to_address_id , previous_customer_id are not defined in the query. Variable names and xml tags are also different from each other. even after trying to fix it, error persist.
    Thanks
    Anju

  • HT1351 The DEVICES heading is not showing in my library column...help????

    I am unable to sync my ipod with new songs that I have just downloaded because the "DEVICES" heading is NOT showing in the left hand column under the Library (where everything is listed while in itunes).
    I have tried to call for help, but I was told I needed to pay a 19.99 fee for the tech support- which is rediculous in my opinion since I paid for the ipod, paid for the songs, paid for the laptop, shouldn't the tech support be included in there for free?
    Anyway, my question IS....what happened to the DEVICES heading? How do i get it back? How am I to sync my music?
    Thank You for any help that can be offered!

    shouldn't the tech support be included in there for free?
    It is for 90 days from the date you purchased your iPod, or for two years if you purchased the AppleCare extended coverage for it.
    The "Devices" header will only appear if the iPod you're connecting is recognized, which apparently it is not. This may help:
    http://support.apple.com/kb/TS1369
    Regards.

  • Modifiy column in value help

    Hello Experts,
    i am using value help in my web dynpro application.
    key | Display Text
    001 | test1
    002 | test2
    I can modify the key column title with method setFieldLabel:
    ISimpleTypeModifiable valueType = attInfo.getModifiableSimpleType();
    valueType.setFieldLabel("Test Key");
    Can i also modify the display text column title?
    regards

    hi,
    thanks for your quick answer.
    If i create a new Simple Type in local dictonary can i modify the column label, but i want added the values at run-time and the dynamic add is not supported for Simple Types - or?

  • Please help - Joining three tables and get row values into Column. Please help!

    Hi,
    There is a SourceTable1 (Employee) with Columns like EmployeeID,Name,DOB.
    There is a sourcetable2 (EmployeeCode) with columns like EmployeeID,Code,Order.
    There is a source table 3  #EmployeeRegioncode  and its columns are (EmployeeID , RegionCode , [Order] 
    The target table 'EmployeeDetails' has the following details. EmployeeID,Name,DOB,Code1,Code2,Code3,Code4,regioncode1
    regioncode2 ,regioncode3 ,regioncode4 
    The requirement is , the value of the target table columns the Code1,code2,code3 ,code4,code5 values should
    be column 'Code' from Sourcetable2 where its 'Order' column is accordingly. ie) Code1 value should be the 'Code' value where [Order] column =1, and Code2 value should be the 'Code' value where [Order] =2, and so on.
    Same is the case for Source table 3- 'Region code' column also for the columns  regioncode1
    regioncode2 ,regioncode3 ,regioncode4 
    Here is the DDL and Sample date for your ref.
    IF OBJECT_ID('TEMPDB..#Employee') IS NOT NULL DROP TABLE #Employee;
    IF OBJECT_ID('TEMPDB..#EmployeeCode') IS NOT NULL DROP TABLE #EmployeeCode;
    IF OBJECT_ID('TEMPDB..#EmployeeDetails') IS NOT NULL DROP TABLE #EmployeeDetails;
    ---Source1
    CREATE table #Employee 
    (EmployeeID int, Empname varchar(20), DOB date )
    insert into #Employee VALUES (1000,'Sachin','1975-12-12') 
    insert into #Employee VALUES (1001,'Sara','1996-12-10') 
    insert into #Employee  VALUES (1002,'Arjun','2000-12-12')
    ---Source2
    CREATE table #EmployeeCode 
    (EmployeeID int, Code varchar(10), [Order] int)
    insert into #EmployeeCode VALUES (1000,'AA',1) 
    insert into #EmployeeCode VALUES (1000,'BB',2)   
    insert into #EmployeeCode  VALUES (1000,'CC',3)  
    insert into #EmployeeCode VALUES  (1001,'AAA',1)  
    insert into #EmployeeCode  VALUES  (1001,'BBB',2)  
    insert into #EmployeeCode  VALUES  (1001,'CCC',3)  
    insert into #EmployeeCode  VALUES  (1001,'DDD',4)  
    insert into #EmployeeCode  VALUES  (1002,'AAAA',1)  
    insert into #EmployeeCode  VALUES  (1002,'BBBB',2)  
    insert into #EmployeeCode  VALUES  (1002,'CCCC',3)  
    insert into #EmployeeCode  VALUES  (1002,'DDDD',4)  
    insert into #EmployeeCode  VALUES  (1002,'EEEE',5)  
    ---Source tbl 3
    CREATE table #EmployeeRegioncode 
    (EmployeeID int, RegionCode varchar(10), [Order] int)
    insert into #EmployeeRegioncode VALUES (1000,'xx',1) 
    insert into #EmployeeRegioncode VALUES (1000,'yy',2)   
    insert into #EmployeeRegioncode  VALUES (1000,'zz',3)  
    insert into #EmployeeRegioncode VALUES  (1001,'xx',1)  
    insert into #EmployeeRegioncode  VALUES  (1001,'yy',2)  
    insert into #EmployeeRegioncode  VALUES  (1001,'zz',3)  
    insert into #EmployeeRegioncode  VALUES  (1001,'xy',4)  
    insert into #EmployeeRegioncode  VALUES  (1002,'qq',1)  
    insert into #EmployeeRegioncode  VALUES  (1002,'rr',2)  
    insert into #EmployeeRegioncode  VALUES  (1002,'ss',3)  
    ---Target
    Create table #EmployeeDetails
    (EmployeeID int, Code1 varchar(10), Code2 varchar(10),Code3 varchar(10),Code4 varchar(10),Code5 varchar(10) , regioncode1 varchar(10),
    regioncode2 varchar(10),regioncode3 varchar(10),regioncode4 varchar(10))
    insert into #EmployeeDetails  VALUES (1000,'AA','BB','CC','','','xx','yy','zz','')  
    insert into #EmployeeDetails  VALUES (1001,'AAA','BBB','CCC','DDD','','xx','yy','zz','xy')  
    insert into #EmployeeDetails VALUES (1002,'AAAA','BBBB','CCCC','DDDD','EEEE','qq','rr','ss','')  
    SELECT * FROM  #Employee
    SELECT * FROM  #EmployeeCode
    SELECT * FROM  #EmployeeRegioncode
    SELECT * FROM  #EmployeeDetails
    Can you please help me to get the desired /targetoutput?  I have sql server 2008.
    Your help is greatly appreciated.

    select a.EmployeeID,b.code1,b.code2,b.code3,b.code4,b.code5,c.Reg1,c.Reg2,c.Reg3,c.Reg4 from
    #Employee a
    left outer join
    (select EmployeeID,max(case when [Order] =1 then Code else '' end) code1,
    max(case when [Order] =2 then Code else '' end)code2,
    max(case when [Order] =3 then Code else '' end)code3,
    max(case when [Order] =4 then Code else '' end)code4,
    max(case when [Order] =5 then Code else '' end)code5 from #EmployeeCode group by EmployeeID) b
    on a.EmployeeID=b.EmployeeID
    left outer join
    (select EmployeeID,max(case when [Order] =1 then RegionCode else '' end) Reg1,
    max(case when [Order] =2 then RegionCode else '' end)Reg2,
    max(case when [Order] =3 then RegionCode else '' end)Reg3,
    max(case when [Order] =4 then RegionCode else '' end)Reg4 from #EmployeeRegioncode group by EmployeeID) c
    on a.EmployeeID=c.EmployeeID
    Thanks
    Saravana Kumar C

  • Columns in JTable, Help!

    Hello There,
    I have two question about the JTable in Java:
    1. How can i set a column width? I want to have one column widder than the other and not editable at runtime.
    2. How can i have multiple lines (block of data/small paragraph) in one cell? because whenver i write a 3 new lines of data in a cell the JTable converts it cont. line.
    Please Help!!

    Here there is a JTable where 3 colums are being resized
    TableColumn column1 = null;
                   for (int i = 0; i < 3; i++) {
                       column1 = table1.getColumnModel().getColumn(i);
                       if (i == 0) {
                           column1.setPreferredWidth(20);
                       } else {
                            if (i == 1){
                                 column1.setPreferredWidth(160);
                            else
                                 column1.setPreferredWidth(80);
                   }

  • WebCats - Only 4 characters of first column in search help get transferred

    Hi Henning,
    I hope you can help me -
    When I select a search help for an input field (Operation) which is a second field in search help, the system is not tranferring the selected object into the time sheet, instead it transfer first 4 characters of very first column (Network). I also checked related OSS Notes: 359620 / 357001 / 355690 / 369056 on my system and all seems to be applied long back.
    We are on SAP vers 6.2.
    Please advise.
    Regards.
    Pras Durafe

    Hi Darren,
    I have branched your message into a new topic because it didn't belong to the topic of the old thread. Please provide the exact patchlevel of your ITS 6.20.
    Best regards,
    Henning.

Maybe you are looking for

  • Setting up multiple event videos on a single screen

    I love the concept of multiple short video presentations being selected an playing off a single screen, but I've run into a seemingly simple issue that I can't figure out. My procedure has been as follows: create a basic three second slide add multip

  • IWeb won't import MobileMe galleries

    hi there, apple claims that iweb can import albums that are published on the mobileme-gallery. however, I created an album via aperture and published it (worked fine), then created a website in iWeb and tried the "insert -> mobileme gallery ->" (hope

  • When deploying BPEL Process through JDeveloper java.security.AccessControlE

    1.) Navigated to the Connections tab of JDeveloper 10.1.3.2. 2.) Under the Application Server node, created a new Application Server connection, provided the relevant information on Type, Authentication & Connection's tab. 3.) On Authentication Tab,

  • BI Routnie in DTP to calculate current week from current date

    Hello Team I want to write routinue to calculate current week based on date For eg, this week is 201410, so the routine will get 201410 based on today's date 4 Mar 2014. Can any1 please help Regards, Ankit

  • Does iCloud mean no MobileMe gallery anymore?

    I have been trying all night to upload a new slideshow to MobileMe, as I have done NUMEROUS times before, but apparently not since iCloud has taken over.  Is there no way I can share my photos/slideshows through this web-accessed gallery?  What is go