Checkbox field only reads highlighted not other fields that are checked.

Hello All,
I am having an issue with an Oracle form that I am working on.
I have a datablock called PARTS_ADDED_POPUP. It has two textbox fields called PART_NBR and PART_SERL and a checkbox field called STATUS_FLAG.
After all of the required information is filled in and you click the button to update the database with the new information that is required. It will update the part_nbr and part_serl that is currently highlighted when you selected it from the datablock but it will not update the other part_nbr and part_serl that you selected.
For example:
Part Nbr 12345A
Part Serl ABC1
Status Flag = 'Y'(NOT Highlighted)
Part Nbr 12345A
Part Serl DEF2
Status Flag = 'Y'(Is Highlighted by datablock)
It will only update the second one because it is currently highlighted in the datablock.
I am using this code in the program units section of my form. Excuse my messiness in the code because I was trying to see to what data is being pulled in.
if :detail.pm_man_div_code = 'Y' then
GO_BLOCK('PARTS_ADDED_POPUP');
first_record;
loop
IF :parts_added_popup.status_flag = 'Y' then                                             
SELECT STATEMENT HERE!!
update statement here
cos_quantity := '-1';
     Subr_Inv(
     :detail.sl_stock_loc_no, --ibup_from_stock_loc
     :parts_added_popup.pwd_part_nbr, --ibup_from_part_nbr
     'N', --ibup_from_status_flag
     condition, --ibup_from_condition
     cos_quantity);
cos_quantity := '1';
Subr_Inv(
:issue.cos_stocking_loc, --ibup_to_stock_loc
:parts_added_popup.pwd_part_nbr, --ibup_to_part_nbr
'N', --ibup_to_status_flag
condition, --ibup_to_condition
cos_quantity);
                                   exit when :system.last_record = 'TRUE';                               
                              next_record;                              
                    else
                         exit when :system.last_record = 'TRUE';
                         next_record;
                                   end if;
                         end loop;
               end if;
I have read other forum/post in here about checkboxes and this is how I came to my code as to what it is right now. Just trying to figure out how to get it to read thru every record on that datablock.
I am hoping that I can get a response by the end of the day today. If you have any questions please let me know.
Any help, suggestions are appreciated.
Thanks,
Wayne
Edited by: Wayne Major on Aug 28, 2009 7:06 AM
Had to make it generic now..so I didn't want to get in trouble but that is the solution that I did in the code

You said: "you click the button to update the database with the new information that is required"
Put message in this button to display :system.cursor_block.
If it's not the PARTS_ADDED_POPUP you might want to add GO_BLOCK('PARTS_ADDED_POPUP') to your code, or to change property of that button Mouse Navigate = No

Similar Messages

  • I can only play songs from the cloud that are checked with a dark checkmark-I have many other songs with a faint check that don't play

    I can only play songs from the cloud that are checked with a dark checkmark-I have many other songs with a faint check that don't play

    Restoring from backup will result in the iPod being like it was when the backup was made. If you restore via iTunes, you have to have all the synced media in your iTunes library since those are not included in the iPod backup.

  • How do you use the windows User32.dll Library functions to read variables from other applications that are running

    I am trying to read a text box from a programme running at the same time as my Labview application using calls to the Windows
    User32.dll. I believe I need to find the window handle for the 'form' containing this text string and use this together with
    various other defined input variables to access the sting.
    I have no experience of using this 'Call Library Function Node', but have an understanding of the 'C' programming language. Does anyone have
    example Labview code showing how this might be done.
    Thanks

    If you're trying to access information that's being displayed in the window of another application and that application has no ActiveX interface, then yes, Windows calls can be used. There's a very good example on calling DLLs that ship with LabVIEW. Open the Example Finder (Help->Find Examples) and switch to the Search tab. Enter "Call" in the search box and open the VI "Call DLL". Run the VI, select any of the examples, and click the "Open Example VI..." button. That shows you how to call a DLL.
    Now, given that you have no experience in calling DLLs, have only an "understanding" of C (which to me means you have never written something like a DLL), and don't seem to know that much about what Windows functions you may need, you're going to find this route pretty difficult, especially since you have to deal with Windows API calls, which are not always that easy to do from LabVIEW.
    Let me propose an alternate solution. Go over to http://www.autoitscript.com/autoit3/ and download AutoIt. This is an automation tool that allows you to automate just about anything you want. It has an ActiveX interface that you can call from LabVIEW. I've attached an example VI that shows you how to use it to get the value of a text box from one of the tabs in the computer "System Properties" control panel applet.
    Attachments:
    AutoIt Example (v7).vi ‏25 KB

  • Fields that are not displayed are still submitted

    Is there any way to prevent fields from being submitted? I have fields that are only conditionally displayed on the screen, but the values are submitted every time.
    ie, user enters some field values, submits the page. we branch to the same page and do not clear the values so the user can see what he/she put in last time.
    the user now selects from a select list which causes some of the fields that previously had values to no longer be displayed.
    the user fills out some of the other fields, then submits the page, and all the old values and the new values are submitted. i would like only the new values to be submitted, and the old values not to be submitted.
    is this possible? (and reasonable to implement)

    Original Question:
    Is there any way to prevent fields from being submitted? I have fields that are only conditionally displayed on the screen, but the values are submitted every time.
    Hi Becky,
    Yes Modify your submit procedure to only submit the records that are displayed on the screen.
    I'm not too clear on why or what your trying to do.
    When you submit the page and then branch to the same page.
    Why don't you just make the user edit the record they just entered or create a new record?
    Maybe I've misunderstood something but something your doing in the steps you've described, doesn't seem to be too clear to me...

  • CD/DVD Drive only reads DVDS Not CD But the computer reads it as a DVD RW Drive!

    CD/DVD Drive only reads DVDS Not CD But the computer reads it as a DVD RW Drive.the drive door say RW DVD+R DL,Compact Disk Rewritable,Ultraspeed,DVD Multi Recorder.I was Wondering if Windows Loaded the wrong Driver?My Laptop S/N IsCNF62612TZ And P/N Is EZ601UA#ABA And The Front Of My Monitor says Hp Pavilion Dv 1000 Entertainment Notebook PC,And The Service Tag Is dv1738od and the Sticker On The Back Of The monitor say Hp Pavilion dv5- 1235dx Entertainment notebook PC.it Cme Factory With Win xp and when i got it the os was corrupted.i tried to reinstall xp but disk said no hard found.so i booted it up with vista ultimate and then downloaded the drivers and stuff from the here.should i had downloaded the 64 bit set as well?

    della wrote:
    My toshiba tecra a2 can only read DVDs. I cant read any type of cd. Ive tried so many things. My laptop is running on xp service pack 3 with a mat**bleep**a DVD RAm UJ 820s. I can burn/run any type of DVD but cant do anything with cds. Ive tried unistalling the drive and that didnt work. Ive uninstalled the IDE drivers and that didnt work. Nothing seams to work. I cant use recovery cds because there CDS. Please Help!!!!!!!!!
    It's probable that the CD 'side' of the combo drive has failed.  That you cannot boot from the recovery CD is pretty much proof of the failure.  

  • How do you change the fields that are displayed on the email preview list after a search?

    How do you modify the fields that are displayed in the mail preview list in the center column of Mac mail after you conduct a search of your email?   All of a sudden the displayed fields changed on me whenever I do a search in mail.   When I have not filtered my email with a search, the default field shown in bold at the top of each message's preview is the "From" field.   However, when I do a search this changes to the "To" field.   Can anyone help?   Thanks, ccarey

    ipicus
    But why would you want this?
    iTunes is responsible for the File Management, let it get on with it, you do your organisation in the iTunes window. And everything you need to do, you can do via the iTunes Window. Want to find the file of a track quickly? Right click on it in the iTunes Window and select Show File: A finder window pops open with the file already selected.
    Regards
    TD

  • HT1414 error message on facetime and imessages reads could not sign in. 'Please check your network connection and try again' but the network is working ok, any suggestions

    erroor message on Facetime and imessages reads'could not sign in. Please check your network connection and try again' network ok, updated to the latest IOS, any suggestion please

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • I have connected my laptop to a separate monitor but it is only bringing up the background, not the programs that are open. Help?

    I have connected my laptop to a separate monitor but it is only bringing up the background image, not the programs that are open. Help? I assume there is a simple solution. Thank you in advance.

    That's called extended desktop mode.  You can think of it as an extension of your main screen probably off to the right.  Drag an app off the screen to the right and it will appear on the second monitor.  You can see and adjust placement of the second monitor in System Preferences > Displays > arrangement tab.  Drag the second screen around for your optimum placement.  Also the little bar can be moved to either screen and that determines which screen will contain the dock/menubar.
    Also you can toggle between Mirror and extend desktop mode by pressing CMD F1.
    Regards,
    Captfred

  • HT2515 Does iChat work with other users that are on other types of smartphones?  or only Mac phones and Mac mail, contacts, etc?

    Does iChat work with other users that are on other types of smartphones?  or only Mac iPhones and iMac Mail, Contacts, etc?

    Hi,
    The Messages Beta will Send iMessage to iPhones (Messages replaces iChat)
    iChat can SMS to phones
    It needs the computer to be listed as if it in the United States and contacting a Phone that is on a Carrier in the United States that is accepting SMS forwarding from AIM
    You list the Buddy as AIM and then +plus their number as in +123456789
    The computer can be made to "think" it is in the United States in System Preferences > International (or Text a Language in Lion) then Formats tab.
    The Phone has to be a US phone with all the trimmings about AIM's SMS forwarding.
    11:14 PM      Monday; February 20, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I need to delete files from my iMac hard drive, but not from my other devices (that are sync. to iCloud). How do I do this?? My Mac is a 24-inch Mid 2007 running on Mountain Lion. Thanks for your help.

    I have recently recieved messages indicating that my start up disc is almost full. Consequently I need to remove some files from my hard drive. I've backed up my hard drive onto a NAS system & onto an external harddrive. The problem now, is that whenever I try to delete a file, a message comes up saying that if I remove this file from my hard disc it will remove it from all my other devices that are syn. to it. How do I remove a file (movies) from my iMac but not from other devices.
    Thanks for your help
    Robert

    You're right - this question has nothing to do with iSync!
    You're best bet would be to buy yourself an external Firewire or USB 2.0 hard-disk. There's no way you'll get 150gb onto an 80gb drive - certainly not in an instantly accessible way.
    Your new Mac would've had the Migration Assistant appear during the initial OS install. This allows you to connect your new and old Mac together via a Firewire cable and automatically transfer your important files from old Mac to new.
    Once you've all the files off your old Mac, re-format it and re-install the OS that came with it. If you boot up the Mac from the OS install DVD, there is an option to re-format the HD and install the OS.
    See this Apple support page:
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh1103.html

  • Can not view movies that are in itunes on Apple TV

    Not all movies that are listed in my itunes are visble on my Appkle Tv. They all [lay on itines ok ??? I have resynched to no avail ? why ? help

    Possibly as they're not compatible (if purchased from iTunes store they should be, though some podcasts are too complex/hi-res).
    See:
    http://www.apple.com/appletv/specs.html
    Basically you need h264 encoded at <5MBps with AAC audio at 720p 24fps or less (30fps will work at 960x540 or below).
    Check the movies in the movie section of iTunes to ensure they're not unticked which will prevent them from syncing/streaming.
    Also if AppleTv might be full and you're syncing ensure AppleTV summary tab in iTunes does not have 'Show only synced items' selected.

  • How do I erase the "other" files that are occupying my computer

    I already deleted pics, music, etc and I am ready to continue to delete unnecessary files. How should I erase the "other" files that are in my computer. Please, advice. Thanks

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
              iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then restart the computer. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation—not the mythical 10%, 15%, or any other percentage. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Ignore any other messages that appear in the Terminal window.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • Print only pages that are checked on page one??? Hidden is possible?

    Please help. I know a little about java and acrobat but not enough to do everything I want.
    I am making a form that has many pages but not all the pages apply to every event. So what I want to do is put a number of check boxes near the top of the form. When I print I only want the pages that are represented by the checked boxes to print.  Even better, I would like those pages not visible at all just print. For example: Page one is a form that one would fill out: name, address, phone number, etc. Near the bottom that person would check all that apply: page A, page B, etc. That’s all he would see but when printed, it prints out the form and any of the pages that are checked.
    Am I asking too much?
    Thank you for any and all help.

    It's possible to use a script to print only certain pages, but any contiguous page ranges have to be sent as a single print job. For example, to print pages 1-5, 10-20, and the single page 50, you would have to issue 3 separate print statements.
    It's possible to have non-visible pages (templates), but it's not possible to print them until they are displayed. Since Reader 11 now supports templates, it would be possible to display the selected pages in the order that you want, which would presumably be a single continous range of pages, which would then require just a single print statement, as opposed to multiple ones as described above.

  • 4 days ago NBC announced that hackers can intercept email and other communications that are meant to be encrypted. What update fixes this issue?

    4 days ago NBC announced that hackers can intercept email and other communications that are meant to be encrypted. What update fixes this issue?

    First, I would avoid listening to NBC as a source for tech news. They've proven that they are not a responsible source for that kind of thing. See:
    NBC severely overhypes Sochi hacking story
    Second, the SSL issue is solved by upgrading to iOS 7.0.6, as Allan points out. Plug in your phone, open the Settings app and go to General, then Software Update. Download and install the update from there. You can also download it on your computer, in iTunes, and install through sync, but that download will be larger, since it's not specific to your device.
    Finally, note that you still cannot trust e-mail... anything you put in an e-mail might as well be put on a postcard. SSL encryption only protects the transmission of username and password, when it comes to e-mail... the contents of the messages sent and received are not encrypted, and can be read (or even modified) by anyone between you and the sender/recipient. The only way to protect your e-mail is through some kind of signing and encryption, such as S/MIME.

  • TS1368 I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.

    I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.
    Can you help please?

    Thanks King_Penguin for taking time to read and reply. 
    I just purchased this movie on Thursday, May 15, so just a few days ago.  I have never had any trouble whatsoever since I have been in Vietnam.  I have downloaded several movies and even music and they have all synced to my respected Apple products except for this purchase. 
    Sorry, I don't quite understand what you mean by studios and different versions.  Could you please explain? 
    I checked my purchased list in my purchase history under my account and there are no hidden items. 

Maybe you are looking for

  • Creation of PO from Sales Order

    Hi Please let me know if there is any standard oracle functionality by which we can ensure that Purchase Orders does not contain items from sales orders. e.g. if there are multiple sales order then one PO should be generated for each sales order. At

  • Opening an Image in Photoshop on Another Machine

    I have a weird workflow issue. I'd like to be able to send a file so that it opened in Photoshop on another machine and then, when saved, would be returned to the Aperture database. I figured out a way to open the file remotely using smart folders an

  • Why is my internal memory so full? How can I find out what is the "other" that is taking up so much space?

    I'm not very tech-savvy. My iPhone is backed up on my computer and all my photos are in my computer. I'm going to send it away to have the screen fixed and the people from AppleCare recommended to back it up just in case. So, I am going to backup my

  • Help!! In preview, wherever I click the mouse it shows my other sheets??

    I'm new here and I'm trying to figure out how I can resolve this problem. Im making a website, as a starter i made a couple of sheets where I assigned events like when the mouse click "home" it should go to home page.. when the mouse go over "Topic"(

  • Same album name by different artists

    Hi Everyone, Im having an issue that I have 3 x 'Greatest Hits' albums by 3 different artists. The problem is that on my 160gig Classic the menu shows each of the albums individually when scrolling through the 'artist' menu. However when scrolling th