Is it possible to hav 2 rows displayed with diffeent columns?

I I do a search and try to display information from 2 different tables but they hav different columns is it possible to have 2 tables? like
table 1:
name ID
a 1
b 2
table 2:
name Email
a w
b e
if i search for "a" can i get:
name ID
a 1
name Email
a w
or i get :
name ID email
a 1 w
? please hel me with code..

(SELECT * FROM id) a
,(SELECT * FROM email) b
WHERE a.a=1 AND b.a='w'

Similar Messages

  • JTable: Is it possible to have different row heights on different columns?

    I am using a JTextArea to render cells in a JTable in order to wrap text. This works fine... the problem is that when the text wraps, it increases the rowHeight for that row across the entire table. I would like to be able to only increase the rowHeight for that single column.
    Basically, I am building a component that is a three-column list of Text labels... each label is a clickable thing that causes a new panel to load. I used a Jtable because of the features of highlighting, layout, listeners, etc. Maybe there is another way to do build a custom component that just uses JLabel's or something.
    Thanks in advance for any advice or comments on the JTable rowHeight or my design decision.
    T.J. Herring

    Thanks for the suggestion. Our requirement is that all the text must be displayed.. so unfortunately the scroll bar won't work.
    This panel that I am building is supposed to act like a set of hyperlinks... like in a web browser. So that you can see all the text and click on the thing that you want. Although the underline functionality that is in the browser is not necessary.
    I originally thought that the Jtable would make it easy to lay out this data in that way.. but it seems to me that it might be better to build a custom component. Maybe I'll use a grid layout with jlabels... then I can simply add the highlight/selection functionality.
    I assume that I also could just wrap the list text in HTML and build a table out of it.. then display it in an JEditorPane.

  • Spry Accordion: Is it possible to have no row selected?

    Is there any way to make the Accordion act like there is no
    row currently selected? It doesn't appear to be possible to set
    this to null. The data in this case is being loaded from an XML
    file, so I made a work-around by making the first XML element in
    the list an empty tag, which worked ok, but that makes it harder to
    retrieve the XML file directly from the database. Is there any way
    to truly have no row selected in the Accordion?

    True, I guess the accordion isn't the issue. What I'm
    referring to are the functions for getting the current row from in
    the XMLDataSet API. As far as I can tell, it doesn't seem to be
    possible to have a null value for the currently selected row. I
    just wanted to make sure that it is not in fact possible to have an
    XMLDataSet instance with no currently selected row?

  • Is it possible to have 2 separate accounts with totally different and independent music on the same computer?

    IS it possible to have 2 separate accounts with totally different music libraries on same computer with multiple iPods synced to the computer,

    Same answer as last time you asked the same question.
    Can I create 2 separate itune accounts on same PC?

  • How to get ALV Display with First column alone in sort

    How to get ALV Display with First column alone in sort

    You can build Internal Table and send this to the parameter "IT_SORT".
    "the sorting Internal Table structure is as whown below.
    DATA:  t_sort_info type slis_t_sortinfo_alv.
    "Build the Sort Internal Table
      t_sort_info-fieldname = 'CARRID'.
      t_sort_info-subtot = 'X'.
      append t_sort_info.
      t_sort_info-fieldname = 'FLDATE'.
      t_sort_info-subtot = 'X'.
      append t_sort_info.
    Then pass this "IT_SORT_INFO" table to the Function module "Reuse_alv_*". (Note send the body of the Internal table only like "<b>IT_SORT = IT_SORT_INFO[]</b>".
    Here i am making ALV output sorted on CARRID & FLDATE.
    You can specify only the First Column name for sorting.
    Message was edited by:
            MANJUNATHA KS

  • Is it possible to have a program start with a splash screen?

    Would it be possible to have a program show a splash screen while loading with Java's latest release 1.4.0 ?
    If it is possible, could anybody explain me how.. and maybe show me a little example? :)
    Thanks in advance

    I just implemented this with one of my applications.
    I wrote a class which extends JWindow and adds a JLabel icon to the contentPane.
    The class containing the main method instantiates this class, makes the window visible, wait's some time and deletes the window:
    Through the Dimension object I calculate the center of the screen
    => Splash screen
    import javax.swing.*;
    import java.awt.*;
    class Splash extends JWindow
    JPanel pane;
    public Splash()
    setBounds(300, 225, 300, 200);
    pane = new JPanel();
    ImageIcon image = new ImageIcon("logo.jpg"); //Splash logo
    Dimension dim = this.getToolkit().getScreenSize();
    int height = (int) dim.getHeight() / 2;
    int width = (int) dim.getWidth() / 2;
    int iconheight = image.getIconHeight();
    int iconwidth = image.getIconWidth(); // Center of Screen
    int x = width - (iconwidth / 2);
    int y = height - (iconheight / 2);
    setLocation(x, y);
    JLabel label = new JLabel(image);
    => "Main Method"
    import util.*;
    import app.*;
    import java.awt.*;
    import javax.swing.*;
    public class Main
    public static void main(String[] args)
    Splash splash = new Splash();
    catch (InterruptedException e)
    splash = null;

  • Is it possible to have two rows of text fields per entry in a tabular form?

    I'm constructing a tabular form with several text fields for each entry, and I have just been advised we need twice as many text fields now as the requirements have changed.
    Anyway I am running out of real estate on the page without having to use horizontal scroll bars, and am wondering if it is possible to arrange the text fields into two rows in the tabular form for data entry. I have successfully done this for display as text fields, but not sure if it can be done in this instance.
    Any help would be greatly appreciated.
    Application Express
    Edited by: Snowman on Nov 30, 2012 12:02 PM

    Snowman wrote:
    I'm constructing a tabular form with several text fields for each entry, and I have just been advised we need twice as many text fields now as the requirements have changed.In the first place I'd strongly recommend not using tabular forms: +{thread:id=850889}+.
    Anyway I am running out of real estate on the page without having to use horizontal scroll bars, and am wondering if it is possible to arrange the text fields into two rows in the tabular form for data entry. I have successfully done this for display as text fields, but not sure if it can be done in this instance.If you must, create a custom named column template and base the tabular form report on this: {message:id=10399762}

  • Is it possible to have one thermometer display both Fahrenheit and Celsius?

    Two scales: Fahrenheit on one; Celcius on the other.

    Two *true* scales on one fill-type indicator is probably a LV8 feature :-)
    Well, one thing I HAVE done is to take a thermometer indicator, popup and enable its 'units' display and call it 'degC', popup and enable the thermometer's digital display, then change the digital display's units to 'degF'. Of course, on the diagram, you have to convert a plain floating-point wire to a unit-ed wire to feed the indicator terminal, but you can clearly choose font/size/color/etc. separately for the scale and the digital indicator. Would this help?
    P.S. When working with temperature physical units, make sure you understand the conceptual difference between, for example, 'degC' and 'Cdeg' in LabVIEW's unit scheme. The two forms exist because conversions need to kno
    w if you're converting delta degrees (the 'Xdeg' form), or absolute temperatures (the 'degX' form). Kelvin of course, is a don't-care.
    David Boyd
    Sr. Test Engineer
    Philips Respironics
    Certified LabVIEW Developer

  • Is it possible to have FTP Conflicts/Collisions with multiple devices?

    I understand that you cannot have multiple webservers both using port 80 on your LAN (use different port # and port forward), but I was wondering if the same is true of multiple FTPs?
    In other words, I have 2 devices ...., a weather web server that FTPs my weather station data to my weather website, and I have the WVC54GCA IP Camera, which I want to use to display weather conditions outside, and FTP to my weather website. Can they both use their default FTP port 21 at the same time? ...., or do I have to change one of them to an alternative port #, other than 21? Is it possible to FTP with a port other than port 21?
    Thanks for any feedback,

    thanks Castor. I have the Motorola SBG900 ...., I have not set up the port triggering yet, but both my WVC54GCA and my weather server are FTPing up to my weather website  without any problems so far. I might try the port triggering as a safety net and see if things still work OK.

  • Possible to have mouse activated slider with buttons for selection

    I was wondering if anyone has/is or if this can be dome easy enough....
    For example, instead of placing a row of buttons on the bottom of the template, instead, is it possibloe to have a mouse activated slider that the buttons are on and is activated when the mouse hovers over it.....?
    Hope that explanation is clear enough...;-)

    Captivate 7 has an option to show playbar on hover.  It becomes available when you select Overlay Playbar.  But this only applies to the standard skins that come with Captivate.  It won't help your specific need to have a set of buttons appear on hover over a hit area.
    It should be possible to do what you want.  But you'll need to group the buttons, give the group a name, create separate advanced actions that apply a fly-in and fly out effect to the group, then execute these actions via an event.  In your case you want the event to occur as a result of a rollover and rollout on a hit area.
    Captivate's slidelet object has a rollover event, but no rollout event you can use.
    The only way I know to have both rollover and rollout events is to use the Infosemantics Event Handler widget:
    Free trial version here:

  • Is it possible to have a public page with optional authentication?

    I want to have an application that will give users view access to all pages, without the user having to log in. On its own i know how to achieve this. However, i also want to give the user the ability to perform specific actions, only if they authenticate themselves. The functionality i am after is much like this forum, the public can read all threads, but to post you have to log in.
    is this kind of thing possible in APEX, if so how can this be done?

    It's very possible, and quite easy to do.
    One of the conditions that APEX supplies is "User is Authenticated (not public)". You can use this condition on buttons, items, regions and processes that will require a user be authenticated to your application. There is also the opposite condition, should you want to display items or regions that will be displayed to non-authenticated users.
    - Scott -

  • Is it possible to have define a tag with an attribute called "class"?

    Obviously you can't have a setClass/getClass pair in the tag, since getClass is declared final in java.lang.Object. setClass alone doesn't seem to cut it.
    I've tried copying the class attribute to a new one in a TagExtraInfo but this doesn't prevent the "no setter for class" exception. This may be because you can't delete an attribute from TagData so the "class" attribute is still there.
    It's anoying because I'm trying to define a variant of jsp:useBean and I want it to be as close as possible in attribute options.
    Incidentally I'd like to do more validation in TagExtraInfo but how do I get at, for example, the servletContext?

    There's nothing to stop me writing a setClass() method though. Unfortunately that doesn't seem to work - the system apparently demands a getClass() method too, though it wouldn't be used.
    I was hoping to be able to modify the tagData item at compile time and, hence, the data passed to the Tag.

  • Is It Possible to Have an Axis Scale with two Zeros?

    Greetings All,
    I am currently working on modifying a plot for a program that runs an object through 360 degrees and would like the x axis (degrees) display to reset to zero whenever I scroll past 360 to the right, or reset to 360 whenever I scroll past zero to the left.  The reason I would like to add this feature is because the program will frequently be used to "zoom" in on 30 degree intervals. So let's say I centered my graph at 0 degrees.  Then I would like it's Min to display as 345 degrees, and its Max to display as 15 degrees.  As it is, right now my program displays -15 as the Min and 15 as the Max.   
    Does anyone know of any possible way of doing this without manually editing the values on the axis?

    I've attached two (cropped) screenshots showing the X-axis for when the plot is centered at 0 degrees and for when the plot is centered at 360 degrees.  In both cases, the plot has a width of 38 degrees.  Unfortunately, the plot is too wide to fit on one screen, but you can surmise that for a 0 degree center it goes from [-19,19] and for a 360 degree center, it goes from [341, 379].
    This is what I want the axis to actually display left to right:
    0 Degree Center
    341, 342, 343, 344...359, 360/0, 1, 2... 15, 16, 17, 18, 19
    360 Degree Center
    341, 342, 343, 344...359, 360/0, 1, 2... 15, 16, 17, 18, 19
    So Both centers should display the same, since they are at the same angular position.  Hope this clarifies things a bit.  Thanks. 
    Center0.PNG ‏36 KB
    Center360.PNG ‏36 KB

  • Is it possible to have 2 iWeb sites with one .mac account?

    I am trying to create a business site with my CV (resume) and work credentials as well as a personal site with photos etc for family and friends. Is this possible to do with iWeb?

    To keep sites totally separate for publishing you
    need to keep their data files totally separate,
    either by switching them in and out or by running
    iWeb from separate user accounts. The data file is
    located at
    thank you -- that's gonna have to be the answer I guess, til they hopefully add a new feature.. my non-.mac site is for my kids' swim team, so I'll just create a 'swim team' user account for now. Not TOO inconvenient, I don't suppose.
    If you have two sites in the same data file already
    you can separate them by making a copy of the current
    Domain, then deleting one site from the current
    Domain, putting that somewhere safe, inserting the
    old Domain copy, and deleting the other site from
    that, giving you two Domains each with one site.
    keeping my fingers crossed that this works.
    thanks again,

  • Is it possible to have different tabs print with different page setups.

    I would like to use specific page setup parameters (under the File menu) for printing from a particular web site, but those parameters do not work well for printing from other web sites. I would like to be able to specify different page setup parameters for each open tab. Is this possible?

    That might be possible via a GreaseMonkey user script, by setting the '''@include''' address to a specific domain.
    This is an example of a script I found a few years ago to bypass a fault in Firefox when printing the Courier font.
    <pre><nowiki>// ==UserScript==
    // @name Fix Courier Bug
    // @namespace
    // @description Replaces "Courier" with "Courier New" font
    // @author Dan
    // @include *
    // ==/UserScript==
    var elementList = document.getElementsByTagName('*');
    for (var i = elementList.length - 1; i >= 0; i--) {
    var elementItem = elementList[i];
    var ff = getComputedStyle(elementItem, '').fontFamily;
    var oldff=ff;
    ff = ff.replace('Courier New', '1234567890qwertyFONT');
    ff = ff.replace('Courier', 'Courier New');
    ff = ff.replace('1234567890qwertyFONT','Courier New'); = ff; </nowiki></pre>
    Sorry, I can't help you with writing a script.

Maybe you are looking for