How to achieve the results by Query ??
Hello Guys,
I have couple tables which I need to join to get the result....This is what is in the tables...
CList Table
CID, Name
A, ABC
B,CDE
C,JFK
JList Table
JID, Name
1, Something
2, Another
3, Else
4, Should be something
JOb_2_Courses
JobID, CourseID
1,A
1,B
2,C
Employee Table
EID, Job_ID
1A, 1
2A,1
3B,1
2C,2
23D,3
CStatus Table
StatusID, Desc
1,Completed
2,Pending Approval
3,Declined
4,Scheduled
5,Register
Now user can only register the course which are related with their job....NO course else.....
When they register it is moved to temp_course_registration and then once completed to COURSE_HISTORY
For Example : So Employee : 1A will see two courses to register A and B...
Say he registers A....it makes an entry in temp_course_registration table with the course id, employeeid and date....
With further steps once that status is updated to '1'.....the course is deleted from temp_course_registration and is moved to course_history........
Now to show to the user...I need to include all my tables in the query and on the basis of status, show necessary things to the user....
Output :
Course_ID, Status.............
Say if they completed the course will come from course_history, if in the process will come from temp_course_registration.....if nothing is in the tables for the specific employee...this means status is '5' and they need to register everything...
Can someone let me know, how to achieve the results....
Thanks,
Harsimrat
Hello
I'm off home now so I can't look at the query, but for future reference, if you want to improve your chances of getting help, you need to provide simple create table statements, and test data to go with it. I've done that with what you provided and hopefully someone else will be able to help. Also, you were asked if you could provide this in your other thread...
CREATE TABLE CList(CID varchar2(1), Name varchar2(3))
insert into clist values('A', 'ABC');
insert into clist values('B','CDE');
insert into clist values('C','JFK');
CREATE TABLE JList(JID number, Name varchar2(30))
insert into jlist values(1, 'Something');
insert into jlist values(2, 'Another');
insert into jlist values(3, 'Else');
insert into jlist values(4, 'Should be something');
CREATE TABLE JOb_2_Courses(JobID number, CourseID varchar2(1))
insert into job_2_courses VALUES(1,'A');
insert into job_2_courses VALUES(1,'B');
insert into job_2_courses VALUES(2,'C');
CREATE TABLE Employee (EID varchar2(3), Job_ID number)
INSERT INTO employee VALUES('1A', 1);
INSERT INTO employee VALUES('2A',1);
INSERT INTO employee VALUES('3B',1);
INSERT INTO employee VALUES('2C',2);
INSERT INTO employee VALUES('23D',3);
CREATE TABLE CStatus(StatusID number, Descr varchar2(30))
insert into cstatus values(1,'Completed');
insert into cstatus values(2,'Pending Approval');
insert into cstatus values(3,'Declined');
insert into cstatus values(4,'Scheduled');
insert into cstatus values(5,'Register');HTH
David
Similar Messages
-
How to show the result of query in oracle forms 10g to Excel Sheet File
Dear All,
I have query and i want the result to be show in excel sheet file in oracle forms
for example if i have a form with search criteria and when pressed the button of ( export to excel ) the result is
excel file contains the result of the query .The only method to achieve this is with the help of Webutil. Please go through documentation for more help.
Regards,
Manoj Chakravarthy -
Af:query - How to get the result rowsets
Hi,
I have a requirement where i need to search the db rows on and append the results the adf rich table on each search.
For this i am using af:query component. And trying to get the result rows for the named criteria.
String mexpr = "#{bindings.DestinDescVOCriteriaQuery.processQuery}";
processMethodExpression(mexpr, queryEvent, QueryEvent.class);
ViewCriteriaManager vcm = getDestinDescViewObj().getViewCriteriaManager();
ViewCriteria vc = vcm.getViewCriteria("DestinDescVOCriteria");
getDestinDescViewObj().applyViewCriteria(vc);
AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
adfFacesContext.addPartialTarget(tblDestinDesc);
However on each click of search the rows searched in the previous attempt are not retained.
Can anyone let me know how to get the result from named criteria and append it the table?
Thanks
AjayCan anyone help?
-
How to display the result of excutions(insert/update/delete rows)
Hello.
Does anyone know how to display the result of scenario executions just like a scenario executions tab of package (insert/update/delete rows) in other screen (in the intergated operating platform for operators using http)
In additional, I also like to show the hierarchy of scenario in the same view.
So, I need the query using the information of the ODI repository.
If it is possible, I also like to have the decription of the tables in the ODI repository.
Can anyone tell me how can I get the information of the counts of excution?
Thanks in advance.Hi,
You can get that information from the API getPrevStepLog. Does it work for you?
Download the last API reference manual from:
http://www.oracle.com/technology/products/oracle-data-integrator/10.1.3/htdocs/1013_support.html#docs -
How to achieve the from and to date range in report builder 3.
I AM TRYING TO CREATE ONE REPORT FROM REPORT BUILDER 3.
WHERE I AM UNABLE TO DEFINE THE DATE RANGE.
HOW TO ACHIEVE THE DATE RANGE IN REPORT BUILDER.
NEED FROM DATE AND TO DATE FILTER IN REPORT BUILDER FOR PK DATE.Hi Ganesh,
According to your description, you create a report in Report Builder 3.0, and create two parameters FromDate and EndDate, now you want to use the parameters in your MDX query, right?
If in this case, here is a sample query for your reference.
select
{[Measures].[Internet Sales Amount]
} on columns,
{[Date].[Date].members} on rows
from(
select
STRTOMEMBER("[Date].[Date].&["+@StartDate+"]"):STRTOMEMBER("[Date].[Date].&["+@EndDate+"]")
) on columns
from [Adventure Works]
Reference:STRTOMEMBER
Regards,
Charlie Liao
TechNet Community Support -
How to get the results for given Bind Variable
Hi
Can any one help me how to get the result rows from the View Object after executing the view object query by setting bind variable?
snippet as follows
viewObject.setNamedWherClauseParams("name","hei");
viewObject.executeQuery();
How to get the results from viewObject is my question..?
Thanks in advanceShould be something like
while (vo.hasNext()){
Row r = vo.next();
r.getAttribute....
You might want to read the "most commonly used methods" appendix in the ADF Developer Guide. -
How to use the same POWL query for multiple users
Hello,
I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
"Query 'ABC' is already open in another session."
where 'ABC' is the query name.
Can you please tell me how to use the same POWL query for multiple users ?
A fast reply would be highly appreciated.
Thanks and Regards,
SandhyaBatch processing usually involves using actions you have recorded. In Action you can insert Path that can be used during processing documents. Path have some size so you may want to only process document that have the same size. Look in the Actions Palette fly-out menu for insert path. It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..
-
How to display the results in order by based on search value
Hi All,
how to display the results in the below order.
CREATE TABLE TEST( SONGID NUMBER, TITLE VARCHAR2(200))
INSERT INTO TEST(SONGID,TITLE) VALUES (10,'AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (11,'CICCONE, MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (12,'DALLIN, MADONNA LOUISE/STOCK');
INSERT INTO TEST(SONGID,TITLE) VALUES (13,'MADONNA');
INSERT INTO TEST(SONGID,TITLE) VALUES (14,'MADONNA (A)/ AHMADZAI, MIRWAIS (C)');
INSERT INTO TEST(SONGID,TITLE) VALUES (15,'MADONNA (CA)');
INSERT INTO TEST(SONGID,TITLE) VALUES (16,'MIRWAIS AHMADZAI, MADONNA');
INSERT INTO TEST(SONGID,TITLE) VALUES (17,'MIRWAIS (CA)/ MADONNA (CA),AHMADZAI');
INSERT INTO TEST(SONGID,TITLE) VALUES (18,'MADONNA (CA),CICCONE');
SELECT *FROM TEST WHERE INSTR (TITLE, 'MADONNA') > 0
output:
SONGID TITLE
10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
11 CICCONE, MADONNA (CA)
12 DALLIN, MADONNA LOUISE/STOCK
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
16 MIRWAIS AHMADZAI, MADONNA
17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
18 MADONNA (CA),CICCONE
Expected output :
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
18 MADONNA (CA),CICCONE
...if user searches with 'MADONNA' , I have to display the results like title starts with 'MADONNA' first then rest of the records.
Please let me know is it possible to display the results in that order.
Regards,
RajasekharThis may be a bit more accurate:
SQL> SELECT *
2 FROM TEST
3 WHERE INSTR (TITLE, 'MADONNA') > 0
4 ORDER BY INSTR (TITLE, 'MADONNA')
5 ,TITLE
6 ;
SONGID TITLE
13 MADONNA
14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
15 MADONNA (CA)
18 MADONNA (CA),CICCONE
12 DALLIN, MADONNA LOUISE/STOCK
11 CICCONE, MADONNA (CA)
17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
16 MIRWAIS AHMADZAI, MADONNA
10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA) -
mac book running slow I tried etresoft but not sure how to inturpret the results any help would be so awesome, thank you
Problem description:
Computer started running very slowly, when I type there is a delay and internet connection is very slow although it is not the wifi connection because it is running well on all other computers, phones, ect.
EtreCheck version: 2.1.8 (121)
Report generated March 28, 2015 12:02:27 PM HST
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
MacBook Pro (13-inch, Late 2011) (Technical Specifications)
MacBook Pro - model: MacBookPro8,1
1 2.4 GHz Intel Core i5 CPU: 2-core
4 GB RAM
BANK 0/DIMM0
2 GB DDR3 1333 MHz ok
BANK 1/DIMM0
2 GB DDR3 1333 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Battery Health: Normal - Cycle count 640
Video Information: ℹ️
Intel HD Graphics 3000 - VRAM: 384 MB
Color LCD 1280 x 800
System Software: ℹ️
Mac OS X 10.7.5 (11G63) - Time since boot: 24 days 0:56:6
Disk Information: ℹ️
ST9500325ASG disk0 : (500.11 GB)
disk0s1 (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 499.25 GB (422.45 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
MATSHITADVD-R UJ-8A8
USB Information: ℹ️
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. FaceTime HD Camera (Built-in)
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple, Inc. MacBook Pro
Launch Agents: ℹ️
[running] com.Affinegy.InstaLANa.plist [Click for support]
[loaded] com.google.keystone.agent.plist [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[unknown] com.Affinegy.InstaLANd.plist [Click for support]
[loaded] com.google.keystone.daemon.plist [Click for support]
[loaded] com.microsoft.office.licensing.helper.plist [Click for support]
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist [Click for support]
[failed] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist [Click for details]
[running] com.spotify.webhelper.plist [Click for support]
User Login Items: ℹ️
iTunesHelper Application Hidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
GrowlHelperApp Application (/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app)
Belkin Router Monitor Application (/Applications/Belkin/Belkin Router Monitor.app)
AdobeResourceSynchronizer Application Hidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
Dropbox Application (/Applications/Dropbox.app)
Spotify Application (/Applications/Spotify.app)
Internet Plug-ins: ℹ️
FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.1
AdobePDFViewerNPAPI: Version: 10.1.3 [Click for support]
AdobePDFViewer: Version: 10.1.3 [Click for support]
Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
OfficeLiveBrowserPlugin: Version: 12.3.5 [Click for support]
SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Click for support]
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
DirectorShockwave: Version: 12.1.3r153 - SDK 10.6 [Click for support]
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
3rd Party Preference Panes: ℹ️
Flash Player [Click for support]
Growl [Click for support]
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
22% iTunes
5% ReportCrash
2% WindowServer
1% Microsoft PowerPoint
1% Google Chrome
Top Processes by Memory: ℹ️
241 MB Google Chrome
137 MB Google Chrome Helper
107 MB Microsoft PowerPoint
103 MB Dropbox
94 MB mds
Virtual Memory Information: ℹ️
440 MB Free RAM
2.27 GB Active RAM
536 MB Inactive RAM
1.05 GB Wired RAM
8.03 GB Page-ins
908 MB Page-outs
Diagnostics Information: ℹ️
Mar 28, 2015, 12:01:57 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120157_[redacted].crash
Mar 28, 2015, 12:01:36 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120136_[redacted].crash
Mar 28, 2015, 12:01:36 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120136_[redacted].crash
Mar 28, 2015, 12:01:25 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120125_[redacted].crash
Mar 28, 2015, 12:01:14 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120114_[redacted].crash
Mar 28, 2015, 12:01:14 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120114_[redacted].crash
Mar 28, 2015, 12:00:31 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120031_[redacted].crash
Mar 28, 2015, 12:00:20 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120020_[redacted].crash
Mar 28, 2015, 12:00:20 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120020_[redacted].crash
Mar 28, 2015, 12:00:10 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120010_[redacted].crash
Mar 28, 2015, 12:00:10 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120010_[redacted].crash
Mar 28, 2015, 11:59:59 AM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115959_[redacted].crash
Mar 28, 2015, 11:59:47 AM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115947_[redacted].crash
Mar 28, 2015, 11:59:38 AM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115938_[redacted].crash
Mar 28, 2015, 11:59:29 AM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115929_[redacted].crash
Mar 28, 2015, 11:59:20 AM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115920_[redacted].crash
Mar 28, 2015, 11:59:09 AM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115909_[redacted].crash
Mar 28, 2015, 11:59:09 AM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115909_[redacted].crash
Mar 28, 2015, 11:58:57 AM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115857_[redacted].crash
Mar 28, 2015, 11:58:57 AM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115857_[redacted].crash
Mar 28, 2015, 11:58:45 AM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115845_[redacted].crash
Mar 28, 2015, 12:01:45 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120145_[redacted].crash
Mar 28, 2015, 12:01:45 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120145_[redacted].crash
Mar 28, 2015, 12:01:03 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120103_[redacted].crash
Mar 28, 2015, 12:00:54 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120054_[redacted].crash
Mar 28, 2015, 12:00:54 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120054_[redacted].crash
Mar 28, 2015, 12:00:42 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120042_[redacted].crash
Mar 28, 2015, 12:00:42 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120042_[redacted].crash
Mar 28, 2015, 11:59:47 AM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115947_[redacted].crash
Mar 28, 2015, 11:59:29 AM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115929_[redacted].crash
Mar 28, 2015, 11:59:20 AM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115920_[redacted].crash
Mar 28, 2015, 12:02:18 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120218_[redacted].crash
Mar 28, 2015, 12:02:06 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120206_[redacted].crash
Mar 28, 2015, 12:02:06 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120206_[redacted].crash
Mar 28, 2015, 12:01:57 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120157_[redacted].crash
Mar 28, 2015, 12:01:25 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120125_[redacted].crash
Mar 28, 2015, 12:01:03 PM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120103_[redacted].crash
Mar 28, 2015, 12:00:31 PM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120031_[redacted].crash
Mar 28, 2015, 11:59:59 AM /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115959_[redacted].crash
Mar 28, 2015, 11:59:38 AM /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115938_[redacted].crashUpdate your Belkin router software along with Affinegy software.
-
hi every body...
i want to get the result of any table..
for ex: select * from dept;
the o/p should be like(10~Accounts~new york)
for this i wrote this code.... it run sucessfully;
my prob is how to see the Result..
declare
tn varchar2(35);
sqlstmt varchar2(2000);
rc sys_refcursor;
begin
tn := '&tn';
sqlstmt := 'select * from '||tn;
open rc for sqlstmt;
end;
post u r comments,Hints and suggestion...post u r comments,Hints and suggestion...
SQL> var rc refcursor
SQL> begin
2 open :rc for 'select * from &tn';
3 end;
4 /
Enter value for tn: emp
old 2: open :rc for 'select * from &tn';
new 2: open :rc for 'select * from emp';
PL/SQL procedure successfully completed.
SQL> print rc
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SPENCER CLERK 7902 17-DEC-80 800 20
7499 VERREYNNE SALESMAN 7698 20-FEB-81 1600 300 30
7521 VAN WIJK SALESMAN 7698 22-FEB-81 1250 500 30
7566 MAINGUY MANAGER 7839 02-APR-81 2975 20
7654 KISHORE SALESMAN 7698 28-SEP-81 1250 1400 30
7698 BARRY MANAGER 7839 01-MAY-81 2850 30
7782 BOEHMER MANAGER 7839 09-JUN-81 2695 10
7788 PADFIELD ANALYST 7566 09-DEC-82 3000 20
7839 SCHNEIDER PRESIDENT 17-NOV-81 5500 10
7844 GASPAROTTO SALESMAN 7698 08-SEP-81 1500 0 30
7876 CAVE CLERK 7788 12-JAN-83 1100 20
7900 CLARKE CLERK 7698 03-DEC-81 950 30
7902 JAFFAR ANALYST 7566 03-DEC-81 3000 20
7934 ROBERTSON CLERK 7782 23-JAN-82 1430 10
109 JOMAR 30
8800 VISWARAYAR INTERN 7934 03-OCT-82 0 10
16 rows selected.
SQL> Cheers, APC
Blog : http://radiofreetooting.blogspot.com/ -
After the new project by importing PPT release, how to achieve the release of the demo mode SWF, but not now only Click to continue?
Note:Captivate 5.5
Thks通过导入PPT新建的项目发布后,如何实现发布演示模式的SWF(自动播放),而不是交互模式的SWF(只能点击才能继续)?
-
With a Custom Search portlet how to Sort the Result By Sequence. i.e. by respecting arrangements of the items in the page of contents?
Actually the Results Options "Order By" are : Create Date, Author, Creator, Date Updated, Display Name, Last Update by, Publish Date, Score.
Is there an action to add the "Sequence" Order By result Option?
Great thanks for your kind help.
Best regardsNo, I agree that it is functionality that should be added to the product, but it
is not a bug because it was not written to do this.
It is a short coming of the product.
Cheers,
Ersan -
Call function in background task... How to get the result?
I want to use Call function in background task parameter.
But I cannot find the result of this function. (No export parameter, no table result, no exception)
How to get the result of this function module? Correct or not?Hi Heinz,
You can check the result in SM58 transaction.
For more information pls. refer this thread :
No IMPORTING parameters allowed in CALL FUNCTION IN BACKGROUND TASK
Best regards,
Prashant -
How to access the Result of an fileReference request ?
Hello,
I have adjusted this example ( http://cookbooks.adobe.com/post_Uploading_files_from_Flex_using_PHP-5241.html ) of uploading an Image to an Server.
But the Problem i have is that i wanted to return from the php file some informations for example if the image is really uploaded.
Does someone know how to read the result that comes in an xml format in actionscript ?
PHP file:
$tempFile = $_FILES['file']['tmp_name'];
$fileName = $_FILES['file']['name'];
$fileSize = $_FILES['file']['size'];
$upload = move_uploaded_file($tempFile, "./" . $fileName);
if(!$upload) {
echo "<failure>"."upload failed"."</failure>";
Thank you,
ZombiecookHi,
if you schedule the job then you can create the spool..
But if you want to create a spool while executing in foreground...
Then use this code..before calling the ALV FM..
DATA: DAYS(1) TYPE N VALUE 2,
COUNT(3) TYPE N VALUE 1,
VALID TYPE C.
DATA: PARAMS LIKE PRI_PARAMS.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING DESTINATION = 'LOCL'
COPIES = COUNT
LIST_NAME = 'TEST'
LIST_TEXT = 'First NEW-PAGE PRINT ON'
RELEASE = 'X'
IMMEDIATELY = ' '
NEW_LIST_ID = 'X'
EXPIRATION = DAYS
LINE_SIZE = 79
LINE_COUNT = 23
LAYOUT = 'X_PAPER'
SAP_COVER_PAGE = 'X'
RECEIVER = 'SAP*'
DEPARTMENT = 'System'
NO_DIALOG = ' '
IMPORTING OUT_PARAMETERS = PARAMS
VALID = VALID.
IF VALID <> SPACE.
NEW-PAGE PRINT ON PARAMETERS PARAMS NO DIALOG.
WRITE / 'First Spool'.
ENDIF.
Thanks,
Naren -
How can show the result of a measuring that is done in a sub-program in my main panel?
How can show the result of a measuring that is done in a sub-program in my main panel?
In your subvi, wire the result(s) you want to ouput to the main program to an output terminal on the connector pane.
For a tutorial on subvi's, search the help for "connector panes" anc click on tutorial.
~Tim
Maybe you are looking for
-
I'm trying to share a set of Numbers projects between my MacBook and my iPhone. I notice that iWork.com does NOT do what I am expecting from the Apple Video's : it only allows me to consult documents through Safari, but not to open one directly from
-
Error loading elements 11 tried to uninstall to reinstall error
Premiere 11 loaded fine but not the photoshop 11 & it was missing the enhance panoramic merge option. So I have tried to uninstall but error message keeps popping up. Want to reinstall Elements 11. Help please
-
Load Program for Export Licenses
Does anyone know if there is a load program for export licenses or is the only way to do it is to use transaction /sapsll/lclic01?
-
Hi I installed new portal with sp9 . I want to install sp 15 for j2ee , portal and cm. Do i need to install sp 10,11,12,13,14 and then SP 15 or can i mmediately install sp 15 . Thank You Amit Zait
-
Sql insert is hang/no respond
hi i had writing a simple porgram to insert data into oracle database. my code like this Connection conn = .. Statement stat= .. stat.executeUpdate("select sysdate from dual") //this one ok but when i running like this stat.executeUpdate("insert ..."