Problem Enabling DML Array

I4m migrating from form 4.5 to forms 6i patch4, the original settings for my forms was:
Block:
Key Mode: Non-updateable.
Enforce Primary Key: Yes
Some Items:
Primary Key: Yes
I changed these values to:
Block:
Key Mode: Automatic.
Enforce Primary Key: No
Some Items:
Primary Key: No
but when i set the property DML Array size larger than 1 and compile the forms, i get the following message error.
FRM-30100 Block must have at least one primary key item.
If i set the primary key i get:
FRM-30406 Block with array DML must have requiered primary key items.
If i try setting different values for these properties always get the same errors.
Any help please.
David Alarid.

David I don't understand here - If you have set an Item as the primary key and set it to be required what error do you now get when you compile?
I've just created a emp based block set the DML array size to 10, set the Primary key property to Yes on Empno and ensured that required is also set on empno and it compiles fine..

Similar Messages

  • "There was a problem enabling iCloud Backup"

    I currently have an iPad 2, and my husband has an iPod Touch (not sure of the generation - its about a year old). As of tomorrow, we'll both have iPhone 4S's.    We both use my iTuned account for purchasing apps and music. I've finally got iOS 5 up and running on my iPad, with iCloud linked to my iTunes account.  I've got my husband's iPod Touch updated with iOS 5. I set it up with his old iTunes account, and put my iTunes account into the 'Store' part of the settings, as the 'Apple IDs and iCloud' document suggested to do. But when I try to set his iPod Touch to backup to iCloud, I get the following error: "iCloud Backup Failed. There was a problem enabling iCloud Backup."
    Any suggestions?  Am I misunderstanding how I'm supposed to be doing this?  It's not a huge deal with the iPod Touch, but I want to get this figured out before tomorrow, so that I can set it up so that my iPad and iPhone both sync to one iCloud account, and his iPod Touch and iPhone sync to a different one.

    @uzagaku yes this works, and that's the only way to re-enable iCloud backup actually. No need to disable encryption, that's only for further local backups. But thanks for pointing out to that iCloud setting in iCloud .. I should have looked there immediately, obviously. As soon as it's activated there, the setting syncs on iOS. Remains that enabling iCloud backup from iOS should of course be possible, so there's still a huge bug there.

  • Help please, im having big problems enabling wifi sync

    Hi everyone,
    Im having problems enabling wifi-sync between my Windows PC (Windows 7 - iTunes 11.0.4) and my iPhone 4S (Running iOS 6.1.3)
    iTunes lets me check the box "Sync This Phone over WiFi" and when i click Apply - Then Sync the box stays checked but when I look on my iPhone on Settings > General > iTunes Wifi Sync it just still says "To enable Wi-Fi Syncing with iTunes, connect to iTunes on your computer using a cable and click "Syncwith this iPhone over Wi-Fi"."
    I have checked that both iphone and PC are connected to same WiFi network, and have tried a FW restore on the iphone and neither have solved the problem. I have also authorised my computer to my apple ID.
    Im getting to the end of my tether with this issue now, its strange because my wifes iPod Touch will sync over wifi flawlessly (Same PC, different user account)
    Please help if you can...
    Regards

    Yes, i have been clicking APPLY and then SYNC and then finally "ejecting" the iphone frmo within itunes before i dis-connect it. Its a very odd problem.

  • Back up error: "There was a problem enabling iCloud Backup."

    Keep getting this error when trying to backup iphone 5 to icloud: "There was a problem enabling iCloud Backup."

    It looks like you need to install iOS 6.0.1 that was released yesterday.  You can find more information here: http://lighthousetechnologies.com/blog/software-testing-iphone-5-bug-upgrade
    Khanh-Thy
    Lighthouse Software Testing
    www.lighthousetechnologies.com

  • There is a problem enabling iCloud Backup.  Anyone knows what to do?

    There is a problem enabling iCloud Backup.  Anyone knows what to do?

    Found a solution
    https://discussions.apple.com/message/16343143#16343143

  • HT1766 There was a problem enabling icloud backup

    Everytime I try to turn on icloud on my 4s so I can backup my contacts to restore to my new iphone5
    it tells me there was a problem enabling icloud backup.

    It is saying cannot load storage plan as well

  • Re: There was a problem enabling iCloud Backup

    Why do repeatedly get this message when trying to turn on iCloud Backup on my iPad: There was a problem enabling iCloud Backup?

    You really do have to sync after enabling iCloud on the device in iTunes. I just clicked Apply after enabling iCloud and it gave the error in the thread title. Went back to my PC, disabled it, synced, enabled it, synced, then synced to iCloud from the device and it worked a treat.

  • "There was a problem enabling FileVault." Error Message.

    After several attempt trying to enable the filevault on the newly fresh nstalled Mac OS X Mountain Lion, the same error messages appears:
    There was a problem enabling FileVault.
    Problems were encountered with the disk “Mac HD”. Please turn off FileVault, verify and (if necessary) repair the disk with Disk Utility, and try enabling FileVault again.
    Each time I've done the followings:
    1. I've turned FileVault off.
    2. I've erased all partitioned on my hard disk drive, using the USB disk containing the installation files of Mac OS X Mountain Lion.
    3. I've created a single Mac OS X Journaled, non-Encrypted partition using the disk utility and instaled the OS on it.
    4. I've followed the initial proccess of the newly installed OS by entering the WiFi credentials, AppleID and password and ...
    5. I've restarted the system after first boot.
    6. I've just enabled the FileVault after logging in without running any application or plugging any device or even using the system for about 6 hours!
    But every time the same error occoured.
    My system hardware specifications are as follows:
    MacBook 13-inch, Aluminum, Late 2008
    Model Identifier:          MacBook5,1
    Processor: Intel Core 2 Duo 2.4 GHz 3 MB L2 Cache
    Memory: 2x4 GB 1333 MHz DDR3
    Graphics:  NVIDIA GeForce 9400M 256 MB
    Misc:
    Boot ROM Version:          MB51.007D.B03 / SMC Version (system):          1.32f8 / Sudden Motion Sensor State:          Enabled
    HDD: 500.11 GB TOSHIBA MK5065GSX Revision: GJ003A 
    Native Command Queuing:          Yes / Queue Depth:          32
    Removable Media:          No / Detachable Drive:          No
    BSD Name:          disk0
    Rotational Rate:          5400 / Medium Type:          Rotational
    Partition Map Type:          GPT (GUID Partition Table)
    S.M.A.R.T. status:          Verified
      Volumes:
    disk0s1:
      Capacity:          209.7 MB (209,715,200 bytes) / BSD Name:          disk0s1 / Content:          EFI
    disk0s2:
      Capacity:          499.25 GB (499,248,103,424 bytes) / BSD Name:          disk0s2 / Content:          Apple_CoreStorage
    Recovery HD:
      Capacity:          650 MB (650,002,432 bytes) / BSD Name:          disk0s3 / Content:          Apple_Boot
    Please Help!

    It looks like you need to install iOS 6.0.1 that was released yesterday.  You can find more information here: http://lighthousetechnologies.com/blog/software-testing-iphone-5-bug-upgrade
    Khanh-Thy
    Lighthouse Software Testing
    www.lighthousetechnologies.com

  • Problems enabling nfs client and server

    I just re-build a solaris 11.1x86 on a x4640 SunFire
    Have problems enabling nfs
    First i typed the following command:
    # svcs network/nfs/server
    disable
    Second I typed the following command:
    #svcadm enable network/nfs/server
    # svcs network/nfs/server
    offline
    did this 3 or 4 times without success...
    any ideas?
    I holding production here! Please help!!

    Let's rule out the easier stuff first...
    Do you have something shared?
    I think you need to have something shared before you can enable the nfs server service.
    Or, if you share something, the service is started automatically. See below.
    Thanks, Cindy
    # svcs -a | grep nfs
    disabled Feb_26 svc:/network/nfs/client:default
    disabled Feb_26 svc:/network/nfs/server:default
    disabled Feb_26 svc:/network/nfs/rquota:default
    # svcadm enable svc:/network/nfs/server:default
    # svcs | grep nfs
    disabled 13:51:52 svc:/network/nfs/server:default
    # zfs set share.nfs=on rpool/cindy
    # share
    rpool_cindy /rpool/cindy nfs sec=sys,rw
    # svcs | grep nfs
    online Feb_26 svc:/network/nfs/fedfs-client:default
    online Feb_27 svc:/network/nfs/status:default
    online Feb_27 svc:/network/nfs/cbd:default
    online Feb_27 svc:/network/nfs/mapid:default
    online Feb_27 svc:/network/nfs/nlockmgr:default
    online 13:52:35 svc:/network/nfs/rquota:default
    online 13:52:35 svc:/network/nfs/server:default

  • Problem with an array (Array index out of bounds)

    Hey guys, i have a problem with an array, i just want to print a few things but it won't let me because of this error, here's my code
         public static void MosDat()
              int i;
              for(i=0 ; i<n ; i++);
                   Client [ i ].print1();
                   Client [ i ].print2();
              return;
         }//MosDat
    where "n" is a global variable, and client is .
    I pretty much know how it woks, so i tried it like this and gave "n" the value of "1":
    public static void MosDat()
              int i;
              for(i=0 ; i<n ; i++);
                   Client [ 0 ].print1();
                   Client [ 0 ].print2();
              return;
         }//MosDat
    the printing methods i created worked prefectly when i tried it like that... so i really don't know where the problem could be... thanks anyone who can help me.

    for(i=0 ; i < n ; i++);I spy with my little eye,
    one semicolon too many.Well-spotted. ;-)Practicing on those weird question marks is my secret training.

  • Problems declaring string array.

    I am having a problem declaring string arrays in a class that I am writing now. For some reason this code won't work:
    public class rotors()
    String[] rotor = new String[5];
    rotor [0] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    rotor [1] = "ACEGIKMOQSUWYBDFHJLNPRTVXZ";
    rotor [2] = "BDFHJLNPRTVXZACEGIKMOQSUWY";
    rotor [3] = "AEIOUYBCDFGHJKLMNPQRSTVWXZ";
    rotor [4] = "BCDFGHJKLMNPQRSTVWXZAEIOUY";
    }//end rotorsOn the other hand, this code will:
    public class rotors()
    String[] rotor={"ABCDEFGHIJKLMNOPQRSTUVWXYZ","ACEGIKMOQSUWYBDFHJLNPRTVXZ","BDFHJLNPRTVXZACEGIKMOQSUWY", "AEIOUYBCDFGHJKLMNPQRSTVWXZ",  "BCDFGHJKLMNPQRSTVWXZAEIOUY"};
    }//end rotorsI've noticed that the first code block that I posted will work, but only if I post it in a method, but not just hanging out in the class. Can anyone tell me why this is so? It seems odd to me that the first code doesn't work while the second one does. Thanks a lot
    Edited by: archangeleon on Oct 10, 2008 9:13 PM

    You can initialize a newly declared variable outside of a method/constructor/initializer block, but you can't call other statements outside of these blocks. The rotor array is declared here: String[] rotor... and can only be initialized (if at all) on this line.

  • Aperture performance problems with Lacie array

    I have an iMac with 32GB memory and, due to space requirements, an external LaCie 2Big2 disk array, with 2 x 6GB disks in a RAID-1 (mirroring) configuration and attached via USB3.
    This has in the past worked extremely quickly.  The iMac has a 1TB Fusion drive.
    In recent weeks something has changed.  It now takes about a minute for Aperture to start up and open a library of photographs.  It used to take 3-4 seconds.  In the meantime I get a spinning beachball, but can happily use other applications. The manager software for the array says it's working fine.  I am more than a little puzzled and frustrated.
    I'd appreciate suggestions on how to track down the root cause of the problem, and then how to fix it!
    I am on the latest version of Mavericks, with no outstanding software updates.

    Dear Leonie
    Thank you very much for your reply.  Here are the answers:
    What exactly has changed?
         I don't know exactly. Something changes every day on a working system!  However I have not installed any new software or hardware.
    Did this start after a software update?
         Not that I am aware of.  In the last 30 days my only software updates have been Epson driver software, a digital RAW compatibility update to Aperture and a Safari update.  The Aperture update does not apply to any of the equipment I have.
    Or after you moved the library to the Lacie Array?
         No.  I should have been clearer.  The Lacie array was installed several months ago and has been working well.
    Did you import new photos?
         I import new photos almost every day.  However I have several photo libraries and this problem occurs across all of them, even the ones unchanged for months or years.
      Did you enable Photo Stream?
         No
    Does Aperture launch more quickly, if you hold down the Shift key while Aperture is launching?  This will defer the generation of previews.
    If Aperture is launching more quickly this way, you may have imported a corrupted video or image file, that you need to find and to remove.
         No.  I have just tested this.
    Other possible reasons:
    Check the file system on your array. If the filesystem is not MacOS Extended (Journaled), you may have problems with ambigious filenames.
    The file system is MacOS Extended (Journaled)
    Do you have Photo Stream enabled? Aperture may be hanging while trying to load photos from My Photo Stream.
    No, Photo Stream is not enabled.
    Thank you again for your help.

  • Performance Problems with intrinsic array multiplikation in Fortran with Su

    Hello,
    I found a serious performance problem in my application with intrinsic array multiplikation. Therefore I wrote a small test program to check if this a general problem or only exists in my code.
    The test program (as seen below) was compiled with Sunstudio12 und Solaris 5.10 on an 64 bit Amd Opteron Machine. First with high optimization (f95 -fast -g), and the second time with out optimization (f95 -O0 -g). In both cases the intrinsic array mupltiplication had a lot of tlb and L2 cache misses (I made some test with the performance analyzer) which caused a huge increase in computation time compared to the explicit loop. In the ideal case the compiler should create the nested loops from the intrinsic statement and both functions should use exactly the same computing time.
    I also tried compiling with Studio11, the problem also occurs there. Maybe its a compiler bug but I'm not sure.
    Greetings
    Michael Kroeger
    program test
    !Test zur Ausfuehrung einer einfachen array Multiplikation
    implicit none
    real,dimension(:,:,:),pointer::check1,check2
    integer i,j,k,ni,nj,nk,status
    ni=1000
    nj=1000
    nk=100
    allocate(check1(0:ni,0:nj,0:nk),STAT=status)
    write(*,*)status
    allocate(check2(0:ni,0:nj,0:nk),STAT=status)
    write(*,*)status
    check1(i,j,k)=25
    check2(i,j,k)=25
    call intrinsic_f(check1)
    call withloop(check2,i,j,k)
    deallocate(check1,check2)
    contains
    subroutine intrinsic_f(check1)
    real, dimension(:,:,:),pointer::check1
    check1=check1*5
    end subroutine intrinsic_f
    subroutine withloop(check2,ni,nj,nk)
    real, dimension(:,:,:),pointer::check2
    integer i,j,k,nk,nj,ni
    do k=0,nk
    do j=0,nj
    do i=0,ni
    check2(i,j,k)=check2(i,j,k)*5
    enddo
    enddo
    enddo
    end subroutine withloop
    end program

    I will try the large pages, but what me puzzles is, that the intrinsic function has cache misses, but the loop function has not. All documentation says, that the compiler would expand the intrinsic function into 3 nested loops, so that both functions should be essential the same (and the compiler says it has created 3 loops from the intrinsic). Since they are not the same, this is a severe problem.
    I have a fairly large code for high performance simulations, and this intrinsic functions are a significant bottle neck. If it is not a compiler bug, I would have to rewrite all intrinsic functions into loops.

  • Please Help!-Problem using Image[ ] array

    Hi everyone,
    I have this real confusing bug in my code which i am not able to fix.
    Image[] tmpImg = new Image[Img.size()];   /initializing an image array tmpImg
                for(int i=0; i<Img.size(); i++) {          //i require this display the image a number of times
                try{
                       icon = Image.createImage("/Icon.png");
                       im = new ImageItem("Image", icon,ImageItem.LAYOUT_CENTER,"image"); //using a imageItem to display the image in a form
                       form.append(im);
                       icon2 = Image.createImage("/Icon2.png");
                           im2 = new ImageItem("Image2",icon2,ImageItem.LAYOUT_CENTER,"image"); //using another imageItem to display the second image
                      form.append(im2);
                       if (imageValue.elementAt(i) == "availableImage") {
                           tmpImg[i] = icon;  //assigning the value to the image array based on a condition from a String Vector
                      if (imageValue.elementAt(i) == "offlineImage") {
         tmpImg[i] = icon2;   //assigning the value to the image array based on a condition from a String Vector
                      } catch(IOException err) {}
           System.out.println(tmpImg[0]);
           System.out.println(tmpImg[1]);
           System.out.println(tmpImg[2]);
           System.out.println(tmpImg[3]);
           return tmpImg;
       }My problem is that when i try to print tmpImg[0], tmpImg[1] etc all the values are printed null. But the Image is created and being displayed on a ImageItem. but i am not able to assign the image to the image array 'tmpImg' which is within an if condition.
    Can anyone tell me why is this so. I would be grateful
    Thank You

    Thank u deepspace
    I got a lil' frustrated, so completely did not think that way. The code is working now
    Thanx again

  • Problem in displaying Array Position?

    hi,
    I am having a problem in displaying the array position of a sorted Array
    for ex:
    int[] a = {4,3,1,7}for sorting the array i am using Arrays.sort(a); then the output will be
    a = {1,3,4,7}now according to this i need to display the array position of a before sorting like a should have the output {2,1,0,3} which should be the array position of the sorted array. Any help will be appreciated.
    Thanks.

    for (int i = 0 ; i < unsortedArray.length ; i++)
       for (int j = 0 ; j < sortedArray.length ; j++)
           if (unsortedArray[i] == sortedArray[j]) {
                 System.out.println("position for element "+i+" is "+j);
                 break;
           }notice that if you have duplicate values, the position of the duplicate will always be considered as the first occurence of this value

Maybe you are looking for

  • Is there a way to remove Linen background in Safari 5.1?

    Has anyone found a resource to edit that can replace the inconsistent (and IMO rather ugly) linen background in the reading list of Safari 5.1 with something that matches the rest of the app?

  • Problem with NetConnection in Flex using Flash Media Server

    I'm attempting to place a function on a NetConnection instance, and from everything I've read, I should be able to do that. Unfortunately, I'm getting an error when I compile. Here's my code, and my error is below the code, please let me know if you

  • Updated to iTunes 10.5 on Vista. Many problems now.

    I updated to Itunes 10.5 on Vista. Now my PC or Itunes won't recognize my Ipod or Iphone. When I plug those devices in, the comp doesn't even recognize them. They don't charge or anything. Help! What is going on? I've tried removing and reinstalling.

  • About Strict Type def

    Hii   i have created a cluster of ring control as a strict type def.Also i have used a constant of that cluster in my program where  i need.Now am changing the items in that ring control by opening the strict type def.I am giving Apply changes , save

  • Does anyone know anything about Tomcat security policy?

    I already searched the forum, but no help:( Any expert out there that can help me a little on Catalina.policy file? Thanks Please see this thread: http://forum.java.sun.com/thread.jsp?forum=33&thread=510173