Form on SQL with report
I had created a form on table with report. When the user clicks on the link image on the report, it query up the data on the form. It does all of the DML on the form behind the scenes. Now I have to do the same thing, but the form needs to be based on SQL Query instead. What do I have to do to have the link from the report automatically call of the data in the form?
The easiest way is to create a view with an INSTEAD OF trigger which does the insert/update/delete into the underlaying tables.
That will allow you to use all the processes the wizard creates for you and without having to write any code in APEX.
Patrick
My APEX Blog: http://www.inside-oracle-apex.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!
Similar Messages
-
Ora-20001 when creating a form on table with report (bug?)
Having some trouble creating a "Form on table with report".
1) I pick my table
2) take most of the defaults on the page where you pick the report type (interactive) and the page number (I changed it to 950). next->
3) Do not use tabs. Next->
4) Select all columns for the report. THEN (here's the problem) set an optional where clause of system_role_name like 'ODPSPOPUP%'. Next->
5) choose standard edit link. next->
6) Specify a page of 951 for the form (leave others defaults). next->
7) Set the form primary key (defined in table). next->
8) use existing trigger. next->
9) choose all columns for the form. next->
10) Leave actions to insert, update, delete. next->
11) Get to the summary page and click Finish
Then I get an error page saying:
ORA-20001: Unable to create query and update page. ORA-20001: Unable to create query and update page. ORA-00933: SQL command not properly ended
If I go back to step 4 and erase my where clause the wizard completes successfully.
Also if I change the report type in step 2 from the default of "Interactive" to "Classic" the wizard completes successfully. However upon running the report I get a query parse error. Looks like the where clause in the report sql is: system_role_name like ''ODPSPOPUP%'' (two single quotes on each side).
It looks as if you cannot specify a where clause with a quoted string. The wizard is expecting a bind variable.
Workaround(s):
1) Don't specify a where clause when report type = Interactive in "create form on table with report" wizard.
or
2) Specify a bogus where clause using bind variable syntax such as "system_role_name like :BOGUSVARIABLE". Then edit the report query once the wizard finishes and change the where clause to the constant string you wanted to use in the wizard (e.g. "system_role_name like 'MYSYSTEM%'")
Apex: 3.2.0.00.27
Database: Oracle Database 11g Enterprise Edition 11.1.0.7.0 64bit Production (Oracle EL5)Andy,
It's a bug, all right. Thanks for the detailed problem description. We'll fix it when we can.
Scott -
Several CRUDLs again: App from existing table Form on table with report?
Hi,
I posted a message a couple of days ago, asking if it was possible to automatically generate several CRUDL gui patterns per application. Later I answer myself discovering that the "Form on table with report" option for creating a page, make just that.
However, I can see that the option for application level CRUDL (app from existing table) has more functionality (search, export to excel, data analysis, even charts, cool ;-). It creates about 10 pages per table, contrasting with the two created by the "Form on table with report" option. I thought that "Report with form" could be the answer, but it seems just another link to the same option.
So, once again: is possible to call the functionality of "App from existing table", several times within the same application? (of course each time is likely to refer a distinct table). How do I insistently ask for this? Well, cause I can see in my horizon many applications what will entirely consist of table-maintenance services ... so, with htmldb I could generate them very fast!. In fact, once I have toasted my crudl pattern I would even like to save it and generate the applications on a non interactive basis (maybe calling something in pl/sql?, command line?) ... is that possible?
Thanks in advance,
salu2
dario estepario ..Hi Scott,
Dario - The "create application from existing table"
functionality was available in 1.6. In 2.0, the
Create Application wizard has changed. But you can
create as many sets of pages in the same application
as you need, all on different tables, using the
patterns available in that wizard. You can also
supplement those generated pages later by creating
chart pages or whatever else you need.Mmm?, ups ... them am I running the 1.6 version? I installed it from the companion cd. Ok, I'll try the separately distributed htmldb version. Thanks.
>
At present there is no exposed API to let you do any
of this programmatically.;-(
>
ScottRegards,
dario estepario ... -
Forms Authentication - SQL 2008 Reporting services
Hi Experts,
I am trying to implement a forms authentication in SQL 2008 reporting services based on this article,
http://msdn.microsoft.com/en-us/library/ms160724(v=SQL.100).aspx#2
Everything worked fine, but the display page is not loading the default reports, connections etc.
Have attached screen shot, any suggestions appreciated.
Thank you,
Satwick
satwickHi satwick,
Thank you for your question.
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here. -
Form on Table with Report works in one environment but not in another.
Here's a short description of the problem:
Created a form on a table with report (using the wizard) in an ApEx application. The form and report work perfect in development environment. Once the application is moved to the Test environment, the insert feature of the form does not work. We have verified that the underlying table the form is based on is there with all the fields, primary key, sequence and trigger.
Any ideas?
MarcBen,
I assume that apex_public_user has all the approporiate privilegesapex_public_user requires no privileges other than those it is created with during installation and the execute privileges on procedures it may acquire as URL-invokable procedures are developed and registered.
Marc - What are the symptoms of the problem (insert does not work) ? What does the debug output show when you run the page in debug mode? Does the "request" value of the button (create button?) match one of the request values recognized by the DML process?
Scott -
Frm-41213 SO: Linux 64bits,Oracle Forms 10g Integration With Reports
Oracle Forms [32 bits] Versión 10.1.2.0.2 with Reports Fails. The Report Server Is Up, the file test.rdf its executed ok. but when a button have the next code. all its wrong.... helpme...
PROCEDURE REPORT IS
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(50);
BEGIN
repid := find_report_object('mireport');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_serverias_home_middle');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
WEB.SHOW_DOCUMENT('http://miserver.dominio.com:7778/reports/rwservlet/getjobid'||
substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_serverias_home_middle');
ELSE
message('Error when running report');
END IF;
END;
REPORTS_CLASSPATH and REPORTS_PATH seting Ok.
the next ist the default.env.
ORACLE_HOME=/oracle/products/middle
FORMS_PATH=/oracle/misaplications/modu01/lib:/oracle/misaplicationes/modu02/menus:/oracle/misaplicationes/modu01/images:/oracle/misaplicationes/modu01/icons:/oracle/misaplicationes/modu01/submod01/source:/oracle/misaplicationes/modu01/submod02/source:/oracle/misaplitaciones/modu01/submod03/source:/oracle/misaplitaciones/modu01/submod04/source:/oracle/misaplicationes/modu01/submod05/source:/oracle/misaplicaciones/modu01/submod07/source:/oracle/products10g/middle/forms
WEBUTIL_CONFIG=/oracle/products10g/middle/forms/server/webutil.cfg
LD_ASSUME_KERNEL=2.4.21-4.EL
CLASSPATH=/oracle/products10g/middle/forms/java/imagenes.jar:/oracle/products10g/middle/forms/webutil/frmwebutil.jar:/oracle/products10g/middle/forms/webutil/jacob.jar:/oracle/products10g/middle/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/oracle/products10g/middle/jlib/repository.jar:/oracle/products10g/middle/jlib/ldapjclnt10.jar:/oracle/products10g/middle/jlib/debugger.jar:/oracle/products10g/middle/jlib/ewt3.jar:/oracle/products10g/middle/jlib/share.jar:/oracle/products10g/middle/jlib/utj.jar:/oracle/products10g/middle/jlib/zrclient.jar:/oracle/products10g/middle/reports/jlib/rwrun.jar:/oracle/products10g/middle/forms/java/frmwebutil.jar:/oracle/products10g/middle/forms/java/frmall.jar
REPORTS_CLASSPATH=/oracle/products10g/middle/jlib/zrclient.jar:/oracle/products10g/middle/reports/jlib/rwrun.jar
#FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>/forms/server
the next ist the reports.sh.
ORACLE_HOME=/oracle/products10g/middle; export ORACLE_HOME
PATH=$ORACLE_HOME/jdk/bin:$ORACLE_HOME/bin:${PATH}; export PATH
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
## TWO_TASK=< two task name >; export TWO_TASK
## ORACLE_SID=< ORACLE SID >; export ORACLE_SID
## setting for Reports Runtime
RW=$ORACLE_HOME/reports; export RW
REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:/oracle/aplicaciones/sioper/geo/reports:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers:${REPORTS_PATH}; export REPORTS_PATH
REPORTS_TMP=/tmp; export REPORTS_TMP
REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar; export REPORTS_CLASSPATH
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
## Icon variable for Solaris platform
TK_ICON=$ORACLE_HOME/reports/plugins/resource; export TK_ICON
#REPORTS_DEFAULT_DISPLAY=NO; export REPORTS_DEFAULT_DISPLAYI thought I did, using batch=yes option. However, when running:
$ rwserver.sh server=repsrv
the pop-up window shows "Report Server is starting up". It does not change to "Report Server is ready".
Thanks -
BUG: Apex 4.0.1 form on table with report. Not passing ID correctly
I'm trying to create a form on a table with report using the wizard. I opted for a classic report page.
The edit link on the report page does not work. The link looks like this:
http://ngdwpc3:7777/pls/apex/f?p=101:15:1800428764039812::::P15_ID:#ID#
This is clearly wrong because one would expect a value to be passed and not a column name.
Looking at the generated report page I get 60 columns. This seems to be a result of the setting:
no-checked :Use Query-Specific Column Names and Validate Query
checked :Use Generic Column Names (parse query at runtime only)
The ID column in the table is mapped to COL01.
Changing the value being passed in the link columns to #COL01# results in the correct behaviour.
My guess is that the option "Use Query-Specific Column Names and Validate Query" is the correct setting for the generated report.
ReneYes, I guess this is a Bug.
1. When you speciify a WHERE clause in the Wozard it adds extra quotes when appending the WHERE into the Report SELECT.
I think thats the root cause, all others just follow as a consequence.
a. Because the query cannot be parse ( two single quotes) the Use Generic Column Names (parse query at runtime only) is automtacillay set
b. This leads to COL01 to COL60
c. Which is turn leads to the link not working.
I could easily recreate the scenario.
To fix it I did the following
1. Removed the extra quotes from the query
2. Selected Use Query-Specific Column Names and Validate Query and Saved
It started working correct.
I suggest you edit your Thred name add BUG at the begining so that it gets spotted by Oracle folks on the forum.
Regards -
Integrating pl/sql with report
Hi all,
I have a report with query
select con_id,si_no,gr_no,cl_no,pr_no from kconts
where the value of pr_no is like 1001:1003:1006 (values stored using multiple select list) in each record.
so in each row of the report the values of pr_no will be displayed like this.
I have a pl/sql code for converting the pr_no to pr_name.
example the above pr_no will be like cement:coal:petrol
This is working fine in sql workshop.
now, i want to integrate into the report and get the names instead of nos.
ie each row of the report should display in the pr_no column as
cement:coal:petrol and not as 1001:1003:1006
Is it possible to do it?
COuld anyone please give me an solution?
thanks in advance
bye
srikavi
Message was edited by:
srikaviSrikavi,
You need to create a function which will loop through the pr_no and get the description
for each value and concatenate that into the string you want to see:
CREATE OR REPLACE FUNCTION get_string (p_pr_no IN VARCHAR2)
RETURN VARCHAR2
IS
v_new_string VARCHAR2 (32000);
BEGIN
FOR c IN (SELECT description
FROM my_table
WHERE INSTR (':' || p_pr_no || ':', ':' || pr_no || ':') > 0)
LOOP
v_new_string := v_new_string || ':' || c.description;
END LOOP;
v_new_string := RTRIM (v_new_sting, ':');
RETURN v_new_string;
END get_string;. After that, you include
the function in your sql:
SELECT con_id, si_no, gr_no, cl_no, get_string (pr_no) pr_no
FROM kcontsDenes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://htmldb.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Insert Statement for Form on Table with Report
I'm using a 'getID' process On Load Before Header to make sure I get an ID for my form per suggestion from blarman here. The form has many fields from one table and four collections. If I let the process run as I think it should (when the ID is null) the link to the report does not fetch any field except the id. If I set the process to never run everything loads but my update process doesn't run. What am I doing wrong? Advance thanks...
Alexandra
Get ID Process
declare
new_id NUMBER; --gets the next sequence number for new record ID
begin
INSERT INTO DOC_INFO (DOC_INFO_ID,OWNER_ID,STATUS_ID, DOCNO, DOC_TITLE, REVISION, STATUS_DT,ISSUE_DT, REVIEW_DT, ECRNO, ECR_LINK, DOC_LINK, COMMENTS, KEYWORDS, DOC_TYPE, ASSOC_ITEMNO, FILE_TYPE, FILE_NAME, CHANGE_TYPE, NEW_DOCNO) values(new_id, 0, 0, '', '', '', '','', '', '', '', '', '', '', '', '', '', '', '','');
:P26_DOC_INFO_ID := new_id;
end;Update Process (On Submit/After Comp...)
Update DOC_INFO
SET
DOC_INFO_ID = :P26_DOC_INFO_ID,
OWNER_ID = :P26_OWNER_ID,
STATUS_ID = :P26_STATUS_ID,
DOCNO = :P26_DOCNO,
DOC_TITLE = :P26_DOC_TITLE,
REVISION = :P26_REVISION,
STATUS_DT = :P26_STATUS_DT,
ISSUE_DT = :P26_ISSUE_DT,
REVIEW_DT = :P26_REVIEW_DT,
ECRNO = :P26_ECRNO,
ECR_LINK = :P26_ECR_LINK,
DOC_LINK = :P26_DOC_LINK,
COMMENTS = :P26_COMMENTS,
KEYWORDS = :P26_KEYWORDS,
DOC_TYPE = :P26_DOC_TYPE,
ASSOC_ITEMNO = :P26_ASSOC_ITEMNO,
FILE_TYPE = :P26_FILE_TYPE,
FILE_NAME = :P26_FILE_NAME,
CHANGE_TYPE = :P26_CHANGE_TYPE,
NEW_DOCNO = :P26_NEW_DOCNO
WHERE DOC_INFO_ID = :P26_DOC_INFO_ID;Got it...I think it had to do with the use of my 'Create' and 'Apply Changes' buttons.
Thanks for your time anyway. -
I vaguely remember if I add fields to a table that is being used in a form/report, even though I manually add the fields to the report query and update/insert statements on the form, there can still be a problem with the fields being picked up by the report upon filling them in on the form. Is this so? If so, is there a work around without recreating the whole thing?
the form has two buttons that just redirect to the same page. Each just displays it's related field using REQUEST = EXPRESSION 1. Each has it's own request value. After the form is complete, the user clicks a submit button to update the report. All fields update except these conditionally displayed fields that display based on the request buttons.
It feels like one of those things where I'm going to kick myself when it's figured out.
Thanks in advance...
Edited by: userRRRYB on Oct 19, 2010 9:01 AMUnfortunately not. I'm using the fields to update another field. This is a catalog form for our Document Control department. They create and save a document to a folder then catalog it so they have search capability. If they make a change to the doc, they have to go back to the catalog and make updates to the form as well. They will either tack on A,B,C etc. for a REVSION change, or v1,v2,v3, etc for a VERSION change. So...
Buttons
REVISION
VERSION
Fields
DOCNO (for demo this displays F-100)
REVISION
VERSION
NEW_DOCNO
User clicks the REVISION button and the REVISION field displays F-100A.
Source for the REVISION field is this:
SELECT CASE
WHEN
ASCII(SUBSTR(:P51_DOCNO, LENGTH(:P51_DOCNO)-1, 1)) = 118 or
ASCII(SUBSTR(:P51_DOCNO, LENGTH(:P51_DOCNO)-1, 1)) = 86
THEN SUBSTR(:P51_DOCNO, 1, LENGTH(:P51_DOCNO) - 1) || CHR(ASCII(SUBSTR(:P51_DOCNO,LENGTH(:P51_DOCNO),1)) + 1)
ELSE :P51_DOCNO || 'v' || 1
end
from doc_info
where doc_info_id = :p51_doc_info_idSelect for the revision VERSION does the same thing, but checks for and adds v1, etc.
Then the appropriate rev/ver gets dumped into NEW_DOCNO b/c I thought I could then use that to update the next time...but since none of these fiels are dumping into the report I've not gotten that far.
Another note: all other fields update to the report fine.
This is probably a very cumbersome way to do this, but I operate from my own neive creative problem solving base without any real formal training.
Any ideas?
Edited by: userRRRYB on Oct 19, 2010 9:23 AM
Edited by: userRRRYB on Oct 19, 2010 9:29 AM -
How to reduce different versions of SQL with bind variables
There is an application, developed on Java.
Application executes SQL following types:
select * from t where id in (:1)
select * from t where id in (:1, :2)
select * from t where id in (:1, :2, :3)
select * from t where id in (:1, :2, :3, :4)
...And as a result very many versions (thousands) of similar SQL.
Do you know a method to reduce number of such SQLs?
I see one method: use one form of SQL with large number of prepared bid variables.
Like as
select * from t where id in (:1, :2, :3, :4, :5, :6, :7, :8, ...);And if query will be executed with one variable, the others will be equal to null.
Is there another method?Cannot you insert those values into a temporary table and work within a subquery against that table ? That will make the code more secure, especially if the number of values is high.
Nicolas. -
Reports 10g with forms & PL/SQL lib
Hi,
I have reports that I am calling from Forms 10g. The report contains some pl/sql procedures stored in a library.
When I call the report from forms10g I get an error containing the following:
"REP-1247: Background is deprecated. Reports contain some uncompiled PL/SQL functions or program units"
Eventhough all programs and Libraries were compiled and generated.
If I take the program units from the Library and put them inside the report's program unit, all works fine and the report is generated.
On some other PCs I don't get this error however, the program units of the library are not called.
What is the problem?
Please someone help me it's very urgent.
Thank you,Frank, wouldn't RUN_REPORT_OBJECT run a 9i report? I would think it would run a report in the same 9iAS home environment as for Forms 9i.
If so, you could skip RUN_REPORT_OBJECT and use web.show_document to run the report in the 10g environment directly, specifying the full URL to run the report instead of just showing the output from cache. Something like this I mean:
web.show_document('http://server:port/reports/rwservlet?server=repserver&report=report.rep&userid=un/pw@db&destype=cache&desformat=PDF'); -
Forms: sql with bind variable as default value to form field?
I am using a form as a way to show details of already entered rows in a table. A report passes an id parameter to the form to get it to show the right data. No insert or update is possible. (I am using a form rather than a report because I need to display BLOBs, something reports can't do.)
I need to execute sql statements based on the passed id to fill certain fields in the form with data from other tables. For example: The table the form is based on includes a category_id, whereas I want to display the category name which resides in another table.
How would I best achieve this?Hi,
You do this in the additional plsql code section of the form by getting the value of the category_id from the session variables and then getting its name from the cateogory table and assigning it to the category name column.
Sample Code
declare
catid number;
catnm varchar2(30);
blk varchar2(10) := 'DEFAULT';
begin
catid := p_session.get_value_as_varchar2(
p_block_name => blk,
p_attribute_name => 'A_CATEGORY_ID');
select category_name
into catnm
from cat_table
where category_id = cat_id;
p_session.set_value(
p_block_name => blk,
p_attribute_name => 'A_CATEGORY_NAME',
p_value => catnm
end;
Thanks,
Sharmila -
No data found error on Form on a Table with report
Hi Everyone, I'm using Application Express 4.1.0.00.32 on Windows 7. I built a Form on a table with report. Earlier I was using rowid as a passing parameter but then I had to change it to primary key column from report to form.
So in the "Fetch row process" I changed the "Items containing primary key value" and "Primary Key column" to P1004_PERSON_ID and PERSON_ID respectively. Which is my primary key.
My Form is working exactly fine but at on point it throws "no data found error".
I have a required date field in the form. So if the user doesn't fill in the date field and try to save the form, it throws the "Feild required error" and then when user enters date and try to save then it throws the error "No data found.". here is the snapshot... snapshot
How can I fix this error.I'm really stuck.
I checked debubber..it is as follows... in debughger it's still showing rowid. I don't know why. How can I fix that.
Execution
Message
Level
Graph
0.00233
0.00932
S H O W: application="101" page="1004" workspace="" request="" session="123235901404364"
4
0.01161
0.00102
Language derived from: FLOW_PRIMARY_LANGUAGE, current browser language: en-us
4
0.01261
0.00046
alter session set nls_language="AMERICAN"
4
0.01307
0.00042
alter session set nls_territory="AMERICA"
4
0.01348
0.00053
NLS: CSV charset=WE8MSWIN1252
4
0.01401
0.00042
...NLS: Set Decimal separator="."
4
0.01443
0.00053
...NLS: Set NLS Group separator=","
4
0.01495
0.00050
...NLS: Set g_nls_date_format="DD-MON-RR"
4
0.01545
0.00051
...NLS: Set g_nls_timestamp_format="DD-MON-RR HH.MI.SSXFF AM"
4
0.01597
0.00050
...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
4
0.01647
0.00079
...Setting session time_zone to -05:00
4
0.01726
0.00046
Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
4
0.01772
0.00060
Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH24.MI.SSXFF
4
0.01832
0.00092
...NLS: Set g_nls_date_format="DD-MON-YYYY"
4
0.01924
0.00049
...NLS: Set g_nls_timestamp_format="DD-MON-YYYY HH24.MI.SSXFF"
4
0.01973
0.00083
...NLS: Set g_nls_timestamp_tz_format="DD-MON-RR HH.MI.SSXFF AM TZR"
4
0.02056
0.00099
NLS: Language=en-us
4
0.02154
0.00157
Application 101, Authentication: PLUGIN, Page Template: 5091946581246503
4
0.02312
0.00065
...fetch session state from database
4
0.02377
0.00106
fetch items
4
0.02483
0.00065
...fetched 103 session state items
4
0.02548
0.00194
Authentication check: NTLM (NATIVE_CUSTOM)
4
0.02742
0.00188
...Execute Statement: begin declare begin wwv_flow.g_boolean := f_ntlm_page_sentry_parm; end; end;
4
0.02930
0.00050
... sentry+verification success
4
0.02980
0.00042
...Session ID 123235901404364 can be used
4
0.03021
0.00114
...Application session: 123235901404364, user=VARMAN01
4
0.03135
0.00162
...Check for session expiration:
4
0.03297
0.00075
Session: Fetch session header information
4
0.03372
0.00113
...Setting session time_zone to -5:00
4
0.03485
0.00080
Branch point: Before Header
4
0.03565
0.00598
Fetch application meta data
4
0.04165
0.00081
...metadata, fetch computations
4
0.04245
0.00076
...metadata, fetch buttons
4
0.04321
0.00086
Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
4
0.04406
0.00058
Setting NLS_TIMESTAMP_FORMAT to application timestamp format: DD-MON-YYYY HH24.MI.SSXFF
4
0.04464
0.00049Just an observance... SQL is still showing the rowid instead of the P1004_PERSON_ID ??
where "PERSON_ID" = :p_rowid;
should it not be :
where "PERSON_ID" = :P1004_PERSON_ID:
thx, Bill -
Use parameters in SQL Server reporting services with sharepoint lists
I want to make report from sharepoint 2010 list and forms library in sql server reporting services.
but also want to apply parameters.
I tried but parameters but it is not working.
How I can apply sharepoint lists parameters in sql server reporting services ?
How to run or view report of sharepoint lists or form library in sqlserver reporting services with required parameters?Hi John,
When we use SharePoint list as datasource in SSRS it has two method to add parameter. Suppose we have a dataset (DataSet1) get data from SharePoint list. Please refer to the methods below.
Method 1: We can add parameter in the Query Designer dialog box to add parameter.
Click “Add Filter” icon in the “Applied filters” dialog box in Query Designer.
Select the corresponding field (Title), fill with specific conditions, and select Parameter option in the end of the row.
Create a dataset (DataSet2) fill with Title field.
Double click the parameter we create above, set the available values from DataSet2 field Title.
(Note: In the situation, we are get the single-value parameter.)
Method 2: It is a general method to add parameter in SSRS report.
Create another dataset (DataSet2) in the report fill with Title field.
Add a parameter (Title) get available values from DataSet2 Title field.
Add filter in the DataSet1.
(Note: This method, we can configure multi-values parameter.)
Reference:
http://technet.microsoft.com/en-us/library/aa337432(v=sql.105).aspx
If you have any questions, please feel free to let me know.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support
Maybe you are looking for
-
I maintain 2 datamarts built with an "older" version of OWB. There are plans to migrate these to a more current version, but there are plans for implementing a 3rd datamart prior to that. I'd like to start pushing to have new mappings developed in 10
-
Unable to open iSync: "Not supported on this platform"
Maybe it was the 10.5.5 upgrade, maybe not. Right now, when I click on iSync, I get an immediate popup saying "You can't open the application 'iSync' because it is not supported on this architecture. Well, it was a month ago. I use iSync to set the t
-
Problems with my drive.
If I carry my macbook turned on, do i make any problems in it? Because i've had lots of problems with my drive and i think that's the point.
-
Whenever I open Launchpad on 10.9.1, only a couple of the icons actually appear. The folders are there, and so are the name labels, but the icons don't appear in the folders. This only happens some of the time. Any ideas?
-
Wifi en se ha quedado en gris y no me deja activarlo. ESTO me paso from Que actualice ISO7.1