Forms need to get next record value in tabular forms, update # on delete
the isusue
In a tabular form (multirecord)...when i enter + to add the first record , it should add 1 in this item 'order' and if i hit + again then it should enter 2 and so on....
where users would enter different records at once and save it .However if they were to delete a record in the middle ...
say record
1
2
3
4
5
6
and delete 2 and 3 then # 4 should be 2 and # 5 should be 3 and #6 would be 4 . if they are to add a new record then it should assign the next number which would be 5
what i have done is created a non database item in that block and made it a summary field with max
and in the when_new__record_instance trigger...i am doing somthing like
If block.item is NULL
THEN
block.item = block.non_database_item +1
end if
got this from a post here by Francois...
it is adding just 1 everytime i hit + to add a new record...when the item is null in the beginning. However if i save the first record then click + to add new record then it goes inseries like 2..3..4....
Any help would be appreicated . Thanks
HI,
Check following thread you may useful
Maximum create call for the VO
Similar Messages
-
Is there an FM by which we can get condition record values at header level
Hi All,
Please help Is there an FM by which we can get condition record values at header level.
Thanks,
Gaurav MittalHi
There is no exact FM for this
Take the Header level condition number from the doc (KNUMV) and pass to the KONV-KNUMV and take the respective Header level amounts(KWERT) from it based on Condition Typse (KSCHL)
we use VBAK-KNUMV(for SO leve ol)r VBRK-KNUMV(for Billing Doc's) or EKKO-KNUMV (for PO's) to get the record values from KONV
Regards
Anji -
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 outRe-direct this post under relevant Developer Tools Forums.
http://forums.oracle.com/forums/category.jspa?categoryID=19
Regards,
Sabdar Syed. -
I need to know which update(s) I can apply to help stabalize the system.
Typing the body of the thread message in the title, huh? -)
I am working on a MacBook Pro (13-inch, Mid 2009) with boot camp running Windows 7 pro 64-bit. Windows crashes quite often now-a-days and I need to get this fixed. I heard that updating boot camp can help. Currently I am running Version 3.0.4 (322).
Only Apple could hamstring and tie Mac OS to Windows. There isn't any other than whether you can download the drivers into Windows (you can) but Apple puts a block on the installer setup even if your mac does not support it.
Windows 7 needs at least Boot Camp 3.1 and 3.3 is what you should already have. And you are not getting security updates if you don't have at least 10.6.8 as was pointed out. --- you arent using Software Update as you should. And you should backup and clone Mac (and Windows) as well.
You need Mountain Lion to use Boot Camp 5.x which supports Windows 7 & 8 and 64-bit.
I would upgrade to Lion if you can realizing that Rosetta and PowerPC are no longer supported though.
Mac 101: Using Windows on your Mac via Boot Camp
https://support.apple.com/kb/HT1461
http://www.apple.com/support/bootcamp/
Helpful Apple Support Resources (Forum Overview)
Boot Camp Support
Boot Camp Manuals
Boot Camp 5.0 Drivers
http://support.apple.com/kb/DL1638
Frequently asked question
http://support.apple.com/kb/HT4818
http://manuals.info.apple.com/en_US/boot_camp_install-setup_10.7.pdf
http://manuals.info.apple.com/en/Boot_Camp_Install-Setup_10.6.pdf
http://manuals.info.apple.com/en/Boot_Camp_Install-Setup_10.6.pdfcreate a Windows support software (drivers) CD or USB storage media
http://support.apple.com/kb/HT4407
The Boot Camp Assistant can burn Boot Camp software (drivers) to a DVD or copy it to a USB storage device, such as a flash drive or hard drive. These are the only media you can use to install Boot Camp software.
https://support.apple.com/kb/HT4569
http://manuals.info.apple.com/en_US/boot_camp_install-setup_10.8.pdf
Instructions for all features and settings.
Boot Camp 4.0 FAQ Get answers to commonly asked Boot Camp questions.
Windows 7 FAQ Answers to commonly asked Windows 7 questions.
http://www.apple.com/support/bootcamp/
Is there a download of the Boot Camp 5 Support Software if I'm not using OS X Mountain Lion v10.8.3?
Yes, you can download the Boot Camp 5 Support Software here.
http://support.apple.com/kb/DL1638
How do I use the Boot Camp 5 Support Software I downloaded from the web page?
The download file is a .zip file. Double click it to uncompress it.
Double-click the Boot Camp disk image.
Copy the Boot Camp and "$WinPEDriver$" folders to the root level of a USB flash drive or hard drive that is formatted with the FAT file system (see question below for steps on how to format).
Install Windows, leaving the flash or hard drive attached to the USB port of your Mac.
Installation of the drivers can take a few minutes. Don't interrupt the installation process. A completion dialog box will appear when everything is installed. Click Finish when the dialog appears.
When your system restarts your Windows 8 installation is done.
Note: If the flash drive or hard drive was not attached when you installed Windows and was inserted after restarting into Windows 8, double-click the Boot Camp folder, then locate and double click the "setup.exe" file to start the installation of the Boot Camp 5 Support Software.
How do I format USB media to the FAT file system?
Use Disk Utility to format a disk to use with a Windows computer. Here's how:
Important: Formatting a disk erases all the files on it. Copy any files you want to save to another disk before formatting the disk.
Open Disk Utility.
Select the disk you want to format for use with Windows computers.
Click Erase, and choose one of the following from the Format pop-up menu:
If the size of the disk is 32 GB or less, choose MS-DOS (FAT).
If the size of the disk is over 32 GB, choose ExFAT.
Type a name for the disk. The maximum length is 11 characters.
Click the Erase button and then click Erase again.
Which versions of Windows are supported with Boot Camp 5?
64-bit versions of Windows 8 and Windows 7 are supported using the Boot Camp 5 Support Software. If you need to use a 32-bit version, you need to use Boot Camp 4 Support Software, and you must use Windows 7. 32-bit versions of Windows 8 are not supported via Boot Camp. For a complete list of Windows OS support, click here. -
Need to get the selected values from the selectManyShuttle
Hi,
I am using ADF11g newer version.
I have a selectManyShuttle and a command button. Need to insert all the selected values on the right hand side of the selectManyShuttle into a database table.
I created the selectManyShuttle with the values. Need help in getting the values on the right hand side.
<af:selectManyShuttle value="#{bindings.UserMgmtVO1.inputValue}"
id="sms2">
<f:selectItems value="#{bindings.UserMgmtVO1.items}"
id="si6"/>
</af:selectManyShuttle>
Any sample code or link is really appreicated.
ThanksThanks for the reply.
I am using a View Object and I dropped it as SelectManyShuttle
<af:selectManyShuttle value="#{bindings.UserMgmtVO1.inputValue}"
id="sms2"
valueChangeListener="#{POBacking.getSelectedValues}"
valuePassThru="true"
autoSubmit="true">
<f:selectItems value="#{bindings.UserMgmtVO1.items}"
id="si6"/>
</af:selectManyShuttle>
public void getSelectedValues(ValueChangeEvent valueChangeEvent) {
System.out.println("Testing Shuttle");
ArrayList list = new ArrayList(Arrays.asList(valueChangeEvent.getNewValue()));
String val = "";
String sqlStmt = "";
try {
if (list != null) {
for (int i = 0; i < list.size(); i++) {
int l = list.size() - 1;
val = list.get(l).toString(); //returns , delimited string
System.out.println(" value:" + val);
if (val != null) {
val = val.replaceAll("[\\[\\]]", ""); //remove []
StringTokenizer st = new StringTokenizer(val, ",");
int nto = st.countTokens();
for (int j = 0; j < nto; j++) {
String users = st.nextToken().trim();
System.out.println("Users:" + users);
//sqlStmt = " update xxpp_project_clip set clip_status='true', clip_seq = "+j * 10+
// " where project_id = "+rHdr.getAttribute("ProjectId") +
// " and clip_name ='"+ clip_Name +"'";
//System.out.println("sqlStmt:" + sqlStmt);
//stmt.executeUpdate(sqlStmt);
//am.getDBTransaction().commit();
//if (stmt != null)
// stmt.close();
// am.getDBTransaction().commit();
} catch (Exception ex) {
ex.printStackTrace();
I don't see the values in the list.
I gets printed as
value:[Ljava.lang.Integer;@1b10691
Users:Ljava.lang.Integer;@1b10691
how to get the individual values in the list?
Thanks
Saru -
Hi
-- I have a PL/SQL in which it return an array value and I need to get the value using Java.... any idea how?
thanksCheck out CallableStatement:
http://java.sun.com/j2se/1.5.0/docs/api/java/sql/CallableStatement.html -
Help needed to get unique record from an internal table
Hi Everybody,
I have to get unique record from an internal table. i know we can use read statement with key condition .
But the problem is i have to use some relational operators like GE or LE.
eg
read table itab into wa with key width GE itab-widthfrom
width LE itab-widthto
machno eq itab-machno.
Its giving me error when I use the operators GE , LE.( I think since it can't find a unique record with those relational
operators in the with key statement)
Is there any other way to get unique record from internal table without using the loop?
Thanks,
SunnyUsing the read statement you will need some kind of loop. For example.
DO.
READ TABLE......
WITH KEY ......
READ = SPACE
IF SY-SUBRC EQ 0
TABLE-READ = 'X'.
MODIFY TABLE
ADD 1 TO W_FOUND.
ELSE
EXIT.
ENDIF
ENDDO.
IF W_FOUND EQ 1.
...record is unique.
ENDIF. -
Need to get the color value of a specific point
I'm writing a game that uses a custom button class.
Inheritance looks like this:
java.lang.Object
java.awt.Component
Sprite
GameButton
Now, the Sprite cass stores an image. I need to be able to take get a single pixle from the image (based on mouse click) and get its color value - or better yet, its opacity.
The reason for this is that the buttons are irregular shaped and transparent, so if the area the user clicked was transparent, the mouse event needs to be disgarded.
ThanksRobot.getPixelColor(...)
-
Query to Get next Highest Value for the given value passed
Hello Gurus
i want help with a query that would get me the next highest value from a table for a given value passed. Let say these are the values in col of a table
col
6000
5000
4000
3000
2000
1000
if i pass 2000 then the output should be 3000 or if i pass 4000 then query should result 5000. Please helpMay be this:
WITH t AS (SELECT 6000 val FROM DUAL
UNION ALL
SELECT 5000 FROM DUAL
UNION ALL
SELECT 4000 FROM DUAL
UNION ALL
SELECT 3000 FROM DUAL
UNION ALL
SELECT 2000 FROM DUAL
UNION ALL
SELECT 1000 FROM DUAL)
SELECT min(val)
FROM t
WHERE val > &YourVal -
Calling the DTExec from Perl Script and need to get the Return Value (Sucess or Failure)
I am able to execute the SSIS Package from Perl Script using DTExec. But i need to get the return code of the SSIS Execution. Is their any option available to get the Success or Failure information from Perl ?
Exit codes returned from dtexec utility
When a package runs, dtexec can return an exit code. The exit code is used to populate the ERRORLEVEL variable, the value of which can then be tested in conditional statements or branching logic within a batch file. The following table lists
the values that the dtexec utility can set when exiting.
http://technet.microsoft.com/en-us/library/hh231187.aspx
There's a wrinkle if the package is running in the SSIS Catalog:
http://www.mattmasson.com/2012/02/exit-codes-dtexec-and-ssis-catalog/
David
David http://blogs.msdn.com/b/dbrowne/ -
Actionscript help needed with getting Next Page to work
I just have a simple question (hopefully).
Question is:
I have a web page that displays a flash file that zooms and
pans, but I cant get the Next Page link to display. (will also want
1st, last and previous page)
1. Can the next page work and load the next or previous
numbered file?
2. Does it have to have all pages in one file, then it calls
the next frame?
Snippet below, or I can e-mail example files.
Please help, Thank you, Mike
============SNIPPET==========
<!--[if IE]>
<object id="movie" type="application/x-shockwave-flash"
width="300" height="500">
<param name="movie" value="1.swf">
</object>
<![endif]--><!--[if !IE]> <-->
<embed name="movie" type="application/x-shockwave-flash"
src="1.swf" width="300" height="500">
</embed>
<!--> <![endif]-->
<form name="f" onsubmit="return false;">
<button name="button" onclick="next()">Next
Page</button>
<button onclick="zoom()">Zoom In</button>
<button onclick="zoom2()">Zoom Out</button>
<button onclick="pan()">Pan</button>
<button onclick="setzoomrect()">Rect</button>
</form>
function next() {
var flash = window.movie || document.movie; // Get Flash
object.
flash.Zoom(50);Use the same method you are currently using. The Zoom and Pan
methods just happen to be exposed to the ActiveX control and
Plug-in. So to use the the GotoFrame() method for example, just
change your code from:
function next() {
var flash = window.movie || document.movie; // Get Flash
object.
flash.nextpage();
To this:
function next() {
var flash = window.movie || document.movie; // Get Flash
object.
flash.GotoFrame(20); // This will jump to frame 19 of your
main timeline.
It goes to frame 19 because the method you are using is
zero-based. Meaning to get to the first frame of your movie you
would pass the number zero.
To use the TCallLabel() method it would look like this:
function next() {
var flash = window.movie || document.movie; // Get Flash
object.
// to target the main timeline, use
flash.TCallLabel("/", "labelName");
// to target a movieclip on the main timeline use:
flash.TCallLabel("/MovieClip", "lableName");
Also, just so you know. These methods are getting antiquated.
To keep up with the current versions and methods of communicating
between JS and Flash you should really look into the
ExternalInterface class in Flash 8.
Tim -
Need to get primary key value from entity
Hi,
I have 2 pages. In the first page on click of GO button, Im inserting data into table using EO and Immediately navigating to second page.
Primary Key value is generated in EOImpl java file.
In second screen, in the header region, I need to show the row inserted in table.
to query the VO, i need to have primary key generated in EOImpl.
Please let me know how can i get this value in either in PFR of first page or in PR of second page. Thanks.Hi
have you included the eo that tyou are refering to in the header oif the second page..
if both pages are using the same AM, the data will appear.
at worse can you can get the ID from the eo using amethod in your AM. -
How to calculate interest needed to get a future value? urgent:(
Hey guys,
I really need help and fast:(, I have an initial value of 7.305 and i need a future value of 35.254 i have 39 years and i want to know which compounding interest i need, if anyone knows how please helpxD
So much thanks in advanceSIM,
You used the word "compounding" in your original post. That implies a number of periods greater than one.
It doesn't matter if you don't make payments along the way, payments would be zero then. Since you didn't answer my question I'll assume that your compounding period is annual. (It could conceivably be monthly or daily.)
Also, you must remember that money going out is negative and money coming back is positive. Here's your example:
The formula in the Rate cell is:
=RATE(C,0,A,B)
Regards,
Jerry -
the macbook pro was the base model released at the time. i did not upragde anything apart from the os x. which i think is leopard. apart from it having a stuffed battery there was nothing wrong with it. its just a bit slow now. if anyone could give me an approx value of what its worth, id be greatful as have tried apple refurbishers/repariers and they were unable to help.
thanks
mim from aus.Find your exact model here and check the current prices listed. I think using this guide would be more fair to both of you.
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD -
I need someone to refund me my money
Hi Denise ...
iTunes Store: Purchasing and managing auto-renewing subscriptions
Just deleting an app from a computer or device doesn't unsubscribe the auto renew function. That is the buyers respsonsibility after purchasing the app.
And, Apple's policy states that, "all sales are final" > iTUNES STORE - TERMS AND CONDITIONS
Maybe you are looking for
-
Can I modify a pdf file containing a signature field prior to download?
I have a pdf file I use as a template and in my .net application I fill in a few fields using pdfstamper, iTextsharp, etc. I'm new to this. That all works. I also have a signature field in my document. After I modify the fields, with the person's na
-
No details...the question says it all.
-
Strange: NVidia Quadro 2000 freezes after the 6th video mode switching
Asus P8P67 with NVidia Quadro 2000 and some 24" Asus monitor (SVGA/DVI/HDMI; DVI being used) and the most strange behavior: 1. if starting with display manager: after 6th sequence: Ctrl-Alt-F1, Ctr-Alt-F7 or 6th logout from my DE, 2. if starting with
-
Report to see if given user approved requistions
Hi SDN I have a rquest from the business to check, for a certain set of userIDs, if they did approve Requisition for the last 12 months in R/3, no matter which level, as per our release strategy design. Is there anything built-in R/3 to do so? If no
-
Email sent from an icloud alias not saved in sent folder
I have a couple aliases set up for my primary icloud email account. When I send a message from my "primary" email address (using the pull-down list to select the "From:" address) a copy of the message appears in the Sent folder. However, if I select