How to get next record using next button
my database is very large and i awnt to display results 1 page at a time by keeping next button.so when i click next i should get next record.
help me out
Re-direct this post under relevant Developer Tools Forums.
http://forums.oracle.com/forums/category.jspa?categoryID=19
Regards,
Sabdar Syed.
Similar Messages
-
How to get multiple records using fn-bea:execute-sql()
Hi,
I created Proxy service(ALSB3.0) to get records from DB table. I have used Xquery function(fn-bea:execute-sql()). Using simple SQL query I got single record, but my table having multiple records. Please suggest how to get multiple records using fn-bea:execute-sql() and how to assign them in ALSB variable.
Regards,
Nagaraju
Edited by: user10373980 on Sep 29, 2008 6:11 AMHi,
Am facing the same issue stated above that I couldnt get all the records in the table that am querying in the Proxyservice.
For example:
fn-bea:execute-sql('EsbDataSource', 'student', 'select Name from StudentList' ) is the query that am using to fetch the records from the table called StudentList which contains more than one records like
Id Name
01 XXX
02 YYY
03 ZZZ
I tried to assign the result of the above query in a variable and while trying to log the variable, I can see the below
<student>
<Name>XXX</Name>
</student>
I want to have all the records from my table in xml format but it's not coming up. I get the value only from the first row of my table.
Please suggest.
regards,
Venkat -
invoke-webrequest content returning only 2000 records though it has around 4000 records in web api.
The same url if I give in excel oData Data feed I am getting all the records.
See the below script
Script:
$QueryResult= (Invoke-WebRequest -Uri $ODataURI -UseDefaultCredentials)
[xml]$xmlResult=$QueryResult.content
foreach($obj in $xmlResult.feed.entry.content.properties)
$Name=$obj.Name;
$IsAvail=$obj.isAvail.'#text';
$PGroup=$obj.PGroup
I am exporting the above result as a CSV file and my CSV file contains only 2000 records.
But, $xmlResult.feed.Count --> it Shows 4000 Records.
The same Odata url if I give in excel oData Data feed I am getting all the 4000 records.
So Please help me how can I get all the records using power shell.
Thanks
A Pathfinder..
JoSwa
If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful"
Best Online JournalHi Jo Swa(K.P.Elayaraja)-MCP,
Would you please also post code which is used to export the records?
In addition, to use the cmdlet invoke-RestMethod to work on ODate feeds, please refer to this article:
Interacting with TechEd NA 2012 Schedule using PowerShell v3
I hope this helps. -
How to get current row using submit button ?
Hello Friends ,
Is there any way i can capture the value of current row by submit button ?
Here is my requirement , i have seeded OAF screen and it has table region one of the column has radio button , the existing
functionality is when ever the radio button is selected and click on submit button ( submit button attached on top of the table region )
other oaf page is getting opened .
Now i wish to restrict the navigation based on some condition , but i don't know how to get the current row using submit button .
Note : there is no Fire Action event for radio button column ? I dont' know how orale is selecting a specific row
Any suggestion please ?
Regards ,
VamsiThanks sushant for your response ,
Well i have tried your approch , i am not getting values for current row .
if (pageContext.getParameter("paApply") != null)
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject localOAViewObject1 = (OAViewObject)am.findViewObject("ProjectDatesVO");
if(localOAViewObject1!=null) {
Row DateVoROw = localOAViewObject1.first();
RowSetIterator iterator = localOAViewObject1.createRowSetIterator("iterator");
iterator.setRangeStart(0);
iterator.setRangeSize(localOAViewObject1.getRowCount());
for(int i=0; i<iterator.getRowCount(); i++)
DateVoROw=iterator.getRowAtRangeIndex(i);
String vacancyValue= DateVoROw .getAttribute("vacancyname).toString();
Could you please let me know where i am going wrong
Thanks again ,
Vamsi -
How to get data on the next page in case of templates if data is more ?
please tell me how to get data on the next page while i m using template in my first page , if data is more howw it can be displayed on the next page ?
HI Asim,
template is fixed we it can't be expand . u can better to use table line it can automaticlly expending if data is more ... u can create one more page like page 2 and create a window for entire second page ..then assign it in first page (next page page2).
regards
kiran kumar. -
Going to the next record using Iterators. Please HELP
No offence meant for asking again as this is URGENT.
I am unable to go to the next record.
I need to go to the next record using the RowsetIteratorTag.
But am getting the null pointer exception.
Please can anyone tell me the way to go to the next record.
I AM USING THE NEXT(),BUT STILL NO LUCK
public class CheckDetailRowsIterate extends TagSupport
public int doStartTag() throws JspException
Row currentRow = null;
Row nextRow = null;
String m_CmpyCode;
// Find the current row and get Data out of it.
RowsetIterateTag detailIterator = (RowsetIterateTag)TagSupport.findAncestorWithClass(this, RowsetIterateTag.class);
if (detailIterator != null)
currentRow = detailIterator.getRow();
else
// No row iterator
log.logDebug(ClassName,"","No CURRENT ROW Found : ");
if(currentRow != null)
String[] attrNames = currentRow.getAttributeNames();
Object[] obj = currentRow.getAttributeValues();
// Get the attribute Values
m_CmpyCode = obj[currentRow.getAttributeIndexOf("CmpyCode")].toString();
/* Now,move to the next Row.GIVES NULL POINTER EXCEPTION.
RowSet rowSet = new IT().getRowSet();
nextRow = rowSet.next();
m_CmpyCode = obj[nextRow.getAttributeIndexOf("CmpyCode")].toString();
log.logDebug(ClassName,"","NEXT ROW Values ARE " + m_CmpyCode );
rowSet = null;
return Tag.SKIP_BODY;
public class IT extends RowsetIterateTag
RowSet getRowSet()
return rs;
} // End class.You cannot look for a duplicate record situation using a timer. When you issue the Raise Form_trigger_failure from the when-timer-expired trigger, all it does is stops that trigger. The when-validate trigger has already run and completed with success, before the when-timer-expired trigger even started.
You must do the checking and raise form_trigger_failure at the same time from the When-validate-record trigger.
In fact, you don't even need to Post; first. In the WVR trigger, just do this:
If :System.Record_Status = 'INSERT', then do the select.
Then, if v_counter >= 1, issue the message and Raise Form_Trigger_Failure; -
How to get the records of the particluar day when delta laod failed (Urgent
Hello BW Gurus,
We are facing one serious issue. Here is the scenario.
1st time the Delta was init and for next consective two loads delta ran sucessfully... then next time delta got failed and the status is in red..... even though system started next delta loading and it has fetched the records and status is in green but not activated ,,,,,its happening still past one month so almost there are 20 requests which are to be get activatetd.
How to resolve this issue.
<b>And how to get the records of the partilcular day when the delta got failed.
</b>
Anyone have come across with this strange issue then help me out and i will rewarrd the points.
Urs,
Raki.Hi
Can you provide more details about your extractor and data targets.
Are you loading delta to an ODS ??
If you are loading to an ODS, The only solution i can see is to get the missing delta records via FULL UPDATE. Because if you delete the error request from ODS it will also delete the 20 successful requests above it.
Cheers
Praveen
null -
How to get function code of enter button in bdc manually
hi
i need to know how to get function code of enter button in bdc manually like in screen i want to capture techincal infor of enter buttion and itd fucntion cod ehow can i get it i mean what is the key in keyboard to display that
i want to capture enter button and for eg status button etc funtion code
pls suggest
aroraHi,
Want you need to do is go to transaction SHDB and record the bdc for the transaction you want, during transaction press the buttons for which you want the bdc code. And after this go press the back button and check the list of all the things recorded in Recorder.
And for SHDB help check this link:
http://abaplovers.blogspot.com/2008/02/recording-bdc-using-transaction-shdb.html
Hope this helps.
Regards,
Qamar. -
How to poll child records using Physical delete
Hi, could anyone please help me how to poll child records using the Physical delete polling strategy?I have one parent table and one child table with foreign key constraint with 'on delete cascade'. I understand that physical delete polling strategy does not poll child records and can be polled by configuring the toplink_mappings.xml. how to confure this file in order to poll the child records.
sample tables are:
student(stud_id,name,gender,age), stud_id beeing the primary key and
stud_marks(stud_id,exam,marks1,marks2,marks3), exam beeing the pk, and stud_id, the foreign key with on delete cascade.
I have set the property DeleteDetailRows="true" in the wsdl.
Getting a warning:
'TopLink found problems in PhyDelChildRecordsPoll. Please ensure that these are corrected before deployment.'
TopLink Map 'PhyDelChildRecordsPoll' -> One of the packages is incomplete.
Package PhyDelChildRecordsPoll -> One of the descriptors in this package is incomplete.
Descriptor Student -> Some mappings are incomplete.
Mapping studMarksCollection -> Method accessors have not been selected.
End TopLink Map 'PhyDelChildRecordsPoll'
Thanks.
Edited by: Help please on Nov 5, 2009 2:39 PMSimple solution is to run the query I have given for all child tables or to try a single query for all child tables withj something like:
select <parent_key>
from <parent_table>
where <parent_key> in
(select <foreign_key_1> from <child_table_1> union
select <foreign_key_2> from <child_table_2> union
... );More complicate solution could be to change the foreign key constraints to cascade DELETE on parent table to child tables:
SQL>
SQL> create table p(x int primary key);
Table created.
SQL> create table c1(x1 int);
Table created.
SQL> create table c2(x2 int);
Table created.
SQL>
SQL> alter table c1 add constraint fk1 foreign key(x1) references p;
Table altered.
SQL> alter table c2 add constraint fk2 foreign key (x2) references p;
Table altered.
SQL>
SQL>
SQL> insert into p values(1);
1 row created.
SQL> insert into c1 values(1);
1 row created.
SQL> insert into c2 values(1);
1 row created.
SQL> commit;
Commit complete.
SQL>
SQL> alter table c1 drop constraint fk1;
Table altered.
SQL> alter table c2 drop constraint fk2;
Table altered.
SQL>
SQL> alter table c1 add constraint fk1 foreign key(x1) references p on delete cascade;
Table altered.
SQL> alter table c2 add constraint fk2 foreign key (x2) references p on delete cascade;
Table altered.
SQL>
SQL> delete p where x=1;
1 row deleted.
SQL> commit;
Commit complete.
SQL> select * from p;
no rows selected
SQL> select * from c1;
no rows selected
SQL> select * from c2;
no rows selected
SQL>Edited by: P. Forstmann on 27 oct. 2011 14:01 -
How to find the records using contains with the word like this 'some text-some text'?
Hi,
How to find the records using the full text contains keyword and that column contains ‘some text-some text’
In the above some text can be anything.
Does anybody know please let me know.
Thanks,Hello,
You can try to create a Full Text Index on the table and use CONTAINS() to get the record which contains the specify words.
For example:
SELECT * FROM TABLE WHERE CONTAINS(column_name, 'some text')
Reference:
Full-Text Search (SQL Server)
Creating Full Text Catalog and Full Text Search
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
How to get latest record on top of the result list
Hi Gurus,
How to get latest record on top of the result list when you open the record.
saved data method in BT120H_CPL of OverView page and result list in ICCMP_INBOX.
Regards,
RaviHi
Try sort descending by on fileld "changed at ".
manipulate the sort depends on your requirement
Regards
Logu -
How to get iccid by using imei?i had lost my iphone and i want to find it back.
how to get iccid by using imei?i had lost my iphone and i want to find it back.
Ocean20 wrote:
Not sure about ICCID but you can get your IMEI by going to the computer you normally sync to and open iTunes there click on edit then preferences then on the devices tab and then hover mouse over your backup and the IMEI and other info on your phone will appear
Interesting. Yet another of the many Easter eggs dispersed throughout the system. -
How to get the workcentres used in the routing out of 2 alternate routings
Dear All,
I would like to know how to get the workcentres used in the routing out of 2 alternate routings.
I referred PLKO got the Task List Type (PLNTY), Group(PLNNR), Group Counter(PLNAL), Plant(werks).
I passed this in to PLPO, The problem in PLPO is we dont have the distinguishing field Group Counter(PLNAL), so I am getting all the ARBID including both alternates.
How to get the ARBID with respect to Groupcounter 1 alone.
If a get the ARBID , I can get the ARBPL from CRHD.HI,
Use PLAS Table also. you have to use PLKO> PLAS> PLPO.
Pass PLNNR & PLNAL in PLAS and get PLNNR & PLNKN.
Then pass these into PLPO.
work centers from CRHD
Regards,
Krishna Mohan
Edited by: Krishna Mohan N on Jan 31, 2008 12:28 PM -
How to get this output using sql query?
Hi,
How to get this output using sql query?
Sno Name Age ADD Result
1 Anil 23 delhi Pass
2 Shruti 25 bangalor Pass
3 Arun 21 delhi fail
4 Sonu 23 pune Pass
5 Roji 26 hydrabad fail
6 Anil 28 delhi pass
Output
Sno Name Age ADD Result
1 Anil 23 delhi pass
28 delhi passHi Vamshi,
Your query is not pretty clear.
write the select query using Name = 'ANIL' in where condition and display the ouput using Control-break statements.
Regards,
Kannan -
How can i populate records using LOV value in form 6i
Create a form based on the following output use EMP Table
Create a non Database Block i.e Control Block----> Dept No
Create a Database Block -EMP
Create an LOV for the Dept no from dept table.
For the Current Dept No . Populate the Employee Records
How can i populate records using LOV value????
thanksHow can i populate records using LOV value in form 6i Start by posting in the correct forum: {forum:id=82}
(Seriously: after making all your previous posts in the Forms forum, how do you end up posting in this one? Is it because the Forms forum has changed category?)
Maybe you are looking for
-
Problem in MSEG Table updation
Hello All, The problem is related to MSEG table updation after Stock Transport Order (STO) is done between Manufacturing plant & Depot. The problem is described below with an example. In case of STO the Supplying Plant or vendor is SP02 and the Rece
-
Livecache recovery from cold backup with raw devspaces
We are recovering the Livecache database from code backup to a database with raw devspaces. We gave the following raw parameters to DATA and LOG devspaces: DATA Devspace: /dev/vx/rdsk/azdevdg/lvlzddisk1 LOG Devspace: /dev/vx/rdsk/azdevdg/lvlzddisk3
-
I want to build a report showing actual line item data. In my firts rwo I have cost centre in my second Ihave fiscal year and period and in my third I have doc number. Then in the columm I have amount. I want to see subtotals for the amount by period
-
They downloaded and installed but not as ringtones but as music and I can't move them to ringtones no matter what I try! I download the rintones from iTunes.
-
How do I get photos off old edition of Photoshop? Please help!
I downloaded the free trial of Adobe Photoshop Album Starter Edition a while ago and since then, whenever I upload photos from my camera onto the computer they automatically go onto this programme. This happened the other day and the photos were del