Save as PDF not showing all records?
BOXI31 SP3
Users are saving as PDF, no errors, very fast, however, the result set saved as a PDF is about 10% of the actual report data set. Exporting to excel is OK... but PDF seems to have a limit.
Is there a setting (webi processing server/Adobe?) we can change that will allow users to return their total report resullts?
Thx
Change webi preferences to interactive, all results came through!
Similar Messages
-
ALV GRID Report is not showing all records which is in internal table
hi all,
have one doubt. please clarify me. ALV Report is working fine since long tiem. But suddenly this report is showing few records only for the given input. Example: it_main table have 50 records, but output is showing only 10 records only. (we have not made any modifications in this report).
temporarily i have given excel output file from it_main table. excel file is showing all records.
here it_main have all the records. but output is showing few records only. it is not showing any error. i have tested with REUSE_ALV_LIST_DISPLAY function also. but it also showing same results(few records only.)
please give me some idea.
FORM display_alv_report.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_buffer_active = 'X'
i_callback_program = sy-repid
is_layout = wa_layout
it_fieldcat = it_fcat
it_events = it_events
i_save = 'A'
is_variant = wa_variant
TABLES
t_outtab = it_main
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE text-204 " 'Error in Display the list'
TYPE 'I'.
LEAVE TO LIST-PROCESSING.
ENDIF.
ENDFORM. . "DISPLAY_ALV_REPORT
Best Regards,
Srinivashi
Please study this program and give me suggestions.
ALV Declaration
DATA : it_events TYPE slis_t_event, "ALV event
it_fcat TYPE slis_t_fieldcat_alv, "Field catalog
it_list_top_of_page TYPE slis_t_listheader,
c_tabname TYPE slis_tabname VALUE 'IT_MAIN'.
DATA : wa_layout TYPE slis_layout_alv,
wa_event TYPE slis_alv_event,
wa_fcat TYPE slis_fieldcat_alv,
wa_variant TYPE disvariant.
START-OF-SELECTION.
PERFORM material_pass.
PERFORM data_retrieval.
END-OF-SELECTION.
PERFORM sub_display_report.
FORM sub_display_report .
DATA status(1).
IF r1 = 'X'.
PERFORM build_fieldcatalog USING :
'1' 'ERDAT' 'S.O DATE' '' '10' 'X',
'2' 'VBELN' 'SALE ORDER' '' '10' 'X',
'3' 'POSNR' 'SALE ITEM' '' '6' '',
'4' 'BSTKD' 'CUSTOMER PO' '' '35' '',
'5' 'BEZEI' 'REASON FOR REJECTION' '' '40' '',
'6' 'PLNUM' 'PLANNED ORDER' '' '10' '',
'7' 'AUFNR' 'PROD.ORDER.' '' '12' '',
'8' 'MATNR' 'MATERIAL NUMBER' '' '18' '',
'9' 'MAKTX' 'MATERIAL DESCRIPTION' '' '40' '',
'10' 'WERKS' 'PLANT' '' '4' '',
'11' 'KWMENG' 'SALE ORDER QTY' '' '15' '',
'12' 'VRKME' 'UNIT' '' '4' '',
'13' 'GAMNG' 'PROD.ORDER QTY' '' '13' '',
'14' 'IGMNG' 'CONFIRMED ORDER QTY' '' '13' '',
'15' 'GMEIN' 'UNIT' '' '4' '',
'16' 'MENGE' 'G.R QUANTITY' '' '13' '',
'17' 'SOBAL' 'S.O BALANCE' '' '13' '',
'18' 'PRDBAL' 'PROD.BALANCE' '' '13' '',
'19' 'GSM' 'GSM' '' '4' '',
'20' 'SIZE1' 'SIZE1' '' '10' '',
'21' 'SIZE2' 'SIZE2' '' '10' ''.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = pathname
filetype = ftype
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = it_mains
EXCEPTIONS
file_write_error = 1.
IF sy-subrc = 0.
status = 'S'.
ELSE.
status = 'E'.
ENDIF.
ELSEIF r2 = 'X' OR r3 = 'X'.
PERFORM build_fieldcatalog USING :
'1' 'ERDAT' 'S.O DATE' '' '10' 'X',
'2' 'VBELN' 'SALE ORDER' '' '10' 'X',
'3' 'POSNR' 'SALE ITEM' '' '6' '',
'4' 'BSTKD' 'CUSTOMER PO' '' '35' '',
'5' 'BEZEI' 'REASON FOR REJECTION' '' '40' '',
'6' 'PLNUM' 'PLANNED ORDER' '' '10' '',
'7' 'AUFNR' 'PROD.ORDER.' '' '12' '',
'8' 'MATNR' 'MATERIAL NUMBER' '' '18' '',
'9' 'MAKTX' 'MATERIAL DESCRIPTION' '' '40' '',
'10' 'WERKS' 'PLANT' '' '4' '',
'11' 'KWMENG' 'SALE ORDER QTY' '' '15' '',
'12' 'VRKME' 'UNIT' '' '4' '',
'13' 'GAMNG' 'PROD.ORDER QTY' '' '13' '',
'14' 'IGMNG' 'CONFIRMED ORDER QTY' '' '13' '',
'15' 'GMEIN' 'UNIT' '' '4' '',
'16' 'MENGE' 'G.R QUANTITY' '' '13' '',
'17' 'SOBAL' 'S.O BALANCE' '' '13' '',
'18' 'PRDBAL' 'PROD.BALANCE' '' '13' '',
'19' 'GSM' 'GSM' '' '4' '',
'20' 'SIZE1' 'SIZE1' '' '10' '',
'21' 'CUT1' 'CUT1' '' '11' '',
'22' 'SIZE2' 'SIZE2' '' '10' '',
'23' 'CUT2' 'CUT2' '' '11' '',
'24' 'SIZE3' 'SIZE3' '' '10' '',
'25' 'CUT3' 'CUT3' '' '11' '',
'26' 'SIZE4' 'SIZE4' '' '10' '',
'27' 'CUT4' 'CUT4' '' '11' '',
'28' 'SIZE5' 'SIZE5' '' '10' '',
'29' 'CUT5' 'CUT5' '' '11' '',
'30' 'SIZE6' 'SIZE6' '' '10' '',
'31' 'CUT6' 'CUT6' '' '11' ''.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = pathname
filetype = ftype
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = it_mainall
EXCEPTIONS
file_write_error = 1.
IF sy-subrc = 0.
status = 'S'.
ELSE.
status = 'E'.
ENDIF.
ENDIF.
PERFORM build_layout.
PERFORM build_events.
PERFORM sub_comment_build USING it_list_top_of_page.
PERFORM sub_set_variant.
PERFORM display_alv_report.
IF status = 'S'.
MESSAGE 'Excel Output file Downloaded to Given Path' TYPE 'I'.
ELSE.
MESSAGE 'Download Not Possible' TYPE 'I'.
ENDIF.
ENDFORM. " SUB_DISPLAY_REPORT
FORM BUILD_FIELDCATALOG
FORM build_fieldcatalog USING p_col_pos
p_fieldname
p_text
p_datatype
p_outputlen
p_col_freez.
wa_fcat-row_pos = '1'.
wa_fcat-col_pos = p_col_pos.
wa_fcat-fieldname = p_fieldname.
wa_fcat-tabname = c_tabname.
wa_fcat-reptext_ddic = p_text.
wa_fcat-datatype = p_datatype.
wa_fcat-ddic_outputlen = p_outputlen.
wa_fcat-key = p_col_freez.
APPEND wa_fcat TO it_fcat.
CLEAR wa_fcat.
ENDFORM. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
FORM build_layout.
CLEAR: wa_layout.
wa_layout-window_titlebar = 'LIST OF GSM WISE OPEN SALE ORDERS'.
wa_layout-colwidth_optimize = 'X'.
wa_layout-totals_text = 'CUMULATIVE'.
ENDFORM. "BUILD_LAYOUT
*& Form BUILD_EVENTS
FORM build_events.
CLEAR wa_event.
REFRESH it_events.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = it_events
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
IF sy-subrc = 0.
READ TABLE it_events INTO wa_event
WITH KEY name = 'TOP_OF_PAGE'.
IF sy-subrc EQ 0.
wa_event-form = 'TOP_OF_PAGE'.
APPEND wa_event TO it_events.
CLEAR wa_event.
ENDIF.
ENDIF.
ENDFORM. "BUILD_EVENTS
-->P_IT_LIST_TOP_OF_PAGE text
FORM sub_comment_build USING it_top_of_page TYPE slis_t_listheader.
DATA ls_line TYPE slis_listheader.
CLEAR ls_line.
ls_line-typ = 'H'.
ls_line-info = str1.
APPEND ls_line TO it_top_of_page.
CLEAR ls_line.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_header[].
ENDFORM. " SUB_COMMENT_BUILD
*& Form SUB_SET_VARIANT
text
--> p1 text
<-- p2 text
FORM sub_set_variant .
CLEAR wa_variant.
wa_variant-report = sy-repid.
wa_variant-username = sy-uname.
wa_variant-variant = c_variant.
wa_variant-variant = p_layout.
ENDFORM. " SUB_SET_VARIANT
*& Form DISPLAY_ALV_REPORT
*Display Report Using ALV GRID
FORM display_alv_report.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_buffer_active = 'X'
i_callback_program = sy-repid
i_callback_pf_status_set = c_pf_status
i_callback_user_command = c_user_command
is_layout = wa_layout
it_fieldcat = it_fcat
it_sort = it_sort[]
it_events = it_events
i_save = 'A'
is_variant = wa_variant
TABLES
t_outtab = it_main
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE text-204 " 'Error in Display the list'
TYPE 'I'.
LEAVE TO LIST-PROCESSING.
ENDIF.
ENDFORM. . "DISPLAY_ALV_REPORT
*ALV Report Header
FORM top_of_page.
DATA : t_header TYPE slis_t_listheader WITH HEADER LINE,
wa_header TYPE slis_listheader,
t_line LIKE wa_header-info,
ld_lines TYPE i,
ld_linesc(10) TYPE c.
wa_header-typ = 'H'.
T_HEADER-INFO = 'LIST OF GSM WISE OPEN SALE ORDERS'.
wa_header-info = str1.
APPEND wa_header TO t_header.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_header[].
ENDFORM. "TOP_OF_PAGE
here it_main internal table having all data. but output is showing few records only.
pl. give some idea.
Thanks & Regards
Srinivas. -
Freight Carrier Form not showing all records
The Freight Carrier form is not showing all of the data that shows in the table
(ORG_FREIGHT). For the Organization that I am in (#23) the table shows 108 records but the form only shows
35 records. Why? How can I make the form see all of the records in the tables? I am in the middle of converting 11.0.3 to
11i.
Thanks
ShelbyWhat version of Visual Studio and the Crystal for Visual Studio SDK are you using?
-Dell -
Incomplete Data on report (report does not show all records from the table)
Hello,
I have problem with CR XI, I'm running the same report on the same data with simple select all records from the table (no sorting, no grouping, no filters)
Sometimes report shows me all records sometimes not. Mostly not all records on the report. When report incomplete sometimes it shows different number of records.
I'm using CR XI runtime on Windows Server 2003
Any help appreciated
Thanks!Sorry Alexander. I missed the last line where you clearly say it is runtime.
A few more questions:
- Which CR SDK are you using? The Report Designer Component or the CR assemblies for .NET?
- What is the exact version of CR you are using (from help | about)
- What CR Service Pack are you on?
And a troubleshooting suggestion:
Since this works on some machines, it will be a good idea to compare all the runtime (both CR and non CR) being loaded on a working and non working machines.
Download the modules utility from here:
https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
and follow the steps as described in this thread:
https://forums.sdn.sap.com/click.jspa?searchID=18424085&messageID=6186767
The download also includes instructions on how to use modules.
Ludek -
Report not showing all records
Hi ,
I have made a report but when i execute the report only the first page comes with 18 records but when I execute the same query from SQL*Plus then it shows 30 records.
Please suggest me how to solve ?
Bye
AshuHi,
what do you use to view the output? The Live Previewer in the Reports Builder? One idea ist that you have not seen the button for going to the next page; other reasons can be format triggers which supresses records or frame properties which doesn't allow more records (not expandable) or a group filter in the data modell ...
Regards
Rainer -
Issue regarding LSMW, not showing all records after Read Data
Dear Experts,
Plz help.. I need to configure a LSMW for ROH material.. so I made recording, n then create a structure.. accordingly.
the problem is.. at the time of reading data from .txt file.at the step of Display Read Data it showing only 50 records, rest are not displaying.. but not showing any error.. so my question to our expert that is their any limitations for reading data... if their.. then how could it be elasticated...
plz suggest..
regards,
sandythe read step has a selection screen where you can define from which to which record you want read.
make sure this selection is empty for a test.
Further check if your source file has more than 50 records.
then make sure that you really read this source file and not any other version (check path and file name in step 7 of LSMW) -
Crystal isn't showing duplicates / not showing all records
I have a report that is pulling material costs of entered invoices from an old Access database (the result of an ancient ERP). I have pulled the job number and materials list for jobs easily and it sums each job, but when I compared an old and new report, there were some missing items and the totals did not match. When I checked the old and new reports against each other, the missing items were all named 'Heat Treat' and since one invoice had 4 lines entered separately from a single invoice, our old database assigned the identical ID# to each line for those entries. In my links I've made an awkward link so is it suppressing by ID# because it's not unique?
As far as I can tell, I do not have any other suppress settings on. I can hide/unhide and drill down just fine. This is an export from my Access file:
I'm very new to CR and I've done a lot of online searching for this but it seems to be most people want to hide duplicates or show only duplicates and I can't seem to get it to work. This is my report but you can see that all of the heat treat from that one invoice is missing.5 1/4" floppies or 3 1/2"?
you can try to change all of the join types in the Database Expert linking dialogue to use Left Outer Joins between job materials and vendor invoices or a right outer join.
and do eliminate any filters in the Report > Select Expert or Report > Selection Formulas as per above as well. when you add a filter based on a certain field, it can then lead to records dropping off that you think should be there, but it's actually an addition to the SQL 'WHERE' clause that is filtering records.
what is the result set from access based on? is it just one table, or is a combination of tables?
and more importantly, what is the name of the software / erp program you are using? perhaps someone out there has actually used it or is still using it and may be able to help you on the schema. -
Save Folder Screen not showing all options
Hi All
I had a question regarding SO Form header.
I need to get the action Fulfillment Acceptance in Sales Order Form header (SO Form > (B) Actions > Fulfillment Acceptance) but not able to get it.
One method is to configure it by creating a folder. I am trying to do following to achieve this:
1) Open Sales Order Form
2) Navigate (M)Folder > New
3) It opens a "Save Folder" screen with a few options.
Now the issue is that the screen is not proper. I must also see other regions such as "Order Tabs", "Configure Buttons", "Line Tabs", "Line Details" etc. but I am not able to see them.
Profile option "Folders: Allow Customization" is set to Yes at user level.
Any help would be appreciated.
Rgds
VipulI was trying to create folder on a wrong screen.
This functionality is available on Quick Sales Order Screen.
Rgds
Vipul -
Requisition Change History - not showing all records from CDHDR/CDPOS
Hello,
When viewing the Item Changes for a requisition in ME53N, I don't always see all the records that are contained in tables CDHDR / CDPOS. The missing records are related to release strategies. Does anyone have any ideas why this happens?
Thank you,
Regards,
JackieHello Jackie,
check flag "Change document" is set for the data elements.
Start transaction SE11, enter database table, push button "Display".
Check register "Fields" In the following screen, doulbe click on "Data element" for the field you want to check.
Select register "Further Characteristics" in the following screen, here you can find flag for "Change document".
Best Regards, Dirk -
Vertical scrollbar not showing all the records when I scroll down.
Vertical scrollbar not showing all the records when I scroll down.
Using Oracle forms 10g , operating system windows
I have two fields with number of items dispayed = 15.
I have a vertical scroll bar with them. There are 34 records in the table but the scrollbar only shows 15 records.
Here are the properties for block / scrollbar.
WORK_CATEGORY
- Subclass Information
- Comments
* Navigation Style Same Record
- Previous Navigation Data Block
- Next Navigation Data Block
- Current Record Visual Attribute Group
- Query Array Size 0
- Number of Records Buffered 0
* Number of Records Displayed 60
* Query All Records No
- Record Orientation Vertical
* Single Record No
- Database Data Block Yes
- Enforce Primary Key No
- Query Allowed Yes
- Query Data Source Type Table
* Query Data Source Name WORK_CATEGORY
* Query Data Source Columns
* Column Name JOB_TYPE
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
* Column Name WORK_CATEGORY
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
- Query Data Source Arguments
- Alias
- Include REF Item No
* WHERE Clause
* ORDER BY Clause job_type
- Optimizer Hint
- Insert Allowed Yes
- Update Allowed Yes
- Locking Mode Automatic
- Delete Allowed Yes
- Key Mode Automatic
- Update Changed Columns Only No
- Enforce Column Security No
- Maximum Query Time 0
* Maximum Records Fetched 0
- DML Data Target Type Table
- DML Data Target Name
- Insert Procedure Name
- Insert Procedure Result Set Columns
- Insert Procedure Arguments
- Update Procedure Name
- Update Procedure Result Set Columns
- Update Procedure Arguments
Don't know where am I going wrong. I'll really appreciate if you can help me in this.
Thanks.
Edited by: 831050 on Sep 14, 2011 8:05 AMOne of the items is a list item.. here are it's properties:
* Name JOB_TYPE
* Item Type List Item
- Subclass Information
- Comments
- Help Book Topic
- Enabled Yes
* Elements in List
* Label
* List Item Value LIST20
* List Style Combo Box
- Mapping of Other Values
- Implementation Class
- Case Restriction Mixed
- Popup Menu
- Keyboard Navigable Yes
- Mouse Navigate Yes
- Previous Navigation Item
- Next Navigation Item
- Data Type Char
- Data Length Semantics Null
- Maximum Length 30
- Initial Value
* Required Yes
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
- Distance Between Records 0
* Number of Items Displayed 15
- Database Item Yes
* Column Name JOB_TYPE
- Primary Key No
- Query Only No
- Query Allowed Yes
- Insert Allowed Yes
- Update Allowed Yes
- Update Only if NULL No
- Visible Yes
* Canvas CANVAS2
- Tab Page
* X Position 47
* Y Position 137
* Width 187
* Height 18
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
- Foreground Color
* Background Color white
- Fill Pattern
- Font
* Font Name Tahoma
* Font Size 10
* Font Weight Demilight
* Font Style Plain
* Font Spacing Normal
* Prompt Job Type
- Prompt Display Style First Record
* Prompt Justification Start
* Prompt Attachment Edge Top
- Prompt Alignment Start
* Prompt Attachment Offset 10
* Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
* Prompt Font Name Tahoma
* Prompt Font Size 10
* Prompt Font Weight Bold
* Prompt Font Style Plain
* Prompt Font Spacing Normal
- Hint
- Display Hint Automatically No
- Tooltip
- Tooltip Visual Attribute Group
- Direction Default
- Initial Keyboard State Default
- Keyboard State Any
-
Concatenated PDF file does not show all content.
When I concatenate 2 single page pdf file into one pdf file, the concatenated page does not show all the content. It misses the last line on the 2nd page.
However the thumbnails view shows the missing line correctly.
Also, if I view the concatenated pdf into another pdf view, it shows the content correctly.Upon further research in the merged pdf file, it appears the merged pdf file has 2 references to the same field "UFE_ISSUE_DATE".
If I edit the pdf file in the text editor and change one of the field name to "UFE_ISSUE_DATE_TEST", then the pdf gets rendered correctly with date value shown correctly!
So, we decided to use 2 different field names in each of the individual pdf for this field only.
But, what causes confusion is that we do have several other fields with same field name in each of the individual pdf file, but upon merge they appear correctly. Searching for such field name in the merged pdf file via text editor, I can see only 1 reference. Not sure, why this particular field "UFE_ISSUE_DATE" has 2 references in the merged pdf file.
Any one has any thoughts? -
How to show all records by default on search result page?
Hi
I am trying to make a search page that would execute the search in the database based on one or more field constraints.
(Using MySQL,PHP)
I have 2 columns in the database "vm_ip" (primary key) <IP address>, "Operating_System" <Any, Windows, Solaris, AIX>
need to search vm_ip based on other two fields.
PROBLEM: Need to show all the record when I select "Any" in the Operating_System drop down menu.
<p>Operating System:
<select name="os_select" id="os_select">
<?php
$os_count=1;
foreach($os_type as $value) //(os_type is array with possible values of OS)
echo "<option value=".$os_count.">".$value."</option>";
$os_count++;
?>
<option value=" " selected="selected">Any</option>
</select>
</p>
this code POSts NULL value to the search page.
Below code is of recordset on search page
$varOS_virtual = "Operating_System"; // recordset variable set to same as column name (default value)
if (isset($_POST['os_select'])) //this should not be true
$varOS_virtual = $_POST['os_select'];
mysql_select_db($database_xyz_db, $xyz_db);
$query_virtual = sprintf("SELECT table.VM_IP FROM table
WHERE table.Operating_System=%s", GetSQLValueString($varOS_virtual, "int"));
$virtual = mysql_query($query_virtual, $xyz_db) or die(mysql_error());
$row_virtual = mysql_fetch_assoc($virtual);
$totalRows_virtual = mysql_num_rows($virtual);
I expected the 'os_select' field to be null and default value of Operating_System to be "Operating_System" so that the Query shows all records.
But instead the value being passed in the Query is "0". and no records are shown.
What can I do to show all records?
As probably obvious I am new to php/MySQL so all the help is most welcomed .
ThanksHi
Thanks for the prompt reply but this does not solve my problem.
First thing I appologise for giving you incorrect info. Actually I have many more constraints on the search apart from OS.
Didn't think I would get single constraint specific ans.
Here is what all i tried and problems I faced:
1. I cannot use seperate queries cause I have around 7-8 other constraints on the search.
2. I cannot play around with the Record set code. For some reason even if I mess with it a little bit Dreamweaver stops recognising the recordset. for eg i tried the below code:
$query_virtual = sprintf("SELECT table.VM_IP FROM table WHERE
table.Operating_System=%s ,($_POST['os_select']=="")? TRUE:GetSQLValueString($varOS_virtual, "int"));
this ran well for the first time, and then the record set was screwed up. kept on asking me to "Discover" the links, which it couldn't do.
3. take a look at this code:
$varOS_virtual = "Operating_System";
if (isset($_POST['os_select'])) {
$varOS_virtual = $_POST['os_select'];
$varState_virtual = "State"; //second constraint
if (isset($_POST['state_select'])) {
$varState_virtual = $_POST['state_select'];
mysql_select_db($database_xyz, $xyz);
$query_virtual = sprintf("SELECT table.VM_IP FROM table AND table.Operating_System=%s AND State=%s",
GetSQLValueString($varOS_virtual, "int"),GetSQLValueString($varState_virtual, "int"));
$virtual = mysql_query($query_virtual, $xyz) or die(mysql_error());
$row_virtual = mysql_fetch_assoc($virtual);
$totalRows_virtual = mysql_num_rows($virtual);
here on passing NULL value for "Any" GetSQLValueString($varOS_virtual, "int") functions returns NULL and though the Default value of
varOS is set to 'Operating_System" query takes NULL value only which when executed shows no records.
My problem majorly revolves around how to put something like "WHERE Operating_System= Operating_System" OR "WHERE Operating_System= TRUE" in the query, when passed through variable they are sent as Strings or NULL.
Thats why WHERE 1=1 also doesnt work, because it has "WHERE Operating_System= NULL" in AND.
Logically when NULL is passed default value of variable should comeinto picture, but tha isnt happening.
Thanks again for answering. hope I was able to explain my problem. -
BI publisher report is not showing all the data
Hi All,
I have created a report using BI Publisher in R12. The report is not showing all the records.
I have checked the result XML it is also not having all the data. My query returns 846 rows but my report only has 662 rows.
what might be the issue.please give me some idea to resolve this issue.
Thanks in advance.
Regards,
P.KalidossHi Arun,
In the following code: public SelectItem[] getAllPrinters() {
if (allPrinters == null) { // allPrinters is not defined. what type of object it is
PrintService[] printers = PrintServiceLookup.lookupPrintServices(null, null);
allPrinters = new SelectItem[printers.length];
for (int i = 0; i < printers.length; i++) {
SelectItem printer =
new SelectItem(printers.getName(), printers[i].getName());
allPrinters[i] = printer;
return allPrinters;;;
Variable allPrinters is not defined. what type of object it is?
And also the same variable is referenced here <af:selectOneChoice label="Available Printers" partialTriggers="cb1"
value="#{pageFlowScope.applicationPrinterBean.selectedPrinter}"
id="soc1"
autoSubmit="true">
<f:selectItems value="#{pageFlowScope.applicationPrinterBean.allPrinters}" id="si1"/>
</af:selectOneChoice>.
Thanks. -
Could not show multiple records while could show only one record
Hi, all
I have an oracle 10g db running on a Linux E3 server.
I have two tables:
CREATE TABLE "IMMUNODATA"."DEMOGRAPHICS" (
"SUBJECTID" INTEGER NOT NULL,
"WORKID" INTEGER,
"OMRFHISTORYNUMBER" INTEGER,
"OTHERID" INTEGER,
"BARCODE" INTEGER,
"GENDER" VARCHAR2(1),
"DOB" DATE,
"RACEAI" INTEGER,
"RACECAUCASIAN" INTEGER,
"RACEAA" INTEGER,
"RACEASIAN" INTEGER,
"RACEPAC" INTEGER,
"RACEHIS" INTEGER,
"RACEOTHER" VARCHAR2(50),
"SSN" VARCHAR2(11),
PRIMARY KEY("SUBJECTID") VALIDATE
CREATE TABLE "IMMUNODATA"."MEDICATION" (
"ID" INTEGER NOT NULL ,
"THEDATE" DATE ,
"SUBJECTID" INTEGER NOT NULL,
"MED_PAGENOTCOMPLETED" VARCHAR2(500) ,
"MEDICATION_NAME" VARCHAR2(100),
"MEDICATION_CLASSIFICATION" VARCHAR2(100),
"MEDICATION_DOSENUM" VARCHAR2(50),
"MEDICATION_DOSEMEASURE" VARCHAR2(100),
"MEDICATION_ROUTE" VARCHAR2(100),
"MEDICATION_FREQ" VARCHAR2(100),
"MEDICATION_BEGIN" DATE,
"MEDICATION_END" DATE,
"BARCODE" INTEGER,
"DATASOURCE" VARCHAR2(50),
"NOCHANGE" INTEGER,
PRIMARY KEY("ID") VALIDATE,
FOREIGN KEY("SUBJECTID") REFERENCES "IMMUNODATA"."DEMOGRAPHICS" ("SUBJECTID") VALIDATE
I want to show an output to combine all medication records of one person into one, and I created a function.
CREATE OR REPLACE FUNCTION COMMEDICATION(p_subjectid IN immunodata.medication.subjectid%TYPE ) RETURN VARCHAR2 IS
v_medication VARCHAR2(1000);
BEGIN
FOR c IN (SELECT THEDATE, MED_PAGENOTCOMPLETED, MEDICATION_NAME, MEDICATION_CLASSIFICATION, MEDICATION_DOSENUM, MEDICATION_DOSEMEASURE,MEDICATION_ROUTE,MEDICATION_FREQ,MEDICATION_BEGIN,MEDICATION_END,DATASOURCE,NOCHANGE FROM immunodata.medication WHERE subjectid = p_subjectid)
LOOP
IF v_medication IS NULL THEN
v_medication := c.THEDATE||' '||c.MED_PAGENOTCOMPLETED||' '||c.MEDICATION_NAME||' '||c.MEDICATION_CLASSIFICATION||' '||c.MEDICATION_DOSENUM||' '||c.MEDICATION_DOSEMEASURE||' '||c.MEDICATION_ROUTE||' '||c.MEDICATION_FREQ||' '||c.MEDICATION_BEGIN||' '||c.MEDICATION_END||' '||c.DATASOURCE||' '||c.NOCHANGE;
ELSE
v_medication := v_medication||','||c.THEDATE||' '||c.MED_PAGENOTCOMPLETED||' '||c.MEDICATION_NAME||' '||c.MEDICATION_CLASSIFICATION||' '||c.MEDICATION_DOSENUM||' '||c.MEDICATION_DOSEMEASURE||' '||c.MEDICATION_ROUTE||' '||c.MEDICATION_FREQ||' '||c.MEDICATION_BEGIN||' '||c.MEDICATION_END||' '||c.DATASOURCE||' '||c.NOCHANGE;
END IF;
END LOOP;
RETURN v_medication;
END;
and I performed this selection statement:
SQL> select subjectid, barcode, COMmedication(subjectid) from immunodata.demographics where barcode=500135;
SUBJECTID BARCODE
COMMEDICATION(SUBJECTID)
33 500135
15-SEP-00 Cyclophosphamide Immunosuppresant .7 MG IV MONTLY FORM1 ,15-SEP-00 Hydroxychloroquine (Plaquenil) Immunosuppresant 400 MG DAILY FORM1
It is exactly what I need, so I want to show all records in the tables.
SQL> select subjectid, barcode, COMmedication(subjectid) from immunodata.demographics;
ERROR:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "SYS.COMMEDICATION", line 9
no rows selected
It seems that one record could be shown, but multiple could not.
Is there anything wrong with my code or other things?
Thanks!
QianIt seems that one record could be shown, but multiple could not.
Is there anything wrong with my code or other things?
It means that there is at least one subjectid in your table for which the value of v_medication in the function exceeds 1000 characters.
You may want to increase the size of v_medication to 4000, which would be the upper limit for the function's return value.
pratz -
My Adobe Photoshop Cs4 Is Not Showing all Formats/Extensions.
when i edit a picture and wants to save in .png or .bmp or in any other format ...
there is no .png In the Save As List, There are only Some Extenstions in that list like Jpeg-Psd-Tif etc...
I Made The Picture in RGB mode..
And I have Png.8bi Present In my AdobePhotoshop/Plugins/File Formats
But It Is Still Not Showing Can you guys helpThanks For The Reply ... Let Me Answer your questions
Os = Windows ( windows xp )
Bits = 8 bits / Channel
I didn't Understand your this question
=> If On Windows is it the same in both the 32 and 64 bit versions of Photoshop cs4?
System Info :-
Adobe Photoshop Version: 11.0 (11.0x20080919 [20080919.r.488 2008/09/19:02:00:00 cutoff; r branch])
Operating System: Windows XP 32-bit
Version: 5.1 Service Pack 3
System architecture: Intel CPU Family:15, Model:2, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2
Physical processor count: 1
Processor speed: 1394 MHz
Video Card: Intel(R) 82845G Graphics Controller
Video Mode: 1152 x 864 x 4294967296 colors
Video Card Driver: ialmrnt5.dll
Driver Version: 6.13.01.3264
Built-in memory: 2046 MB
Free memory: 1497 MB
Memory available to Photoshop: 1586 MB
Memory used by Photoshop: 70 %
Image cache levels: 4
Serial number: 92628791954238016438
Application folder: D:\CS4\Photoshop CS4\
Temporary file path: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
Startup, 39.1G, 32.0G free
Primary Plug-ins folder: D:\CS4\Photoshop CS4\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
ACE.dll ACE 2008/08/27-18:10:41 53.355610 53.355610
AdobeLinguistic.dll Adobe Linguisitc Library 4.0.0
AdobeLM.dll AdobeLM 3.0.11.10077 (BuildVersion: 53.352460; BuildDate: Tue Jul 29 2008 16:47:08) 53.352460
AdobeLM_libFNP.dll FLEXnet Publisher (32 bit) 11.5.0.1 build 57427
AdobeOwl.dll Adobe Owl 2008/08/14-18:38:42 2.0.70 53.354161
AdobeOwlCanvas.dll Adobe Owl Canvas 2.0.70 53.354161
AdobePDFL.dll PDFL 2008/08/20-20:15:08 53.204060 53.204060
AdobeUpdater.dll Adobe Updater Library 6.0.0.1452 (BuildVersion: 52.338651; BuildDate: Wed Apr 16 2008 19:28:20) 52.338651
AdobeXMP.dll Adobe XMP Core 4.2.2 53.352624
AdobeXMPFiles.dll Adobe XMP Files 4.2.2 53.352624
AdobeXMPScript.dll Adobe XMP Script 4.2.2 53.352624
adobe_caps.dll Adobe CAPS 2,0,99,0 2.135373
AFlamingo.dll AFlamingo 2008/07/09-11:28:44 53.350580 53.350580
AGM.dll AGM 2008/08/27-18:10:41 53.355610 53.355610
ahclient.dll AdobeHelp Dynamic Link Library 1, 3, 12, 0
aif_core.dll AIF 1.0 53.352475
aif_ogl.dll AIF 1.0 53.352475
amtlib.dll AMTLib 2.0.1.10077 (BuildVersion: 53.352460; BuildDate: Tue Jul 29 2008 16:47:08) 53.352460
amtservices.dll AMTServices 2.0.1.10077 (BuildVersion: 53.352460; BuildDate: Tue Jul 29 2008 16:47:08) 53.352460
ARE.dll ARE 2008/08/27-18:10:41 53.355610 53.355610
asneu.dll AsnEndUser Dynamic Link Library 1, 6, 0, 8
ATL80.dll Microsoft® Visual Studio® 2005 8.00.50727.762
authplay.dll
AXE8SharedExpat.dll AXE8SharedExpat 2008/06/11-20:19:53 NFR 53.348206 53.348206
AXEDOMCore.dll AXEDOMCore 2008/06/11-20:19:53 53.348206 53.348206
Bib.dll BIB 2008/08/27-18:10:41 53.355610 53.355610
BIBUtils.dll BIBUtils 2008/08/27-18:10:41 53.355610 53.355610
cg.dll NVIDIA Cg Runtime 2.0.0015
cgGL.dll NVIDIA Cg Runtime 2.0.0015
CoolType.dll CoolType 2008/08/27-18:10:41 53.355610 53.355610
data_flow.dll AIF 1.0 53.352475
ExtendScript.dll ExtendScript 2008/07/17-13:28:24 53.351316 53.351316
FileInfo.dll Adobe XMP FileInfo 4.2.2 53.352624
FNP_Act_Installer.dll FLEXnet Publisher (32 bit) 11.6.0.1 build 60959
icucnv36.dll International Components for Unicode 2008/03/20-16:33:10 Build gtlib_1.1 CL#7223
icudt36.dll International Components for Unicode 2008/03/20-16:33:10 Build gtlib_1.1 CL#7223
image_flow.dll AIF 1.0 53.352475
image_runtime.dll AIF 1.0 53.352475
JP2KLib.dll JP2KLib 2008/06/11-20:19:53 53.100857 53.100857
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
mfc80.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfc80CHS.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfc80CHT.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfc80DEU.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfc80ENU.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfc80ESP.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfc80FRA.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfc80ITA.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfc80JPN.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfc80KOR.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfc80u.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.762
mfcm80u.dll Microsoft® Visual Studio® 2005 8.00.50727.762
MPS.dll MPS 2008/07/07-10:33:04 53.350311 53.350311
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.762
msvcp71.dll Microsoft® Visual Studio .NET 7.10.3077.0
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.762
msvcr71.dll Microsoft® Visual Studio .NET 7.10.3052.4
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.762
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS4 CS4
Plugin.dll Adobe Photoshop CS4 CS4
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (32 bit) 1.0.0.73
PSArt.dll Adobe Photoshop CS4 CS4
PSViews.dll Adobe Photoshop CS4 CS4
registration.dll Registration 2.0.1.10077 (BuildVersion: 53.352460; BuildDate: Tue Jul 29 2008 16:47:08) 53.352460
SCCore.dll ScCore 2008/07/17-13:28:24 53.351316 53.351316
shfolder.dll Microsoft(R) Windows (R) 2000 Operating System 5.50.4027.300
VersionCue.dll Adobe VersionCue 4.0.0.0client1
WRServices.dll WRServices Friday May 30 2008 7:18:42 Build 0.7713 0.7713
Installed plug-ins:
ADM 3.11x01
Accented Edges 11.0
Angled Strokes 11.0
Bas Relief 11.0
Chalk & Charcoal 11.0
Charcoal 11.0
Chrome 11.0
Colored Pencil 11.0
Conté Crayon 11.0
Craquelure 11.0
Crosshatch 11.0
Cutout 11.0
Dark Strokes 11.0
Diffuse Glow 11.0
Dry Brush 11.0
Embed Watermark 3.0
Film Grain 11.0
Filter Gallery 11.0
Fresco 11.0
Glass 11.0
Glowing Edges 11.0
Grain 11.0
Graphic Pen 11.0
HDRMergeUI 11.0
Halftone Pattern 11.0
Ink Outlines 11.0
Lens Blur 11.0
Lens Correction 11.0
Liquify 11.0
Mosaic Tiles 11.0
Neon Glow 11.0
Note Paper 11.0
Ocean Ripple 11.0
Paint Daubs 11.0
Palette Knife 11.0
Patchwork 11.0
Photocopy 11.0
Plaster 11.0
Plastic Wrap 11.0
Poster Edges 11.0
Read Watermark 3.0
Reticulation 11.0
Rough Pastels 11.0
Save for Web & Devices 11.0
ScriptingSupport 11.0
Smudge Stick 11.0
Spatter 11.0
Sponge 11.0
Sprayed Strokes 11.0
Stained Glass 11.0
Stamp 11.0
Sumi-e 11.0
SuperPNG 2.0
Texturizer 11.0
Torn Edges 11.0
Underpainting 11.0
Vanishing Point 11.0
Variations 11.0 (11.0x001)
Water Paper 11.0
Watercolor 11.0
Plug-ins that failed to load: NONE
Flash: 0
Installed TWAIN devices: NONE
Maybe you are looking for
-
Let me begin by saying that I've done the SAME THING for a long time with this Automator script, and it's worked flawlessly. I recently added some now automator actions (and later deleted them) thinking they were the culprit of why my "filter finder
-
I have a requirement wherein I need to capture the create information of Inventory item(Oracle apps 11i-->Inventory super user-->master item (create)) To acheive this I have called Oracle apps adapter in my BPEL process, then I have called an outboun
-
Hi everyone - I've read several other posts from people who are having the same issue and have done way too many hours of searching, but I haven't found a solution yet. I use IE 9 with Windows Vista. I have uninstalled (to the best of my knowledge)
-
I bought iphone 5c phone on Ebay, the seller in the description specified that phone is completely cleared and ready to work. It appeared that the seller didn't disconnect function to find my iPhone and now I can make nothing with phone. I have an in
-
How do I open an excel encrypted file using numbers?
I have a USB memory stick that contains an .xlsx that is encrypted. I have the password. Can I open it with numbers? Thanks.