JList with Multiple interval Selection
I am trying to get all the selections that I selected when
a button is pressed. I just don't under how it works when the selection is not contiguous. if it was I just need the first and last selected but I don't know what to do with this situtation
Duke dollars avaiable
If your JList allows multiple sections then this:
1.select first item
2. hold sown the shift key
3. select Nth item
will select all the items between the first and the Nth.
Holding down the Ctrl key will select individual items.
To make your JList accept multiple selections you use setSelectionMode
Similar Messages
-
PC-UI: F4 with multiple object selection
Hi!
I implemented a F4-application with multiple object selection.
Now I want to give back some data to the application that called the f4 or I'd like to call a method of this class. How can I find the correct instance of this class?
Thanks in advance!
JörnHi!
I used a DDIC table to exchange data. I forwarded the object_key and the F4-help application inserted the multiple objects with that key in that table.
The application which called the F4-help looked to the table (after pressing a button), grabbed the data and deleted the data in the DDIC table afterwards.
I hope that helps.
Jörn -
JTable - how to do multiple interval selections
Suppose if i have a 10 rows in the table.
By Default, How can i select multiple interval rows selection.
Like 2,5,7,8,10 rows has to be selected.
After loading i should be able to select different rows also.
How can I do it.You can do that by using ListSelectionModel from the JTable by calling getSelectionModel()
Detail of the selection model can be found inside Java API -
JList with multiple lines of text
Hello everyone,
I have a JList where I want to put in every cell of the JList a text of 5 lines. Does anyone know how to do that? Thank youhttp://java.sun.com/products/jfc/tsc/tech_topics/jlist_1/jlist.html
The JList component implements Swing's modified model-view-controller (MVC) architecture, which is described in "Getting Started with Swing." Separate delegate "model" objects define the contents of the list and the indices of the currently selected list items.
Another characteristic of JList is that it delegates the rendering of individual list items, or cells, to a ListCellRenderer object. The JList API was structured this way to provide enough flexibility for a wide variety of applications. -
E71 - Problem with multiple recipients selection i...
I can see and mark all contacts on my contact list while in "To" when creating a new text message. However the "OK" button is missing on the left lower corner of the screen while "Back", on the right, is active. I can type in recipients, though this is tedious when I need to select multiple recipients.
Further probing brought up another problem - I can see all my contacts on my phone but cannot find the contact folder nor can I backup my contacts.
Please help ASAP. Thanks & Regards,
CocoabeanWhen I add contacts to a blank SMS on my E73, I see a list of people with tick boxes to the left, and OK and Back options at the bottom. I don't need to select anything to make OK and Back selectable. If OK is missing for you, then I'm afraid you found a firmware bug. You could try fixing it with a hard reset or by reflashing the firmware. As a workaround, you can probably shift-select multiple contacts within the Contacts app, then choose Options -> Create Message.
cocoabean wrote:
Further probing brought up another problem - I can see all my contacts on my phone but cannot find the contact folder nor can I backup my contacts.
The actual contacts file(s) are stored somewhere in C:\Private and not meant to be accessed. (Private is read-only and usually not viewable at all.) How are you doing the backup? There are several different ways. I typically just use Ovi Suite. -
Help req : alv grid with multiple row selection
Hi all sap gurus,
i have a alv list display program , in which i can select the o/p rows(multiple rows)
and perform some actiom based on some icons .
now i have to convert this in to grid display
this is initial code i.e for list
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE ztest.
DATA : checkbox type c.
DATA : END OF itab.
s_layout-box_fieldname = 'CHECKBOX'.
ty_events-name = slis_ev_top_of_page.
ty_events-form = 'TOP_OF_PAGE'.
APPEND ty_events TO it_events.
ALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = v_repid
i_internal_tabname = 'ITAB'
i_inclname = v_repid
CHANGING
ct_fieldcat = build_fieldcatalog.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = v_repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
i_structure_name = 'ITAB'
is_layout = s_layout
it_fieldcat = build_fieldcatalog[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
it_events = it_events
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
IF ucomm = 'DELE'.
LOOP AT iTAB WHERE CHECKbox = 'X' .
ENDLOOP.
MODIFY ztEST FROM TABLE itAB.
ENDIF.
selfield-refresh = 'X'.
ENDFORM.
NOW I HAVE A LIST O/P WHERE I CAN SELECT THE BOX AND CLICK DELETE ICON.
NOW I WANT TO CHANGE TO GRID, SO I KEPT EVERYTHING SAMRE AND I CHANGED " LIST" TO "GRID"
NOW TWO THINGS HAPPEND
1) I SEE A EMPTY COLUMN IN THE O/P , I GUESS THATS BECAUSE CHECKBOSX IN INTERNAL TABLE , SO I REMOVED IT
SO THIS MADE ME TO REMOVE
IF ucomm = 'DELE'.
LOOP AT iTAB." WHERE CHECKbox = 'X' .------PROBLEM
ENDLOOP.
MODIFY ztEST FROM TABLE itAB.
ENDIF.
selfield-refresh = 'X'.
NOW I DON'T SEE THE EMPTY COLUMN , BUT NOW PROBLEM IS I CANNNOT DISTINGUISH AS TO WHICH IS SELECTED AND AT ANY POINT OF TIME I CANSELECT ONLY ROW.
ALL I WANT IS
1) I WANT TO SELECT MULTIPLE ROWS AND SHOULD BE ABLE TO KNOW WHICH ROWS WERE SELECTED IN THE O/P SCREEN.
IN THE LIST DISPLAY I HAD CHECKBOX = 'X' FOR ALL THE ROWS THAT WERE SELECTED , I WANT THE SIMILAR THING in grid display
LET ME KNOW whether this can be done without USING 00 LANG.
thanksHi Swati,
Below code might help full for you. Description: is It selects multiple rows from ALV and display it on the next ALV.
*************************Reward Point If help full********************************************
*& Report z7cc_alv_oops_show_next_alv *
*& DEVELOPERS NAME : CHIDANAND CHAUHAN
*& DATE: SATURDAY 08-07-2006
*& DESCRIPTION: TO CREATE AN OBJECT ORIENTED ALV
REPORT z7cc_alv_oops_show_next_alv MESSAGE-ID z5hs .
DATA : BEGIN OF it_mara OCCURS 0,
mark TYPE flag,
matnr TYPE matnr,
mtart TYPE mtart,
meins TYPE meins,
END OF it_mara.
DATA : BEGIN OF it_mara1 OCCURS 0,
* mark type flag,
matnr TYPE matnr,
mtart TYPE mtart,
meins TYPE meins,
END OF it_mara1.
DATA : BEGIN OF it_mara2 OCCURS 0,
* mark type flag,
matnr TYPE matnr,
mtart TYPE mtart,
meins TYPE meins,
END OF it_mara2.
DATA : t_fieldcat TYPE lvc_t_fcat,
t_fieldcat1 TYPE lvc_t_fcat,
s_fieldcat LIKE LINE OF t_fieldcat.
DATA : s_layout TYPE lvc_s_layo.
DATA : control TYPE REF TO cl_gui_custom_container,
grid TYPE REF TO cl_gui_alv_grid.
DATA: BEGIN OF wa ,
mark TYPE flag,
matnr TYPE matnr,
mtart TYPE mtart,
meins TYPE meins,
END OF wa.
* CLASS lcl_events_box DEFINITION
CLASS lcl_events_box DEFINITION.
PUBLIC SECTION.
METHODS :
*Handler_Data_Changed for event Data_Changed of cl_gui_alv_grid
*imporTing er_data_changed,
handler_user_command FOR EVENT user_command OF cl_gui_alv_grid
IMPORTING e_ucomm,
handler_toolbar FOR EVENT toolbar OF cl_gui_alv_grid
IMPORTING e_object e_interactive.
ENDCLASS. "lcl_events_box DEFINITION
* CLASS lcl_events_box IMPLEMENTATION
CLASS lcl_events_box IMPLEMENTATION.
* method to handle the user command.
METHOD handler_user_command.
PERFORM form_usercommand CHANGING e_ucomm.
ENDMETHOD. "Handler_user_command
*& Mehod to handle the toolbar.
METHOD handler_toolbar.
PERFORM form_toolbar CHANGING e_object e_interactive
e_object->mt_toolbar.
ENDMETHOD. "Handler_ToolBar
ENDCLASS. "lcl_events_box IMPLEMENTATION
START-OF-SELECTION.
DATA : w_events TYPE REF TO lcl_events_box.
SELECT matnr mtart meins FROM mara INTO CORRESPONDING FIELDS OF TABLE
it_mara.
CALL SCREEN 100.
*& Module pbo_module OUTPUT
* text
MODULE pbo_module OUTPUT.
IF grid IS INITIAL.
CREATE OBJECT control
EXPORTING
container_name = 'CUST_CTRL'.
CREATE OBJECT grid
EXPORTING
i_parent = control.
PERFORM build_catalog.
PERFORM build_catalog1.
PERFORM build_layout.
CALL METHOD grid->set_table_for_first_display
EXPORTING
is_layout = s_layout
CHANGING
it_outtab = it_mara[]
it_fieldcatalog = t_fieldcat.
CREATE OBJECT w_events.
SET HANDLER : w_events->handler_toolbar FOR grid,
w_events->handler_user_command FOR grid.
CALL METHOD grid->set_toolbar_interactive.
ELSE.
CALL METHOD grid->refresh_table_display.
ENDIF.
ENDMODULE. " pbo_module OUTPUT
*& Form BUILD_CATALOG
FORM build_catalog .
s_fieldcat-col_pos = '1'.
s_fieldcat-fieldname = 'MARK'.
s_fieldcat-checkbox = 'X'.
s_fieldcat-edit = 'X'.
APPEND s_fieldcat TO t_fieldcat.
CLEAR s_fieldcat.
s_fieldcat-col_pos = '2'.
s_fieldcat-fieldname = 'MATNR'.
s_fieldcat-scrtext_m = 'MATERIAL'.
APPEND s_fieldcat TO t_fieldcat.
s_fieldcat-col_pos = '3'.
s_fieldcat-fieldname = 'MTART'.
s_fieldcat-scrtext_m = 'MATERL TYPE'.
APPEND s_fieldcat TO t_fieldcat.
s_fieldcat-col_pos = '4'.
s_fieldcat-fieldname = 'MEINS'.
s_fieldcat-scrtext_m = 'UOM'.
APPEND s_fieldcat TO t_fieldcat.
ENDFORM. " BUILD_CATALOG
*& Form BUILD_LAYOUT
* text
* --> p1 text
* <-- p2 text
FORM build_layout .
s_layout-zebra = 'X'.
* S_LAYOUT-CWIDTH_OPT = 'X'.
s_layout-grid_title = 'Material Details'.
ENDFORM. "BUILD_LAYOUT
" BUILD_LAYOUT////////////////////////////////////
" USER_COMMAND_0100 INPUT
*& Form FORM_USERCOMMAND
* text
* <--P_E_UCOMM text
FORM form_usercommand CHANGING p_e_ucomm.
CASE p_e_ucomm.
WHEN 'INT1'.
DO.
READ TABLE it_mara INDEX sy-index TRANSPORTING mark matnr.
IF sy-subrc <> 0.
EXIT.
ENDIF.
IF it_mara-mark = 'X'.
READ TABLE it_mara INTO wa TRANSPORTING matnr mtart meins .
MOVE-CORRESPONDING wa TO it_mara1.
READ TABLE it_mara1 TRANSPORTING matnr mtart meins .
MOVE-CORRESPONDING it_mara1 TO it_mara2.
APPEND it_mara2.
CALL METHOD grid->set_table_for_first_display
EXPORTING
is_layout = s_layout
CHANGING
it_outtab = it_mara2[]
it_fieldcatalog = t_fieldcat1.
* SET PARAMETER ID 'MAT' FIELD IT_MARA-MATNR.
* CALL TRANSACTION 'MM02'.
ENDIF.
* ENDIF.
ENDDO.
ENDCASE.
ENDFORM. " FORM_USERCOMMAND
*& Form FORM_TOOLBAR
* text
* <--P_E_OBJECT text
* <--P_E_INTERACTIVE text
* <--P_E_OBJECT_>MT_TOOLBAR text
FORM form_toolbar CHANGING p_e_object TYPE REF TO
cl_alv_event_toolbar_set
p_e_interactive
mt_toolbar TYPE ttb_button.
DATA wal_button TYPE stb_button.
*WAL_BUTTON-ICON = ICON_status_reverse.
wal_button-text = 'GO'.
wal_button-quickinfo = 'PROCEED'.
wal_button-function = 'INT1'.
wal_button-butn_type = 0.
wal_button-disabled = space.
INSERT wal_button INTO p_e_object->mt_toolbar INDEX 1.
ENDFORM. " FORM_TOOLBAR
*& Module PF-STATUS OUTPUT
* text
MODULE pf-status OUTPUT.
SET PF-STATUS 'Z7CCSTAT'.
ENDMODULE. " PF-STATUS OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE sy-ucomm.
WHEN 'BACK'.
LEAVE PROGRAM.
WHEN 'CANCEL'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form BUILD_CATALOG1
* text
* --> p1 text
* <-- p2 text
FORM build_catalog1 .
s_fieldcat-col_pos = '1'.
s_fieldcat-fieldname = 'MATNR'.
s_fieldcat-scrtext_m = 'MATERIAL'.
APPEND s_fieldcat TO t_fieldcat1.
s_fieldcat-col_pos = '2'.
s_fieldcat-fieldname = 'MTART'.
s_fieldcat-scrtext_m = 'MATERL TYPE'.
APPEND s_fieldcat TO t_fieldcat1.
s_fieldcat-col_pos = '3'.
s_fieldcat-fieldname = 'MEINS'.
s_fieldcat-scrtext_m = 'UOM'.
APPEND s_fieldcat TO t_fieldcat1.
ENDFORM. " BUILD_CATALOG1 -
JTable multiple interval selection behavior
How do you force a JTable to behave as if the control key is always pressed, without the user actually holding down the control key?
My desired result is to have the user be able to select multiple independent intervals, exactly like the behavior when the ctrl key is held down. But I do not want the selection cleared like when the ctrl key is released and a new interval is selected.I solved my problem by subclassing JTable to invert the toggle parameter sent by BasicTableUI.java in the event that control is depressed while making a selection.
Now instead of using javax.swing.JTable I will use my Toggle inverted version below.
import javax.swing.JTable;
public class JTableToggle extends javax.swing.JTable {
public JTableToggle(){
super();
public void changeSelection(int rowIndex, int columnIndex, boolean toggle, boolean extend) {
// toggle is true in the case where the control key is pressed, i will invert that case.
toggle = !toggle;
super.changeSelection(rowIndex,columnIndex,toggle,extend);
} -
FileDialog with multiple files select
Hi,
I'm new to java programming.
I would like to write a script that brings a filddialog window with ability select multiple files.
I tried awt FileDialog, I could able to select only a single file.
Any code sample would be much appreciated.
Thanks.I am not sure it is possible in AWT FileDialog.
But If you use Swing's JFileChooser, It is certainly possible. -
Floating Dialog bug with multiple image selection?
The selectionChangeObserver fuction of the LrDialogs.presentFloatingDialog command is not being triggered in all cases.
It does not trigger when you have mulitple images selected and switch the main focus from one of the selected image to another seleted image.
Anyone else run into this? or is it something I am doing wrong.
function getSelectedImage()
LrTasks.startAsyncTask( function ()
local selectedPhoto = catalog:getTargetPhoto()
props.PhotoNew = selectedPhoto
end )
end
local result = LrDialogs.presentFloatingDialog (_PLUGIN, {
title = "Thumbnail test",
background_color = LrColor ("white"),
contents = c,
selectionChangeObserver = function( )
getSelectedImage()
end,I reported this as a bug here:
http://feedback.photoshop.com/photoshop_family/topics/lightroom_5_2_sdk_selection_change_c allback_not_called_by_change_in_most_selected_photo?rfm=1 -
IOS 6 facebook integration with multiple list selection and exception list selection?
hey guys,
does anyone know if there is in the iOS 6 facebook integration an option choosing multiple friendlists for posts or even the option to reject friendslists from reading particular posts?
this is what i miss in the facebook app and why the google plus app is better than the fb app.
maybe apple is going to introduce this facebook desktop posting feature into ios 6
greetzsemir.at wrote:
thank you meg, i thought because of the hundreds of ios 6 youtube videos anyone can comment this.
There is no way anyone here can comment on the veracity of those hundreds of videos. Sorry. -
Scheduled Report - Bug with Multiple Selection LOV parameter
Problem:
I have a scheduled report with a parameter that has it's "Multiple Selection" checkbox checked. I schedule the report with multiple values selected. When I receive the report via email, the report ran as if I only selected one LOV value instead of multiple values.
Facts:
1) Enterprise version 10.1.3.2.1
2) When you run the report manually with multiple values selected in the LOV, it runs great with the correct dataset.
3) This scheduled report does not have a Data Template.
James
P.S. - I searched this forum for other treads on this issue. I didn't find any. Sorry if this is a duplicate.I have this same problem, too.
When I select multiple parameters on the "View" screen for a given report, everything works fine.
When I schedule it, however, only the last parameter I clicked on (regardless of whether a select a range or multiple individual values) is passed to the query. The other selections I make are ignored.
What gives? Am I doing something wrong? Is this a bug? Is there a workaround? -
Creating Profile type report that hold fields with multiple values
Really hoping someone can please help me out as I am very new to Crystal Reports.
We use Maximizer CRM and we have been in need of some custom reports to rule out risk for regulators. I contacted Max and they suggested the only possible way is to create through Crystal. Its been almost one month already and I still cannot for the likes of me get this report operating properly. I have been inside and out on all sorts of forums, posted topics but no luck! So I will give it one more attempt in hopes that one of you geniuses can show me the way.
In Maximizer CRM there is date, numeric, alphanumric and table. Our table fields items can be set to either single value or multi-value. So in crystal i did a default join of Client.tbl and the user-defined fields from view and joined the client id and contact number from all the view fields to client table. See Image:
and I have dragged all the relevant fields in rows (in details section) rather then columns because we would be reporting on more then 1 record at a time. My problem is - If there is a table with multiple items selected (values), the records triple in count and it will show the same record over and over with just single field value changing at a time.
The formula field you see in the image is from when I posted a discussion and Abhilash assisted me by providing the formulas I should add:
1) Create a formula with this code and place this on the Details Section:
whileprintingrecords;
stringvar s := s + {field_with_multiple_values} + ", ";
2) Next, move all the fields (except the formula field above) from the Details section to the Report Footer
3) Create a formula with this code and place this on the Report Footer. This field would replace the existing field that contains multiple values:
whileprintingrecords;
stringvar s;
Left(s, len(s)-2);
This method is not working out for this type of report. When I add the formula Crystal is still counting my 2 records as 5 records but I can only view it as a single record and the multi-field has all the values for both records and displaying as a single record. See image:
Can anyone please assist and advise where I am going wrong?
-JaredHi Jared,
Thanks for taking down memory lane that is Maximizer. Nice to see their table structure hasn't been simplified in the last 20 years.
If I understand what's happening, you should only see 2 records and not 5. That means your joins are creating duplicate records. For now I'm going to skip over trying to optimize your query because I still have bad dreams of linking Maximizer tables.
There are a couple of ways to work around the duplicates, one is to create a group and instead of having your formula in the Detail section, put it in the Group Header. The question is what would you create your group on that would get you a unique record?
If you know where the duplicates are coming from, create a Record Selection Formula that will remove the duplicates.
There is also the menu option Database | Select Distinct Records. I've never really had success with this one but there's no harm in giving it a shot.
I would have you try and find which table or combination of tables is generating the duplicates but that requires playing with your links. Normally I'd start by adding one table at a time and dropping one field onto the report. If it doesn't repeat then add another table and field and repeat until you get your duplicates. Once you know where they are coming from then you can either drop that table from your query or create a selection formula that removes the duplicates.
Good luck,
Brian -
ALV Grid multiple row selection, disabling some
Does anyone know if it is possible to have an ALV grid with multiple row selection allowed but for some rows the row selection is disabled?
Kind regards,
John.Hi John,
You can add a check box and select multiple rows. I am using the same technique. I have used OO.
a) Use Even handler "Double Click"
b)Using "SELECT_ALL_ENTRIES CHANGING PT_OUTTAB TYPE STANDARD TABLE" and I am sorting based Check box selection.
Need more help please let me know. I will send you the code.
Lanka
Message was edited by: Lanka Murthy -
Outer Joins with multiple conditions - alternatives to UNION?
It is my understanding that Oracle 8i does not directly support mutiple conditions for outer joins. For instance, I'm looking for PEOPLE who may, or may not, be on MEDICATIONS.
All MEDICATIONS are listed with DRUGNAME and DRUGID. There thousand of different drugs. I'm only looking for PEOPLE on either one or two of them (to make it simple) or no drug at all (ignoring all other DRUGS they're on..) IF they are on the DRUG, it's gerts printed.
I'd ideally do a LEFT OUTER JOIN to do this with multiple conditions:
SELECT DISTINCT
PERSON.NAME,
MEDICATION.DRUGNAME,
MEDICATION.DRUGID
FROM
PERSON,
MEDICATION
WHERE
PERSON.ID = MEDICATION.ID (+) AND
(MEDICATION.DRUGID (+) = 632 OR
MEDICATION.DRUGID (+) = 956)
This, of course, is not valid, at least in 8i...
So I've taken the UNION approach:
SELECT DISTINCT
PERSON.NAME,
MEDICATION.DRUGNAME,
MEDICATION.DRUGID
FROM
PERSON,
MEDICATION
WHERE
PERSON.ID = MEDICATION.ID (+) AND
MEDICATION.DRUGID (+) = 632
UNION
SELECT DISTINCT
PERSON.NAME,
MEDICATION.DRUGNAME,
MEDICATION.DRUGID
FROM
PERSON,
MEDICATION
WHERE
PERSON.ID = MEDICATION.ID (+) AND
MEDICATION.DRUGID (+) = 956
This of course, does work, but as I've added more drugs this becomes quite unwieldly and not really sure what this does to performance. (There are also several more joins to other tables, not relevent here.)
In addition, if I import this into Crystal Reports 8.5 (as opposed to the Crystal Query Designer), it refuses to recognize the UNION.
-- Any suggestions for alternative syntax ???
-- Has this been addressed in 9i ???
Thanks,
WillYou could try
select Distinct Person.Name, Med.DrugName, Med.DrugId
from Person,
(select ID, DrugName, DrugId from Medication
where DrugId in (632, 956) ) Med
where Person.ID = Med.ID(+)
SELECT DISTINCT
PERSON.NAME,
MEDICATION.DRUGNAME,
MEDICATION.DRUGID
FROM
PERSON,
MEDICATION
WHERE
PERSON.ID = MEDICATION.ID (+) AND
(MEDICATION.DRUGID (+) = 632 OR
MEDICATION.DRUGID (+) = 956)
This, of course, is not valid, at least in 8i...
So I've taken the UNION approach:
SELECT DISTINCT
PERSON.NAME,
MEDICATION.DRUGNAME,
MEDICATION.DRUGID
FROM
PERSON,
MEDICATION
WHERE
PERSON.ID = MEDICATION.ID (+) AND
MEDICATION.DRUGID (+) = 632
UNION
SELECT DISTINCT
PERSON.NAME,
MEDICATION.DRUGNAME,
MEDICATION.DRUGID
FROM
PERSON,
MEDICATION
WHERE
PERSON.ID = MEDICATION.ID (+) AND
MEDICATION.DRUGID (+) = 956
This of course, does work, but as I've added more drugs this becomes quite unwieldly and not really sure what this does to performance. (There are also several more joins to other tables, not relevent here.)
In addition, if I import this into Crystal Reports 8.5 (as opposed to the Crystal Query Designer), it refuses to recognize the UNION.
-- Any suggestions for alternative syntax ???
-- Has this been addressed in 9i ???
Thanks,
Will -
Post Author: vman
CA Forum: General
I am working a report that has had the details section format with multiple columns selected. I want to change the report and remove the check box, but it is grayed out. How can I get the report details section back to default without the detail size constraints?Post Author: rcoleman
CA Forum: General
Bearing in mind that I'm a relative newbie to the report writing/Crystal world...the only thing I can think of is that maybe the report was written using an older version of Crystal and this option wasn't available. Another possibility, if it's a sub-report, you might try making a copy of the sub-report saving it with the same name, deleting the old sub-report, replacing it with the copy you made. I know that has worked for me when I've had problems with the re-import when opening is greyed out.
Maybe you are looking for
-
Ipod - transfer music from the Ipod to the computer
My computer died suddenly, how can I transfer my Ipod library on a new computer without the support of my old computer.
-
Update Migration Assistant and DVD/CD Sharing
Hi everyone, I'm just updating the Migration Assistant by Auto-Update and the Installation takes pretty long. It's been installing for over an hour now, and it's stuck at configuring installation. Time Machine does not do any backups either right now
-
Database installation questions
I am new to oracle database just want to download new oracle database 10g for learning But I am not sure which one I should download below? 1.Oracle Database 10g Release 1 (10.1.0.2) Enterprise/Standard Edition for Microsoft Windows (32-bit) 2.Oracle
-
Error -23027 in parametric graph
First off, I'm not even sure if what I have been attempting is feasible, so please tell me if it by chance is not possible to finish this. Nonetheless, here goes my attempt at solving my problem: I am trying to display a parametric graph (form x(t)=.
-
My iPhone lock button is not working
my iphone lock button is barely working what should i do?