need of a conversion in sql criteria
Hi all
I have a situation where I need help from you guyz. Kindly help, if you could. I have an output of the query to an array of data as follows:
SELECT OBJECT_ID PO_num
, DECODE (SEQUENCE_NUM, 1,' 1 approver: ', 2,' 2nd approver: ', 3, '3rd approver', 4,' 4th approver: ', 5,' 5th approver:', Null) APPROVER_Num
EMPLOYEE_NAME | ' @ ' || to_char(ACTION_DATE, 'DD-mon-YY hh12:mi:SS AM') APPROVER_ACTION
OF PO_ACTION_HISTORY_V
WHERE OBJECT_TYPE_CODE = 'PO '.
AND SEQUENCE_NUM <>0
and object_id = 129302 - in. header id
ORDER BY SEQUENCE_NUM
PO_NUM | APPROVER_NUM | APPROVER_ACTION |
129302 | 1 approver: | Anwar, M. Muhammad Naveed |
129302 | 2nd approver: | Iqbal, M. Zafar |
129302 | 3rd approver | Azeem, Mr. Muhammad Ali |
129302 | 4th approver: | Mr. Faisal Masood Ali Khan |
129302 | 5th approver: | Tijuana, Mr. Rizwan Ali |
But I need a query to get something like the following:
PO_NUM | 1 approver: | 2nd approver: | 3rd approver | 4th approver: | 5th approver: |
129302 | Anwar, M. Muhammad Naveed | Iqbal, M. Zafar | Azeem, Mr. Muhammad Ali | Mr. Faisal Masood Ali Khan | Tijuana, Mr. Rizwan Ali |
Kindly help!
Concerning
Shabbir
so, something like this:
SELECT OBJECT_ID PO_num
, MAX (DECODE (SEQUENCE_NUM, 1,' 1 approver:' | employee_name)) AS '1 approver.
, MAX (DECODE (SEQUENCE_NUM, 2,' 2nd approver:' | employee_name)) AS '2nd approver.
, MAX (DECODE (SEQUENCE_NUM, 3,' 3rd approver:' | employee_name)) AS "3rd approver.
, MAX (DECODE (SEQUENCE_NUM, 4,' 4th approver:' | employee_name)) AS '4th approver.
, MAX (DECODE (SEQUENCE_NUM, 5,' 5th approver:' | employee_name)) AS '4th approver.
OF PO_ACTION_HISTORY_V
WHERE OBJECT_TYPE_CODE = 'PO '.
AND SEQUENCE_NUM <> 0
AND object_id = 129302 - in. header id
Group by object_id, object_type_code
/
HTH
Tags: Database
Similar Questions
-
TopLink grid 11g: conversion of SQL queries to the filters of consistency
I would like to know how efficient the conversion of SQL queries for filters of coherence is wen search an object in the cache coherence. TopLink does something as instruction cache cache filters consistency as well? In this regard, you have number of performance?
Thank you very much!
Ming-WenTopLink grid currently has a rudimentary filter cache that allows TopLink to only translate NamedQuery once. This allows TopLink grid to reuse the same filter on subsequent runs of this NamedQuery.
-Gordon -
Need hlp with conversion of the. RAW binary file to image
Hello.
In my application, I need to transfer images from camera of impressive to LabView interface with capture card and then convert these images into format binary .raw. Camera works very well, so I have the raw files using simple VI (attached picture "Cup"). The problem starts when I'm reading these files and to recall them as images in LabView (just to make sure I have the pictures on the right). I found an example VI that used to perform the conversion form binary of image, but it does not show the correct image. Could check you my screws and point, where the problem is.
Thanks, ilya
You should write and read the same data type. In your case, you wrote IMAQ Image, but read table 2D.
Use Image IMAQ to array before writing, as shown here, for example: http://forums.ni.com/t5/Machine-Vision/can-imaq-write-tiff-file-2-save-array-of-SGL-values/m-p/18519...
Also - why do you need raw and use PNG or TIFF to store the image?
Andrey.
-
Need to favor: conversion of short film Youtube
well, since I'm still have not discovered why the conversion of film does not,
If there is someone out there who can create a film for the "rocket", I need this video to be converted:
http://www.YouTube.com/watch?v=-gzAHWiXhis
and I want to be on a rocket this birthday for tomorrow, someone there time to convert and send it to me today?
It would be great.
http://www.2shared.com/file/4258877/400d4f7c/mvideo.html
Search for the part at the bottom right that says: "save the file to your PC: click here»
-
Hi all
This is regarding the approval of invoice AP I need in my project where the user selects the users/people approval when creating the invoice based on logic. There may be any number of users who could be part of the approval group.
Approval users information is stored in a table with a single Bill.
When the user initiates invoice approval, approval of the Bill should go to all the people/users selected in the invoice.
I created the dynamic of approval group which is the result of a java class. This java class implements IDynamicApprovalGroup. (what is the oracle Developer Guide).
I called PL/SQL to java class package to get all the details of users of custom for the current invoice table.
I used the DriverManager.getConnection method by hard coding (JDBC URL, Username, Pwd) connection details that works perfectly fine.
But I don't want to hard-code the connection details because it will change in bodies SIT/UAT/PROD.
Please ask you to guide me if there is no solution for the information of connection without hard coding it.
Following code used to get the connection details
try {}
Class.forName ("oracle.jdbc.driver.OracleDriver");
System.out.println ("= class loaded");
}
catch (ClassNotFoundException ex) {}
System.out.println ("= class loading error");
ex.printStackTrace ();
}
Fitting out = null;
CallableStatement cstmt = null;
Try
{
connection = DriverManager.getConnection ("jdbc:oracle:thin:@xxhostname:1521/SID", "FUSION", "*");
Connection = GetConnection ();
System.out.println ("= connection =" + connection);
prepare the call
cstmt = connection.prepareCall ("{call XX_AP_INV_DYN_APPROVAL_PKG. {GET_GROUP_PARTICIPANTS (?,?)} ») ;
cstmt.setString (1, '12345'); ID on invoice
Exit of the register
cstmt.registerOutParameter (2, java.sql.Types.VARCHAR);
Call the stored procedure
cstmt. Execute();
System.out.println ("= procedure being executed");
approvalGroupMembers = cstmt.getString (2).split("#");
System.out.println ("= output:" + cstmt.getString (2));
}
catch (Exception ex) {}
ex.printStackTrace ();
}
Finally
{
Try
{
If (cstmt! = null)
close the callable statement
{
cstmt. Close();
cstmt = null;
}
System.out.println ("= stmt closed");
}
catch (SQLException ex)
{
System.out.println ("= stmt close err");
ex.printStackTrace ();
}
Try
{
If (connection! = null)
close the connection
{
Connection.Close;
connection = null;
}
System.out.println ("= closed conn");
}
catch (SQLException ex)
{
System.out.println ("= Close conn err");
ex.printStackTrace ();
}
}
Thank you
Dipak.
HI Dembélé - you should be able to call the provider database from the java class. Documentation is here. However, you need to specify the name of the data provider that is the same in all environments. Do you know what it is? If it's not I'll take a look and get back to you.
__
Peter Maurer
Relationship with the developers of Applications in fusion
-
Need to PROFILE options in SQL query
SELECT ffvs.FLEX_VALUE_SET_NAME , ffvs.FLEX_VALUE_SET_ID , ffv.FLEX_VALUE_ID , ffv.FLEX_VALUE FROM fnd_flex_value_sets ffvs , fnd_flex_values ffv WHERE 1=1 AND ffvs.FLEX_VALUE_SET_ID=ffv.FLEX_VALUE_SET_ID AND ffvs.FLEX_VALUE_SET_ID=1012493 -- SCHEME_GL_OPTION AND ffvs.FLEX_VALUE_SET_ID IN (select FLEX_VALUE_SET_ID from FND_FLEX_VALUE_RULE_LINES where FLEX_VALUE_RULE_ID in (select FLEX_VALUE_RULE_ID from FND_FLEX_VALUE_RULES where FLEX_VALUE_RULE_NAME='MDS ZA Option' ))
I try to run the particular qyery of SQL to create the VIEW.
Concern:-he will return all columns of values associated with all the rules and count GL
-> I want to filter by running the or by using the PROFILE option so that he returned for a single RESP_ID.
It is anyway to use in creating in the QUERY view to pick up the only RESP_ID.
Hope I made clear in my question.
I agree with you people.
This table, I used fnd_flex_value_rule_usages to join the fnd_flex_values for responsibility according to the users want by passing the value.
No need to use the PROFILE option.
Thanks to all of you guyz.
-
Need of advice/pointers on SQL or PL/SQL
I produced a set of results as follows:
V1 C1 CENTER CENTER CENTER CENTER CENTER CNTR CENTER CTR CRES CRES CRES CRESCENT CYN CANYON CYN CYN where the column v1 is the Group and c1 is values. I need C1 combinations for 3 groups of CENTER x CRES x CYN = 4 x 2 x 2 = 16 using SQL or PL/SQL atmost. Note that groups (v1) are dynamic and vary.
Example combinations are CENTER-> CRES-> CANYON, CENTER-> CRES CENTER GetByteArray CRESENT, CYN-> CANYON, CENTER-> CRESENT-> CYN etc.
Appreciate any help/pointers for this problem.
Delphine
You want maybe it...
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing optionsSQL > WITH table_name LIKE)
2. SELECT 'CENTER' v1, c1 "CENTER".
3 DOUBLE
4 UNION ALL
5. SELECT 'CENTER', 'CENTRE '.
6 DOUBLE
7 UNION ALL
8. SELECT 'CENTER', 'CNTR.
9 DOUBLE
ANY UNION 10
11. SELECT 'CENTER', 'CTR '.
12 DOUBLE
13 UNION ALL
14. SELECT "CRES", "CRES".
15 DOUBLE
16 UNION ALL
17 SELECT "CRES", "CRESCENT".
18 DOUBLE
19 UNION ALL
20. SELECT "CYN", "CANYON".
21 DOUBLE
22 UNION ALL
23 SELECT "CYN", "CYN".
24 DOUBLE)
25 SELECT substr (sys_connect_by_path (c1, '->'), 3) combo
26 (SELECT v1, c1, dense_rank() over (ORDER BY v1) rnk
27 FROM tbl_name)
28 WHERE connect_by_isleaf = 1
29 START WITH rnk = 1
30 CONNECT BY rnk is rnk PRIOR + 1;.COMBO
--------------------------------------------------------------------------------CENTER-> CRES-> CANYON
CENTER-> CRES-> CYN
CENTER-> CRESCENT-> CANYON
CENTER-> CRESCENT-> CYN
CENTER-> CRES-> CANYON
CENTER-> CRES-> CYN
CENTER-> CRESCENT-> CANYON
CENTER-> CRESCENT-> CYN
CNTR-> CRES-> CANYON
CNTR-> CRES-> CYN
CNTR-> CRESCENT-> CANYON
CNTR-> CRESCENT-> CYN
CTR-> CRES-> CANYON
CTR-> CRES-> CYN
CTR-> CRESCENT-> CANYON
CTR-> CRESCENT-> CYN16 selected lines.
SQL >
-
pls I need your help in my SQL query statement
Hi brothers
pls guys I need someone help me on this issue
3.1.1.
List of all columns in all the lines in the table STOCKITEM Crescent primary key sequence.
Only list the lines where the selling price is higher than the price of purchase multiplied by 3 or the
selling price is lower than the price of purchase multiplied by 2?
I made this stastment but the ruselt doesn't come with multiplied by 2 or 3.
SELECT *.
IN stockitem
where sellprice > purchprice * 3
or sellprice > purchprice * 2
stkid asc agenda;Something like that?
SQL> SELECT stkid, 2 sellprice*3 sellprice, 3 purchprice*2 purchprice 4 FROM stockitem 5 where sellprice > purchprice *3 6 or sellprice < purchprice *2 7 order by stkid asc 8 / STKID SELLPRICE PURCHPRICE ---------- ---------- ---------- 78 33 5.5 82 16.8 3.36 85 120 44 88 97.5 37 SQL>
Concerning
Girish Sharma -
Hi guys,.
I have a question on how the oracle is posting implicit conversion in the following cases.
I have a table: table1 with two columns: a number (10), b varchar2 (10). Both are indexed unique.
If I have a SQL like this:
the implicit conversion is performed on '99' and the final SQL will be something like:select * from table1 where a = '99'
the same thing will happen with 'aaa' and I get an error. Please note that represents the column and the index will be used.select * from table1 where a = to_number ('99')
If I have a sql like:
Note that b is the varchar2 column.select * from table1 where b = 99
the implicit conversion will be done on the column and the index will not be used
THEN, forgetting for a moment that it is not OK to allow an implicit conversion, what are the rules that apply here? If the number, the conversion will be made on the value and varchar conversion will be performed on the column? What else?select * from table1 where to_number (b) = 99
Thank youhttp://docs.Oracle.com/CD/E11882_01/server.112/e26088/sql_elements002.htm#SQLRF51047
-
Need to transfer data from sql server at EBS
I need to transfer data from Mirco Soft SQL server database Oracle (EBS).
Please guide me how can I achieve this milestone in best way.
Please provide the price of licenses of the Golden Gate and other product adapted SQL SERVER GATEWAY ect
Thanks in advanceThere are a lot of options
1 using SQL Server linked server is so easy
http://www.mssqltips.com/sqlservertip/1433/how-to-setup-linked-servers-for-SQL-Server-and-Oracle-64-bit-client/
2. use SSIS
http://www.mssqltips.com/sqlservertip/2011/export-SQL-Server-data-to-Oracle-using-SSIS/
3. using sqldeveloper
http://St-curriculum.Oracle.com/OBE/DB/hol08/sqldev_migration/MSSQLServer/migrate_microsoft_sqlserver_otn.htm#T9hope this helps,
concerning
http://www.oracleracexpert.com
ORA-19755 at the start of the recovery/DB
| http://www.oracleracexpert.com/2009/09/ora-19755-could-not-open-change.html
Error ORA-07445 and the reasons for which it
http://www.oracleracexpert.com/2009/08/ora-07445-error.html -
Need help in writing the SQL CASE or DECODE statement
Hi experts,
I need to write a SQL select order_num, cntry_cde, prod_id and Qty by joining order_num on PROD_ORDER and PROD_ORDER_TXT.
Here is my sample data
PROD ORDER_
order_num Prod_id Qty cntry_cde
100 US A1 5
101 US 10 A2
102 IN A3 4
103 TO THE A4 9
104. IN A5 3
PROD ORDER_TXT_
cntry_cde Prod_id order_num
100 US A1
101 US A2
102 NZ A3
103 TO THE A4
A5 104
Here's the requirement,
(1) if the cntry_cde in PROD_ORDER is the same as cntry_cde in PROD_ORDER_TXT then select PROD_ORDER.cntry_cde (orders 100, 101, 103)
(2) if they are different, choose PROD_ORDER_TXT (order 102, to THE NZ <>) country code
(3) if they are different and PROD_ORDER_TXT.cntry_cde is null, I can't use it like cntry_cde in my report (order 104). It happenend just because of bad data to the source.
I can't avoid it. Then just use the cntry_cde of PROD_ORDER
Expected results
100 US A1 5
101 US 10 A2
102 NZ A3 4 - changed in NZ
103 TO THE A4 9
104. IN A5 3 - IN retained as PROD_ORDER_TXT.cntry_cde is null
instructions for creation and insertion of sample table are lower than
create the table prod_order
(number of order_num,
cntry_cde CHAR (2),
prod_id VARCHAR2 (6).
number of quantity)
create the table prod_order_txt
(number of order_num,
cntry_cde CHAR (2),
prod_id VARCHAR2 (6))
insert into prod_order values (100, 'WE', 'A1', 5);
insert into prod_order values (101, 'WE', 'A2', 1);
insert into prod_order values (102, ' to THE ', 'A3', 4);
insert into prod_order values (103, ' to THE ', 'A4', 9);
insert into prod_order values (104, 'IN', 'A5', 3);
insert into prod_order_txt values (100, 'WE', 'A1');
insert into prod_order_txt values (101, 'WE', 'A2');
insert into prod_order_txt values (102, 'NZ', 'A3');
insert into prod_order_txt values (103, ' to THE ', 'A4');
insert into prod_order_txt values (104, 'A5', NULL);
commit;
Thank you for your help in advance
Published by: manon March 28, 2012 13:39
-
I'm trying to convert the data stored in XML format in HTML format. the issue is already stored in a table and I need to create a view that can retrieve the values in the expected format and switch to a different app.
something similar to HTML encode and decode features.
I tried to create a function and use it... but it's consider the values after & as variables and asking to enter the values for it.
The following SQL code I tried to use
declare
input_string VARCHAR2 (250): = ' a & amp; b'; -I tried of the & amp;- but it was being converted here, so I add a space after the &
outString VARCHAR2 (250): = ";
Start
Dbms_Output.put_line (' entry-' | input_string);
SELECT REPLACE
(REPLACE
(REPLACE
(REPLACE
(REPLACE
(input_string,
"& quot; ','"'),-I was trying for the & quot - but that has been converted, so I add a space after the & "
"& amp; '&'),
APOs;', "').
"(& lt;', ' <'),"
"& gt; ',' (> ') in outstring FROM DUAL;"
Dbms_Output.put_line (' out-' | outstring);
end;
When I looked up, it is recommended that we should use SET DEFINE OFF. but the problem is that I can't use it on my server as I'm not sure if it affects something else.
is there anyway that I can run it without changing it.
Also, have we not all functions in building for that.Using the & to accept parameters is the interaction of SQLPLUS (which is a client) and has nothing to do with the server.
So there should be no problem issuing a SET DEFINE OFF If you must run this script via sqlplus.
-
Well, gang. I am wondering how to make my life easier.
We shot a ton of images over the weekend using a Canon 5 d MK2 (1080 p 30) and also a camcorder Sony Z5 HD (1080i). The problem is trying to change two formats in Premiere Pro.
A bigger problem is that a large part of the images requires a race through with stabilizing Warp AE 5.5 Long history.
Despite my state of the art, i7, I think this is taken way too long to go Warp stabilizer. It is atrocious.
I read that I should I convert my images to another codec, but I see so many options I am just confused about all this. MJPEG was recommendedto me, but I'm confused by how it works, and if I can even support him.
My system has Adobe CS5 Production Premium, and I have a trial version of AE5.5. I can not really afford right now to buy another software. Sorry, I'm broken.
What can you advise me? Maybe I need to change as it is with all sequences of shakey and then when I have my final cut, stabilize what needs? This could be a pain in the neck, because we use a lot of crossfades.
Should my Sony Z5 being all 1080i images I get something like Squared 5 MPEG Streamclip video converter to do a batch conversion to 1080 p? If so, what codec or format for editing with my DSLR images.
Once again, my apologies for the asking. I absolutely read on it and spend a lot of time trying to figure it all out myself, but I'm stumped.
Oh boy... so my sequence, which I did a bit of work, is 1920 x 1080 progressive (30). Is it possible to modify the sequence after the fact? I've never understood that one before.
Impossible to change a sequence, but just create a new sequence of 1080i60, copy changes from your 1080 p sequence and paste them into the new. You change the order of the fields, not a time base, so all of your changes will (or should) always fall on the limits of the legal framework.
Ultimate output this is a 1080 p BluRay.
I'm not a guy to BluRay, but I think that the only 1080 progressive formats of BD are 1080p23.976 and 1080 p 24 - No 1080 p 30 (29.97). So, you should be better off editing in a sequence of 1080i60 then, since it is a legitimate BD format.
-
Hello, I'm doing a migration of SQL Server T - SQL to oracle 11 g PL/SQL, and I don't want to use a global temporary table; Instead, consider using sliders and pl/sql table.
I got hit in a scenario where I need to convert the following in a single sql statement.
Stage of T - SQL:
============
Insert (#ActCde)
InvntrySbLdgrChngeID
DlHdrID
DlDtlID
ChemID
StrtgyID
Quantity
Value
Modified)
Select InvntrySbLdgrChngeID
DlHdrID
DlDtlID
ChildPrdctID
StrtgyID
VolumeChanged
ValueChanged
, 'N'
of InventorySubLedgerChange
where LastInChain = 'Y '.
-updated column "Changed" of particular documents to 'Y' based on conditions
Update #ActCde
Changed the value = 'Y '.
of #ActCde (nolock)
Left Outer Join InventorySubledgerDetail ISD (nolock)
on #ActCde.DlHdrID = DSI. DlDtlChmclDlDtlDlHdrID
and #ActCde.DlDtlID = ISD. DlDtlChmclDlDtlID
and #ActCde.ChemID = DSI. DlDtlChmclChmclChldPrdctID
and #ActCde.StrtgyID = DSI. StrtgyID
and the DSI. AccntngPrdID = @i_AccntngPrdID - variable parameter
Where abs (#ActCde.Qty - isnull (ISD.) BeginningVolume, 0)) >.01
or abs (#ActCde.Value - isnull (ISD.) BeginningValue, 0)) >.01
or (abs(#ActCde.Qty) = 0 and)
ABS(#ActCde.value) = 0 and
ABS (isnull (ISD. BeginningVolume, 0)) = 0 and
ABS (isnull (ISD. BeginningValue, 0)) = 0
)
Convertion of SQL:
===============
I would like to do something like
Select A.InvntrySbLdgrChngeID,
A.DlHdrID,
A.DlDtlID,
A.ChemID,
A.StrtgyID,
A.Qty,
A.Value,
A.Changed
Of
(select InvntrySbLdgrChngeID
DlHdrID
DlDtlID
ChildPrdctID AS ChemID
StrtgyID
VolumeChanged AS Qty,
ValueChanged value have
, 'N'
of InventorySubLedgerChange
where LastInChain = 'Y') A LEFT OUTER JOIN InventorySubledgerDetail B
ON A.DlHdrID = B.DlDtlChmclDlDtlDlHdrID
and A.DlDtlID = B.DlDtlChmclDlDtlID
and A.ChemID = B.DlDtlChmclChmclChldPrdctID
and A.StrtgyID = B.StrtgyID
and B.AccntngPrdID = i_AccntngPrdID - parameter varibale
Where abs (A.Qty - isnull(B.BeginningVolume,0)) >.01
or abs (A.Value - isnull(B.BeginningValue,0)) >.01
or (abs (A.Qty) = 0 and)
ABS (A.value) = 0 and
ABS (IsNull(B.BeginningVolume,0)) = 0 and
ABS (IsNull(B.BeginningValue,0)) = 0
)
And I need to change the 'A.CHANGED' column value 'Y', based on the outer join, as is above T - SQL.
IF this wont work so pls help me to another way to do this.
in this regard, your help is appreciated.
Thank you!
SSTry this
select #ActCde.InvntrySbLdgrChngeID , #ActCde.DlHdrID , #ActCde.DlDtlID , #ActCde.ChildPrdctID , #ActCde.StrtgyID , #ActCde.VolumeChanged , #ActCde.ValueChanged , case when abs(#ActCde.Qty - isnull(ISD.BeginningVolume,0)) > .01 or abs(#ActCde.Value - isnull(ISD.BeginningValue,0)) > .01 or ( abs(#ActCde.Qty) = 0 and abs(#ActCde.Value) = 0 and abs(isnull(ISD.BeginningVolume,0)) = 0 and abs(isnull(ISD.BeginningValue,0)) = 0 ) then 'Y' else 'N' end changed from InventorySubLedgerChange #ActCde Left Outer Join InventorySubledgerDetail ISD (nolock) on #ActCde.DlHdrID = ISD.DlDtlChmclDlDtlDlHdrID and #ActCde.DlDtlID= ISD.DlDtlChmclDlDtlID and #ActCde.ChemID = ISD.DlDtlChmclChmclChldPrdctID and #ActCde.StrtgyID = ISD.StrtgyID and ISD.AccntngPrdID = @i_AccntngPrdID - paramenter variable where LastInChain = "Y"
-
Need help! Working with SQL databases
Hi all
I am currently working on an application that interacts with a SQL database, and it seems to have hit a roadblock.
I have a multi-column list box on my front which is filled with the data extracted from the database. By choosing one of the lines in the list box, another opens showing another set of data retrieved by a generated SQL query. At the moment I only select one line at a time to see it has the data, but I want to expand such that I can select mutiple rows in the list both box and see all their relevant data.
With only one selection, I can switch the index value of the selection of a function table of Index with the database as another entry and build my SQL statement.
But with multiple choices, I guess I have to build a table on the index values and use them as reference to build the SQL statement. And I don't know how exactly to do that.
Here is the code that I currently work for a single selection in the drop-down list.
Any help is appreciated. See you soon.
tdog says:
Hi all
I am currently working on an application that interacts with a SQL database, and it seems to have hit a roadblock.
I have a multi-column list box on my front which is filled with the data extracted from the database. By choosing one of the lines in the list box, another opens showing another set of data retrieved by a generated SQL query. At the moment I only select one line at a time to see it has the data, but I want to expand such that I can select mutiple rows in the list both box and see all their relevant data.
With only one selection, I can switch the index value of the selection of a function table of Index with the database as another entry and build my SQL statement.
But with multiple choices, I guess I have to build a table on the index values and use them as reference to build the SQL statement. And I don't know how exactly to do that.
Here is the code that I currently work for a single selection in the drop-down list.
Any help is appreciated. See you soon.
Regarding the table of construction:
I can see Hat multicolumn listbox you have multiselection enabled and is limited to one or zero element selected at a time. To allow multiselction; Done just right click your multi-column listbox and change your selection to support multiple selected items. The NewVal to the structure of the event should change to a single index number in a 1 d of the numbers indexed table. No coding required. Then just to retrieve all items (since you know the index) and create the quiry. Quiry part, I'm not really (long time no see SQL), but it looks like a loop for to create the chain should do the trick?
Maybe you are looking for
-
How can I connect my iphone to my iPad 2 Air 5s?
How to connect my iPhone 5 s for my my iPad 2 Air, download my contacts?
-
The difference between Measurement Studio and NiDAQmx?
What is the main difference in Measurement Studio and NIDAQmx. I have a DAQ software, which was originally developed in Visual C++ 2003 M, who initially used Measurement Studio. Now, I want to replace involved studio by NIDAQmx latest version. It is
-
HP OfficeJet Pro 8500Series # {information} CM755A model The printer prints using the printer and the output looks fine. However, when you use scan, copy or fax characteristic of the printer, there is gray stripes dark page that covers almost the ent
-
Parental controls does not block the proxy or VPN servers for access to *.
Our teenage son found a way around Parental controls by using proxy servers or a personal VPN. I tried to add more sites to the list of blocked sites, but there seems to be hundreds of them. Is there a way to stop this exception taking internet acces
-
BlackBerry Smartphones from blackBerry "BOLD"
Hi guys you can get your blackberry fixed after it is damaged thanks to water