Displaying all the records in a tabular form on a single page
Hello,
After setting up a data entry page, I have hit an unexpected problem.
The logic in my page requires that all the records in my tabular form should be displayed .
The tabular form is based on a collection, and the user selects rows through a checkbox.
Any reload of the page due to pagination will break the logic, as some calculation and display events occur during page load,
based on the previous page.
I need to display about 25 rows.
I have changed the report attribute to display 50 rows, but it displays rows only up to the bottom of the screen,
i.e. 11 rows.
Unfortunately I only just added some new rows and saw this behaviour else I would not have gone that way,
as I expected APEX to display all rows if required.
Some help will be much appreciated.
Regards
Leckraj
leckj wrote:
Hello,
After setting up a data entry page, I have hit an unexpected problem.
The logic in my page requires that all the records in my tabular form should be displayed .
The tabular form is based on a collection, and the user selects rows through a checkbox.
Any reload of the page due to pagination will break the logic, as some calculation and display events occur during page load,
based on the previous page.
I need to display about 25 rows.
I have changed the report attribute to display 50 rows, but it displays rows only up to the bottom of the screen,
i.e. 11 rows.
Unfortunately I only just added some new rows and saw this behaviour else I would not have gone that way,
as I expected APEX to display all rows if required.Pagination settings are cached for the duration of the session. For this change to be instantly visible, either log out, restart the brower, and log in again, or manually re-request the page from the browser address bar, adding 'RP' in the ClearCache position in the URL.
Similar Messages
-
How to display all the Records of all the "Books of Business" in Report ?
Hello,
I have a user with 3 "Books of Business" (No Sub Books).
I would like to generate a report with the data of the 3 books.
With the "selector", it seems that I can't choose the "All" option.
Can someone confirm the behavior ?
Thanks for your help.Hello,
I do have a similar problem.
I have already tried to create a parent book (the checkbox "can contain data" is not activated), assign it to sub-books and add first my user as a book user (Admin role). However, when I start a simple report which should show e.g. Number of Contacts in a book an choose the parent book in the book selector I get an error message and there are no results ("The specified criteria didn't result in any data").
Did I miss any setup steps or is not possible to see all the records at once which belong to the sub-books with a parent book?
If I pick my user book, I see only the records I own. The problem is that our CEO needs a view there he could see records in sub-books separately but also the records in both of them at once. Unfortunately, the Manager Visibility can not be applied because we have a different hierarchy in the system as it is in real (otherwise wrong data in forecasts).
Many thanks in advance
Regards, Vilma -
How to color the records in a tabular form
hi,
i am using oracle 10g forms
how to change the color of records on conditional basis in a tabular form display.
thanksWell i give u item level to apply it in the whole record including...
emp , ename & sal
any way to do it block level u can use Current Record Attribute Property block level but if u programatically do it as mentioned u can have a lock on something resemble to ur case pls have a look at Craig's Oracle Stuff How to Select Multiple Records in a block using Record Groups just to exclude the idea u want to develop.
Hope this helps...
Regards,
Amatu Allah -
Am having query like this.
SELECT nvl(TR_ST_LOGINID,(select distinct TR_ST_LOGINID FROM TR_SWAPDAILYTRANS
where 1=1 and tr_st_loginid='C177' )) TR_ST_LOGINID,
nvl(time_in,d), nvl(to_char(tr_st_logintime,'HH24:MI:SS'),'0') tr_st_logintime
FROM
(SELECT TO_DATE('14-FEB-08', 'DD-MON-RR') - 1 + rownum AS d
FROM all_objects
WHERE TO_DATE('14-FEB-08', 'DD-MON-RR') - 1 + rownum <= TO_DATE('29-FEB-08', 'DD-MON-RR')) t,
(SELECT tr_st_loginid TR_ST_LOGINID,
TRUNC(tr_st_logintime ) time_in,
MIN(tr_st_logintime) tr_st_logintime
FROM TR_SWAPDAILYTRANS
WHERE tr_st_loginid='C177'
AND TRUNC(tr_st_logintime) BETWEEN '14-FEB-08' AND '29-FEB-08'
GROUP BY tr_st_loginid, TRUNC(tr_st_logintime ) order by 1) td
WHERE t.d=td.time_in(+)
and 'BEFORE10' IN( 'AFTER10','BEFORE10')
Am running this query for particular employee. If I need to display for all the employees,then How can I modify this?
That is,I need to change the where condition of 'WHERE tr_st_loginid='C177' this.
Actually that query is using for reports10g. So, we have to display for particular employee and also should display for all the employees,if we need.According to the input, it should populate.
Kindly suggest me.
Regards,
Lakshmi.P.
Edited by: [email protected] on Feb 26, 2009 10:40 PMQuery:
SELECT nvl(TR_ST_LOGINID,(select distinct TR_ST_LOGINID FROM TR_SWAPDAILYTRANS
where 1=1 and tr_st_loginid='C177' )) TR_ST_LOGINID,
nvl(time_in,d), nvl(to_char(tr_st_logintime,'HH24:MI:SS'),'0') tr_st_logintime
FROM
(SELECT TO_DATE('14-FEB-08', 'DD-MON-RR') - 1 + rownum AS d
FROM all_objects
WHERE TO_DATE('14-FEB-08', 'DD-MON-RR') - 1 + rownum <= TO_DATE('18-FEB-08', 'DD-MON-RR')) t,
(SELECT tr_st_loginid TR_ST_LOGINID,
TRUNC(tr_st_logintime ) time_in,
MIN(tr_st_logintime) tr_st_logintime
FROM TR_SWAPDAILYTRANS
WHERE tr_st_loginid='C177'
AND TRUNC(tr_st_logintime) BETWEEN '14-FEB-08' AND '18-FEB-08'
GROUP BY tr_st_loginid, TRUNC(tr_st_logintime ) order by 1) td
WHERE t.d=td.time_in(+)
and 'BEFORE10' IN( 'AFTER10','BEFORE10')
output:
TR_ST NVL(TI NVL(TO
C177 14-FEB-08 09:21:09
C177 15-FEB-08 09:23:14
C177 16-FEB-08 0
C177 17-FEB-08 0
C177 18-FEB-08 0
In oracle reports, we have this query for one data model like the following
SELECT nvl(TR_ST_LOGINID,(select distinct TR_ST_LOGINID FROM TR_SWAPDAILYTRANS
where 1=1 &EMPNO )) TR_ST_LOGINID,
nvl(time_in,d), nvl(to_char(tr_st_logintime,'HH24:MI:SS'),'0') tr_st_logintime
FROM
(SELECT TO_DATE(:P_FROM_DATE, 'DD-MON-RR') - 1 + rownum AS d
FROM all_objects
WHERE TO_DATE(:P_FROM_DATE, 'DD-MON-RR') - 1 + rownum <= TO_DATE(:P_to_DATE, 'DD-MON-RR')) t,
(SELECT tr_st_loginid TR_ST_LOGINID,
TRUNC(tr_st_logintime ) time_in,
MIN(tr_st_logintime) tr_st_logintime
FROM TR_SWAPDAILYTRANS
WHERE TRUNC(tr_st_logintime) BETWEEN :P_FROM_DATE AND :P_to_DATE
&EMPNO
&INTIME
GROUP BY tr_st_loginid, TRUNC(tr_st_logintime ) order by 1) td
WHERE t.d=td.time_in(+)
and :P_REPORT_TYPE IN( 'AFTER10','BEFORE10')
In after parameter form,we have
IF :P_EMPNO IS NOT NULL and :P_FULL_LIST = 'N' THEN
:EMPNO := 'AND tr_st_loginid = :P_EMPNO';
ELSE
IF :P_FULL_LIST = 'Y' THEN
:EMPNO := 'AND tr_st_loginid is not null';
END IF;
END IF;
But nvl for first field(i.e.tr_st_loginid) doesn't work. Am new to the reports.So,kindly suggest me how to pass this
&EMPNO to the reports.Because,if we give particular employee as input, then it should display for particular employee only.Suppose, if we will not give any input for employee field,then it should display for all the employees.
Kindly suggest me on this. -
Parameter List displaying all the values on Parameter form
Dear All...If I uncheck the "Restrict List to predetermined values" option, then report parameter form displays all the values on web parameter form instead of displaying those values in the List Item. Is it the Default behaviour of Oracle Reports 10g or Can I control it anyway because if I've 1000 entries in a list, then displaying all those values openly on the form is an ugly thing and it increases the size of parameter form very much.
Hello,
A solution is provided in the Note :
Note.465886.1 How to Implement an Alternate Solution to Unrestricted List Of Values (LOV) in Parameter Form on the Web:
regards -
How to display All the rows in a Table
Hi All,
Our requirement is, we need to display all the records of an VO in a table. We should not have navigation bar with previous and next. Runtime only will come to know how many records the VO has. Is it possible to achieve our requirement using setNumberOfRowsDisplayed() method in OATableBean ?Do u want to do it declaratively or programmatically.
Declaratively You can set no of rows property of table bean. If u want to set it programmatically then u can do it as discussed in the thread..
Regards,
Ram -
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
-
Sort all the Records in Data manager based on Update Date
How to sort the reocrds in Data Manager based on Date or something ?
And also I have three records for a same customer in ( for three different company codes ) and when I search for this customer with the Customer number then it is showing three records , but when I search with Update Date then no records are fetched ...what is the reason ?If you make a field as type "Time Stamp" in your data model using the MDM Console, make sure that the option Sort Index is set to Normal. If this is the case, whenever a record is updated in the repository, the date will be updated. If the sort index is normal, then MDM will allow you to sort the records based on the date and time by which they were updated. You can do this by finding your time stamp field in the MDM data manager and clicking on it. If there is an up and down arrow next to the name of your field, it means it can be sorted. Also, to answer your other question, you can definitely search based on date. Use the Free-Form Search on the left hand side of the data manager at the bottom of the screen. Simply select a date, and it will show you all the records updated on that date.
-
How to get all the Record Groups?
in the form i had created a record group. let us say they are:
RG_APPR_TYPE_CDE_LIST
RG_DRV_APPR_TYPE_CDE_LIST
RG_PROJ_MODE_CDE_LIST
RG_DRV_PROJ_MODE_CDE_LIST
RG_PROJ_STATUS_CDE_LIST
RG_DRV_PROJ_STATUS_CDE_LIST
RG_ORG_SUB_TYPE_CDE_LIST
RG_DRV_ORG_SUB_TYPE_CDE_LIST
RG_REGION_NUM_LIST
RG_DRV_REGION_NUM_LISTwhen the form hits on the clear button it invoke the CLEAR_FORM. i want to get all the record groups dynmically so i won't have to explicitly call the
Delete_Group('RG_APPR_TYPE_CDE_LIST');
Delete_Group('RG_DRV_APPR_TYPE_CDE_LIST');
Delete_Group('RG_PROJ_MODE_CDE_LIST');
...one by one. is there any other workaround? i appreciate any help on this. thanks.is there any other workaroundNo.
-
Report to display all the contacts of an opportunity.
Hello,
I have a requirement, can we create a report which displays all the contacts of an opportunity apart from primary contact.
Any inputs on the same will be appreciatable. TIA
Edited by: 1004233 on May 6, 2013 12:16 AM
Edited by: 1004233 on May 6, 2013 3:28 AM
Edited by: 1004233 on May 6, 2013 3:28 AMHey Aveek;
Try this, which will get the most recent one. You would just need to change it to loop at the edids records to get at them all...
TABLES: *edidc, *edids, *t100.
DATA: wf_string type string.
CLEAR *edids.
SELECT SINGLE *
INTO *edids
FROM edids
WHERE docnum = *edidc-docnum
AND status = '51'.
SELECT SINGLE text
INTO *t100-text
FROM t100
WHERE sprsl = 'EN'
AND arbgb = *edids-stamid
AND msgnr = *edids-stamno.
CLEAR wf_string.
MOVE *edids-stapa1 TO wf_string.
REPLACE '&' WITH wf_string INTO *t100-text.
IF sy-subrc EQ 0.
CLEAR wf_string.
MOVE *edids-stapa2 TO wf_string.
REPLACE '&' WITH wf_string INTO *t100-text.
IF sy-subrc EQ 0.
CLEAR wf_string.
MOVE *edids-stapa3 TO wf_string.
REPLACE '&' WITH wf_string INTO *t100-text.
IF sy-subrc EQ 0.
CLEAR wf_string.
MOVE *edids-stapa4 TO wf_string.
REPLACE '&' WITH wf_string INTO *t100-text.
ENDIF.
ENDIF.
ENDIF.
A little sloppy (OK, alot!), but it gets the job done...
Cheers,
John -
Iterate through all the records in a table using Java API
Hi All,
What is the easiest way to iterate through all the records in a given table using Java API? I cannot find any methods that will return all records in a table and the only way I can use is to perform a free form search with a condition that is always true. The code works but is pretty ugly. Is there an alternative to this approach?
Thanks!
KennyHi Kenny,
You can construct a new Search object with your table's code name, a new ResultSetDefinition object for your table and just execute this search using the GetResultSet method of CatalogData.
Please look at the following code:
Search search = new Search(<code name of your table>);
ResultSetDefinition rsd = new ResultSetDefinition(<code name of your table>);
rsd.AddField<code name of a field>);
rsd.AddField(<code name of a field>);
String sortField = <code name of your sort field>;
boolean sortAscending = true;
int page = 0; //page number
A2iResultSet rs = <your CatalogData object>.GetResultSet(search, rsd, sortField, sortAscending, page);
for (int i = 0; i < rs.GetRecordCount(); i++)
Value fieldValue = rs.GetValueAt(i, <code name of a field>);
Hope this helps,
Nir
PS - I really recommend you to start using the new API, as it is much more efficient and straight-forward. -
Cannot display all the tables of the schema!!!
Hi:
I use the oracle sql developer on the windows xp, I found that the tables tab cannot display all the tables of the schema owner, I use the sql "select count(*) from user_tables" I found the result is more than the tab can be display, and I also press the "show more" already.... does anyone can help me ???Similarly, I have 852 tables owned by the connected user (selected count from user_tables and checked the user tables report which has this many records returned), but when I double-click on the "Show More" and select Show All, I only get approximately 375 tables listed.
It doesn't help that the sorting is different - ie ASF_ comes before ASFB in the connection pane but the other way around in the report.
However, it looks as though the problem is that tables that are not analysed (based on the report data in DATE_LAST_ANALYZED) are not being displayed under the Table node. -
How to display all incorrect records in PSA
Hello,
Is there a shortcut to display all the incorrect records in PSA. I am aware of a particular value that has been posted incorrectly and we're pulling over a million records from R/3. Each time i run the update, it fails due to the same data value error. This is prod env and i'm running delta init after a transfer rule change.
Pls. help.
MalliHi malli
I was facing the same problem. But i just asked my end user to make the changes in his data entry so that there were no errors while extraction itself.
One more thing what you can do if u know the exact data error is to write one select statement on the PSA table where the condition is the error what ur facing daily. There are no other shortcuts to see a error record in PSA unless untill u face problem while updating the data target. in that case the record in PSA will be in in status red and you can filter for this record.
Hope i made certain things clear. Please post if u r not convinced.
Regards
Sriram -
BDC(to display all the errors)
Hi Experts,
I am uploading data from flat file to sap application by using bdc call transaction method. My flat file is in Txet format.
Now i want to display all the errors which are nor processed.
The error report should be line no.of error record,error message and the records which are uploading.
i am using bdcmsgcoll structure.but it is not having the fields which are required for me. will suggest me with coding how to do it.
Thanks in advance,
MythilyHi,
By using function module FORMAT_MESSAGE
Here is a sample code:
LOOP AT t_message INTO fs_bdcmsgcoll.(T_message is a type of bdcmsgcoll)
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = fs_bdcmsgcoll-msgid
lang = sy-langu
no = fs_bdcmsgcoll-msgnr
v1 = fs_bdcmsgcoll-msgv1
v2 = fs_bdcmsgcoll-msgv2
v3 = fs_bdcmsgcoll-msgv3
v4 = fs_bdcmsgcoll-msgv4
IMPORTING
msg = w_message
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
WRITE:/ w_message.
endif.
endloop.
Hope this solves the issue, let me know if any queries.
Regards,
Rajani -
Hi sir,
I developed one review page using jsp techonology, and with the help of servlet i get connected to the database, where i wrote code for both inserting the record and selecting the record at a time, but problem is only one record is displayed in the review jsp page. Though i used "while(rs.next())".
1. I think first of all , all the records should be stored to an object, then it should be displayed to jsp page.
but how it can be done, plz help me out. its an urgent, i need to complete this application soon.
regardsproblem is only one record is displayed in the review jsp page. Though i used "while(rs.next())".How many records were retrieved in the 'while (rs.next())' loop?
plz help me out. its an urgent, i need to complete this application soon.Your time management problems are your own. If you need urgent help, hire it. This is a user to user forum, nobody gets priority.
Maybe you are looking for
-
OBIEE only getting limited number of group membership records
Hey everyone, I'm seeing some strange behavior with the group membership functionality of OBIEE. Right now we're on version 10.1.3.2 and we've implemented SSO and we setup a query against LDAP (AD) to get user group information similar to the way Ven
-
I dont have an old email address to sign in to iCloud on iOS 10.10.2 and I cant change the password because the email address is not available to me.
-
Hello, I can't use System Update 3.14 on my W70027584SU. I use Vista business 64 SP1 up to date on 25 june 2009. I re-install System update 3.14 (uninstall, reboot, install), in downgrade the Microsoft Net Framework 3.5 sp1 to Net Framework 3. I sti
-
Fatal error message-acrobat failed
I cannot download anything. I keep getting acrobat failed to load its core dll. What does this mean and how can I correct this?
-
Move purchase Itunes that are currently not wanted.
I have purchased over 200 songs from Itunes, I purchased alot of unwanted songs for myself, due to purchasing them for my grandfather just so I could make him a CD. I do not want to delete these songs, as I do like them, I just do not want them on "m