Data save problem

I created a from with 2 datablock
view -- Non database block multi record block
personnel -- Database block single record block
I defined a crusor when_new_form_instance
DECLARE
           CURSOR chk
     IS
  select perscode,persname,commission,conversion,netrate from personnel order by to_number(perscode);
vcode                         personnel.perscode%type;
vName                         personnel.persname%type;
vcomm                         personnel.commission%type;
vconv                         personnel.conversion%type;
vnrate                    personnel.netrate%type;
     BEGIN
   OPEN chk;
    LOOP
   FETCH chk INTO vcode, vname, vcomm, vconv,vnrate;
     EXIT WHEN chk%NOTFOUND;
     create_record;
          go_block('view');
          :view.vpercode               := vcode;
          :view.vpersname               := vname;
          :view.vcomm                         := vcomm;
          :view.vcon                         := vconv;
          :view.vnet                         := vnrate;
          --Message('DOC...'||vname);
    END LOOP;
--    commit;
        CLOSE chk;
     END;when I run the form all the records I can see in the view datablock
I write a code at item view.persname when-button-press
:personnel.perscode := :view.vpercode;
:personnel.persname := :view.vpersname;
:personnel.commission := :view.vcomm;
:personnel.conversion := :view.vcon;
:personnel.netrate := :view.vnet;when I click on any record value I can see in personnel datablock one by one with help of click.
when I insert new record in personnel datablock it save new record and also that record which click in last.
why it is happening ?

The way you do your block population is not the preferred way. The "right" way would be:
For your block view, use the databblock wizard and base the block on your table "personnel"
In the WHEN-NEW-FORM-INSTANCE do a
GO_BLOCK('VIEW');
EXECUTE_QUERY;To populate your second block (which should also be a database block) put something like
PERSCODE=:VIEW.VPERSCODEand in the WHEN-NEW-RECORD-INSTANCE-trigger do a
GO_BLOCK('PERSONNEL');
EXECUTE_QUERY;Even more easy would be to completely leave out the second block, duplicate all items from the first-block and set "No. of records displayed" to 1 for the new items, and for each item set "Synchronize with item" to the appropiate item.
Edited by: Andreas Weiden on 24.07.2009 19:00

Similar Messages

  • PHP MySQL data display problem

    I am having trouble getting data to display on my web page.In Dreamweaver CS3, I created a new page.
    Selected PHP as the type.
    Saved it.
    Connected a database and created a recordset (all using Dreamweavers menus. I did not write any code).
    NOTE: The database is on a remote server.
    The TEST button displayed the records from the recordset with no problem.
    On the new page, I then typed some text.
    Then dragged some fields from the Bindings tab to the page.
    I saved it and then went to preview it in my browser.
    The page comes up completely blank. Not even the text shows.
    I then saved the page as an HTML page.
    When I preview this in my browser, the text shows, but the fields and data do not.
    I then tried creating a dynamic table (again, using the Dreamweaver menus.).
    A similar thing happens, ie. If I save it as an HTML, the text shows and the column labels and border shows, but no data.
    Nothing shows if I save it as a PHP file.
    I can view the data online using files created by PHPMagic, so I know the data is there and retrievable.
    It is just in pages created in Dreamweaver that don’t work.
    What am I doing wrong?

    My web server supports PHP. I can disply PHP pages created by other software packages, just not the Dreamweaver ones.
    Frank
    Date: Thu, 4 Jun 2009 19:04:03 -0600
    From: [email protected]
    To: [email protected]
    Subject: PHP MySQL data display problem
    To view php pages - or pages with PHP code in them - in a browser, the page must be served up by a Web server that supports PHP. You can set up a testing server on your local machine for this purpose. Look for WAMP (Windows), MAMP (Mac), or XXAMP for some easily installed packages.
    Mark A. Boyd
    Keep-On-Learnin'
    This message was processed and edited by Jive.
    It shall not be considered an accurate representation of my words.
    It might not even have been intended as a reply to your message.
    >

  • Core Data save error after delete

    I'm cross posting this from StackOverflow (http://stackoverflow.com/questions/1463382/core-data-save-error-after-delete)
    This question is probably a long shot. I can't figure out the errors I'm getting on my core data project when I save after I delete an entity. My .xcdatamodel can be seen at:
    http://jump.fm/BXRCG
    I have two main entities that I work with, an Outfit and an Article. I can create them with no problem but when I delete them I get the follow error log:
    for the Outfit:
    2009-09-22 20:17:37.771 itryiton[29027:20b] Operation could not be completed. (Cocoa error 1600.)
    2009-09-22 20:17:37.773 itryiton[29027:20b] {
    NSLocalizedDescription = "Operation could not be completed. (Cocoa error 1600.)";
    NSValidationErrorKey = outfitArticleViewProperties;
    NSValidationErrorObject = <Article: 0x12aa3c0> (entity: Article; id: 0x12b49a0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/Article/p1> ; data: {
    articleID = 2009-09-22 19:05:19 -0400;
    articleImage = 0x12b4de0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/ArticleImage/p1>;
    articleType = nil;
    attributeTitles = "(...not nil..)";
    color = nil;
    comment = nil;
    dateCreated = 2009-09-22 19:05:19 -0400;
    designer = nil;
    imageView = "(...not nil..)";
    location = "(...not nil..)";
    outfitArticleViewProperties = (
    0x12b50f0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/OutfitArticleViewProperties/ p1>
    ownesOrWants = 0;
    pattern = nil;
    price = nil;
    retailer = nil;
    thumbnail = "(...not nil..)";
    washRequirements = nil;
    wearableSeasons = nil;
    NSValidationErrorValue = {(
    <OutfitArticleViewProperties: 0x1215340> (entity: OutfitArticleViewProperties; id: 0x12b50f0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/OutfitArticleViewProperties/ p1> ; data: {
    article = 0x12b49a0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/Article/p1>;
    articleViewPropertiesID = nil;
    outfit = nil;
    touch = nil;
    view = "(...not nil..)";
    And if I delete an Article I get:
    2009-09-22 18:58:38.591 itryiton[28655:20b] Operation could not be completed. (Cocoa error 1560.)
    2009-09-22 18:58:38.593 itryiton[28655:20b] DetailedError: {
    NSLocalizedDescription = "Operation could not be completed. (Cocoa error 1600.)";
    NSValidationErrorKey = articleImage;
    NSValidationErrorObject = <Article: 0x12aa340> (entity: Article; id: 0x12b3f10 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/Article/p1> ; data: {
    articleID = 2009-09-22 18:58:26 -0400;
    articleImage = 0x12b4d00 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/ArticleImage/p1>;
    articleType = nil;
    attributeTitles = "(...not nil..)";
    color = nil;
    comment = nil;
    dateCreated = 2009-09-22 18:58:26 -0400;
    designer = nil;
    imageView = "(...not nil..)";
    location = "(...not nil..)";
    outfitArticleViewProperties = (
    0x12b5010 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/OutfitArticleViewProperties/ p1>
    ownesOrWants = 0;
    pattern = nil;
    price = nil;
    retailer = nil;
    thumbnail = "(...not nil..)";
    washRequirements = nil;
    wearableSeasons = nil;
    NSValidationErrorValue = <ArticleImage: 0x12ad600> (entity: ArticleImage; id: 0x12b4d00 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/ArticleImage/p1> ; data: {
    article = 0x12b3f10 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/Article/p1>;
    image = "(...not nil..)";
    A 1600 error is:
    NSValidationRelationshipDeniedDeleteError Error code to denote some relationship with delete rule NSDeleteRuleDeny is non-empty.
    Available in Mac OS X v10.4 and later.
    Declared in CoreDataErrors.h.
    But I can't see for the life of me which relationship would be preventing the delete. If some Core Data wizard can see the error of my ways, I would be humbled. But seriously, thank you!

    I'm cross posting this from StackOverflow (http://stackoverflow.com/questions/1463382/core-data-save-error-after-delete)
    This question is probably a long shot. I can't figure out the errors I'm getting on my core data project when I save after I delete an entity. My .xcdatamodel can be seen at:
    http://jump.fm/BXRCG
    I have two main entities that I work with, an Outfit and an Article. I can create them with no problem but when I delete them I get the follow error log:
    for the Outfit:
    2009-09-22 20:17:37.771 itryiton[29027:20b] Operation could not be completed. (Cocoa error 1600.)
    2009-09-22 20:17:37.773 itryiton[29027:20b] {
    NSLocalizedDescription = "Operation could not be completed. (Cocoa error 1600.)";
    NSValidationErrorKey = outfitArticleViewProperties;
    NSValidationErrorObject = <Article: 0x12aa3c0> (entity: Article; id: 0x12b49a0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/Article/p1> ; data: {
    articleID = 2009-09-22 19:05:19 -0400;
    articleImage = 0x12b4de0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/ArticleImage/p1>;
    articleType = nil;
    attributeTitles = "(...not nil..)";
    color = nil;
    comment = nil;
    dateCreated = 2009-09-22 19:05:19 -0400;
    designer = nil;
    imageView = "(...not nil..)";
    location = "(...not nil..)";
    outfitArticleViewProperties = (
    0x12b50f0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/OutfitArticleViewProperties/ p1>
    ownesOrWants = 0;
    pattern = nil;
    price = nil;
    retailer = nil;
    thumbnail = "(...not nil..)";
    washRequirements = nil;
    wearableSeasons = nil;
    NSValidationErrorValue = {(
    <OutfitArticleViewProperties: 0x1215340> (entity: OutfitArticleViewProperties; id: 0x12b50f0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/OutfitArticleViewProperties/ p1> ; data: {
    article = 0x12b49a0 <x-coredata://7046DA47-FCE1-4E21-8D7B-E532AAC0CC46/Article/p1>;
    articleViewPropertiesID = nil;
    outfit = nil;
    touch = nil;
    view = "(...not nil..)";
    And if I delete an Article I get:
    2009-09-22 18:58:38.591 itryiton[28655:20b] Operation could not be completed. (Cocoa error 1560.)
    2009-09-22 18:58:38.593 itryiton[28655:20b] DetailedError: {
    NSLocalizedDescription = "Operation could not be completed. (Cocoa error 1600.)";
    NSValidationErrorKey = articleImage;
    NSValidationErrorObject = <Article: 0x12aa340> (entity: Article; id: 0x12b3f10 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/Article/p1> ; data: {
    articleID = 2009-09-22 18:58:26 -0400;
    articleImage = 0x12b4d00 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/ArticleImage/p1>;
    articleType = nil;
    attributeTitles = "(...not nil..)";
    color = nil;
    comment = nil;
    dateCreated = 2009-09-22 18:58:26 -0400;
    designer = nil;
    imageView = "(...not nil..)";
    location = "(...not nil..)";
    outfitArticleViewProperties = (
    0x12b5010 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/OutfitArticleViewProperties/ p1>
    ownesOrWants = 0;
    pattern = nil;
    price = nil;
    retailer = nil;
    thumbnail = "(...not nil..)";
    washRequirements = nil;
    wearableSeasons = nil;
    NSValidationErrorValue = <ArticleImage: 0x12ad600> (entity: ArticleImage; id: 0x12b4d00 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/ArticleImage/p1> ; data: {
    article = 0x12b3f10 <x-coredata://05340FA6-B5DC-4646-A5B4-745C828C73C3/Article/p1>;
    image = "(...not nil..)";
    A 1600 error is:
    NSValidationRelationshipDeniedDeleteError Error code to denote some relationship with delete rule NSDeleteRuleDeny is non-empty.
    Available in Mac OS X v10.4 and later.
    Declared in CoreDataErrors.h.
    But I can't see for the life of me which relationship would be preventing the delete. If some Core Data wizard can see the error of my ways, I would be humbled. But seriously, thank you!

  • Too much memory & Time used during data save.

    The attached code is designed to run in a system with:
      1) a 6528 isolated DIO card with a hardware watchdog AND
      2) a 6221 DAQ card.  Among other things.
    The real program runs two machines, acquiring data from both and
    monitoring the output comands to both.  Periodically both machines save
    a data history.  Since it takes some time to format the data, machine 1
    will "snapshot" its data and inform machine 2 that it has done so. 
    When machine 2 gets to a point in its operation where it can tolerate a
    long interruption, it signals the "data manager" that it's safe to save
    the snapshot to disk.  At that time, the watchdog is reset to allow a
    much longer timeout, the waveform data is appended, the command data
    interleaved, and the whole batch saved.  After that, the data monitors
    are reinitialized and the watchdog set to a normal interval.  If
    necessary, the DAQ resets as well.
    Interleaving the data is required because the DAQ runs at 200Hz and the commands are updated at ~50Hz (nominally).
    If you don't have the cards in your system, this test has been designed
    to run with a simulator.  The data isn't pretty because most of the
    control system isn't here, but it works.
    The problem is that sucessive data saves tend to take longer and
    longer.  Sometimes the OS (W2k) complains it's out of memory and shuts
    LabVIEW down.  I think there's a memory leak somewhere, but it's not
    consistent.  It also seems to work differently on WxP.  WxP complains
    about increasing the page size of virtual memory.  Troubleshooting so
    far shows most of the time is being used in state "Format WF".  In the
    real system, without simulating, the operation can take from 4-5
    seconds to over 2 minutes.  The ERA section seems to have more trouble
    than HA, although state "Format WF" is the same for both.
    Anyone care to comment?

    Test Data Save 1.vi
    I saved the ZIP file to preserve the folder structure.
    I think you will also need the attached text file in the same folder as BCU Sim Config 8.vi
    This post is now mostly of academic interest.  I've solved, or at least worked around the problem by saving 4 data files fo "ER" and 3 for "HA."  I will write another VI to join the files later.  The newer VIs still take 3-5 mS to run (accumulate), which is marginal for the application.  I don't see how they can be made faster though.  The cycle rate could probably be lowered, and the data rate taken to 100Hz, but I'm fighting response time and some noise filtering issues too.  Higher sample / cycle rates help.
    I've got a test program that will run all weekend trying to fill up a hard drive.  If it survives then I'll call it good to install in the real program.
    Attachments:
    HA History (no ARINC) to File 3.vi ‏179 KB
    BCU_Sim_Init.txt ‏3 KB
    ERA History (no ARINC) to File 7.vi ‏222 KB

  • Date popup problem in APEX 3.1

    Hi
    I have a date picker (DD-MM-YYYY HH24:MI) and after upgrading to APEX 3.1 from APEX 3.0.1 the popup window height is too small.
    The end user is having to resize the window to click on the OK button.
    Is there a file I can edit to increase the height, couldnt find it in templates/themes.
    Regards
    Adam

    Hi Adam,
    This is a bug in APEX 3.1. It was discussed here:
    Apex 3.1 Upgrade Issue - dba_lock and date picker display
    and here:
    Date Picker problem in Apex 3.1
    I'll let Carl investigate and provide an official response and recommendation. Although I know where this problem is occurring.
    The size of the popup calendar window is hard-wired in the file apex/images/javascript/apex_3_1.js. In APEX 3.0, the size of the popup window was determined programatically at runtime and was a function of the date format, if it included a time component or not.
    The uncompressed, readable version of this same file is in apex/images/javascript/uncompressed/apex_3_1.js. Look for p_DatePicker and you'll see what I'm talking about. You'll see the height is hard-wired to 210 and width to 258. In APEX 3.0, the height was set to 255 if the date format contained a time component.
    So my suggestion, until Carl provides an official response, is to look for '210' in apex/images/javascript/apex_3_1.js and change this to 255. Granted, all calendar popup windows will be this big, but it won't put as great a burden on the end-user.
    I hope this helps.
    Joel

  • ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate

    ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate a form.
    1) Created a FORM on EMP using the wizards. This creates an AUTOMATIC ROW FETCH
    TABLE NAME - EMP
    Item Containing PRIMARY KEY - P2099_EMPNO
    Primary key column - EMPNO
    By default the automatic fetch has a ‘Process Error Message’ of ‘Unable to fetch row.’
    2) Created a HTML region. Within this region add
    text item P2099_FIND_EMPNO
    Button GET_EMP to submit
    Branch Modified the conditional branch created during button creation to set P2099_EMPNO with &P2099_FIND_EMPNO.
    If I then run the page, enter an existing employee number into P2099_EMPNO and press the GET_EMP button the form is populated correctly. But if I enter an employee that does not exist then I get the oracle error ORA-01403: no data found and no form displayed but a message at the top of the page ‘Action Processed’.I was expecting a blank form to be displayed with the message ‘Unable to fetch row.’
    I can work around this by making the automated fetch conditional so that it checks the row exists first. Modify the Fetch row from EMP automated fetch so that it is conditional
    EXIST (SQL query returns at least one row)
    select 'x'
    from EMP
    where EMPNO = :P2099_EMPNO
    But this means that when the employee exists I must be fetching from the DB twice, once for the condition and then again for the actual row fetch.
    Rather than the above work around is there something I can change so I don’t get the Oracle error? I’m now wondering if the automatic row fetch is only supposed to be used when linking a report to a form and that I should be writing the fetch process manually. The reason I haven’t at the moment is I’m trying to stick with the automatic wizard generation as much as I can.
    Any ideas?
    Thanks Pete

    Hi Mike,
    I've tried doing that but it doesn't seem to make any difference. If I turn debug on it shows below.
    0.05: Computation point: AFTER_HEADER
    0.05: Processing point: AFTER_HEADER
    0.05: ...Process "Fetch Row from EMP": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:EMP:P2099_EMPNO:EMPNO
    0.05: Show ERROR page...
    0.05: Performing rollback...
    0.05: Processing point: AFTER_ERROR_HEADER
    I don't really wan't the error page, either nothing with the form not being populated or a message at the top of the page.
    Thanks Pete

  • Weird save problem Word 2004 using OS X 10.4.x

    We have major problems saving Word documents using Mac OS X 10.4.x on a server volume. What really makes it odd is that the problem only occurs in the afternoon. The problem has only been reported by users trying to save using Microsoft Word 2004.
    When the problems occurs it is not possible to save or save as on the server volume - Can not find volume. The volume is available on the desktop. Saving the file on the desktop works fine.
    Mac OS X 10.4.2/10.4.3/10.4.4 with all updates installed.
    Microsoft Office 2004 Swedish with SP2 installed.
    It is a Windows Server 2003 with MacShare IP 9 installed. We've had the problem for some time and have replaced the server during that time, the save problem still remains though. It makes no difference with or without MacShare IP installed.
    Anyone have any ideas how to solve this one?

    Welcome to Apple Discussions!
    When dealing with Windows environments, I find it best to save the files as archives before sending them over to Windows environments. The file naming conventions differing by operating system, and the formats of what get sent sometimes can get corrupted when moving from system to system. This I found especially true when saving to a PC formatted flash drive. To make a file an archive, save it on the Mac first, and the control mouse click the document in 10.3 or 10.4. The contextual menu brings up a create archive. It has been my understanding than 10.4's archive format is more compatible with Winzip and 10.3 more compatible with GnuZip, both of which you can find clients for under Windows. Both 10.3 and 10.4 have the ability to open these documents directly when saved as this format.

  • PDF 'File Save' problem in Firefox

    Using Firefox browser, when I select a PDF file that opens in a new window [rather than a new tab], save it and close the window, the AcroRD32.exe process is not stopped.  If I then open another PDF file in a similar manner, it can not be saved.  Each time you close a PDF window, you have to go to Task Manager and stop the AcroRD32 process before being abl;e to save a subsequent document.  This does not happen with IE.
    Using Reader 10.1.1 and Firefox 8 on a Windows Vista32 system.

    Same bug i see in Opera browser. PDFs doesn't saves without stopping AcroRd32 process. And save dialogue doesn't appears when clicking links (even if web browsing function deactivated in adobe reader settings)...
    Apart from this File Save problem, there is more strange things while browsing PDF online, like "blinks", hangs, image dissapear, suddenly lags without any reason, browser crashing and more...
    So, because adobe reader prevents to download PDFs, and because it works very buggy with online browsing, especially if website uses adobe flash to show PDFs, the only right solution i found is uninstalling adobe reader. After that File Save problem was gone!

  • Report 6i Arabic Date alignment problem in Windows 7

    Hi
    We have 6i Forms and Report and wanna run in windows 7. But we found arabic Date disaplay problem in reports. As you know arabic writting from right. But date display like 21/10/1431 and I wanna like 1431/10//21.
    I tried from regional setting and change date format from report. but this is problem from system it self,
    not accept right alignment. Even I install left to right patch (KB979643-x86).
    Please Help
    Thanks

    Like others have said you need to run the bootcamp installer to install the drivers.
    The time issue was a constant annoyance rebooting with OSX and my old XP bootcamp setup but it's gone with Windows 7 once you set your time to UTC format in the date and time properties instead of local time which OSX uses and XP couldn't support.

  • Flash Builder 4 Beta 2 ---- Data Management Problem

    Flash Builder 4 Beta 2 ---- Data Management Problem
    I have a simple datagrid, a PHP service and a MySQL database. When I run the code I get multiple(7) records returned to the datagrid.  Once I enable Data Management and run the exact same code, I only get 1  record returned.
    Is there a setting in Data Management that affects the number of records returned?
    Here is the MXML code I am testing. 
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                         xmlns:s="library://ns.adobe.com/flex/spark"
                         xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768" xmlns:carasgndataphp="services.carasgndataphp.*">
          <fx:Script>
                <![CDATA[
                      import mx.controls.Alert;
                      import mx.events.FlexEvent;
                      var inptdata:String = "1";
                      protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                            getAsgnDataResult.token = carAsgnDataPHP.getAsgnData(inptdata);
                ]]>
          </fx:Script>
          <fx:Declarations>
                <s:CallResponder id="getAsgnDataResult"/>
                <carasgndataphp:CarAsgnDataPHP id="carAsgnDataPHP" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
                <!-- Place non-visual elements (e.g., services, value objects) here -->
          </fx:Declarations>
          <mx:DataGrid x="115" y="91" id="dataGrid" creationComplete="dataGrid_creationCompleteHandler(event)" dataProvider="{getAsgnDataResult.lastResult}" width="558" height="298">
                <mx:columns>
                      <mx:DataGridColumn headerText="A" dataField="numAsgn"/>
                      <mx:DataGridColumn headerText="T" dataField="numTopic"/>
                      <mx:DataGridColumn headerText="U" dataField="numUnit"/>
                      <mx:DataGridColumn headerText="P" dataField="numProblem"/>
                      <mx:DataGridColumn headerText="TP" dataField="PType"/>
                      <mx:DataGridColumn headerText="P" dataField="numSeqPresent"/>
                      <mx:DataGridColumn headerText="F" dataField="numSeqFeedback"/>
                      <mx:DataGridColumn headerText="D" dataField="numDelay"/>
                      <mx:DataGridColumn headerText="ID" dataField="idAsgnData"/>
                      <mx:DataGridColumn headerText="IDP" dataField="idProblem"/>
                </mx:columns>
          </mx:DataGrid>
    </s:Application>

    Hello,
    Data Mangement expects unique values for id property.This issue may occur when you select 'Identity' property in Data Mangement wizard which is not unique in the Table.For eg:, you have selected 'name' field as identity property. And your MySQL database table has multiple rows with identical values for 'name' column.
    Can you verify if you have similar setup?
    Thanks,
    Radhakrishna

  • AS3 Data Coercion Problem

    AS3 Data Coercion Problem
    From PHP server RemoteObject AMF3 serialization, I receive a
    photo object per below into my Flex client:
    package WPhoto {
    [Bindable]
    [RemoteClass(alias="WPhoto.PhotoObj")]
    public class PhotoObj {
    public var photo:*;
    public var photoWidth:int;
    public var photoHeight:int;
    The above 'photo' property String of a one-byte (UTF-8)
    '.jpg' photo data. Due to PHP's rather limited set of primitive
    data types this is the best I can do per returning photo data to
    the Flex client. (Extreme tries at PHP data structure chicanery
    hasn't worked for me.)
    I need photo property in a DisplayObject format such that I
    can render photo as a child of my App's DisplayObject. The AS3
    Loader class performs this task, when sourced from an AS3
    ByteArray.
    o Loader.loadBytes(bytes:ByteArray, context:LoaderContext =
    null):void
    Loads from binary data stored in a ByteArray object.
    My dilemma is "how to" convert a UTF-8 string of photo data
    into a ByteArray. I've been through the ByteArray.writeXXX() class
    methods without finding anything close to meeting my requirements.
    AS3 String readers expect UTF-16 data, so reading AS3 string
    reading is not a solution. AS3 has no Byte data type, accordingly
    reading my photo data UTF-8 string with a "for loop" into a AS3
    UTF-16 string, or whatever, is not viable. Is there a single-byte
    reader to 'whatever' writer I'm not aware of?
    If I was sourcing photos from a Java based server, my photo
    rendering dilemma would be over. The server to client packets would
    be "java.lang.Byte[]" => flash.utils.ByteArray and voilà we
    could easily and directly render photos via the Loader.loadBytes()
    method.
    I can tentatively extend one of the AS3 ByteArray class write
    methods if I thought there was a way to read UTF-8 streams. Before
    digging down into the ByteArray class on a feasibility basis, I
    thought it first best to ask around the experts per 1) can
    ByteArray be extended for my requirement, or 2) is there a better
    way to approach this, which I have not thought of?
    Pete Mackie
    Seaquest Software
    Adobe Community Expert - Flex

    Hi,
    Thanks for the quick reply.
    I simply don't get it.
    I have a root class which adds two different children of
    different classes. One child dispatched an event, and the other is
    supposed to get it. Both of the are now supposed to be in the
    instance hirrarchy, or am I wrong?
    Logically, I'd figure this should work smooth and simple
    without any need for any looping or such.
    Right now, the root class can recieve the event dispatched by
    child1, but I can't make child2 recieve any event dispatched by
    either the root or child1.
    I'd appreciate if you could show me the way...
    thanks again,
    EZ42

  • Date Format problem...

    Hi users,
    Forte version : 2.e.2 and ForteWebSDK
    Datacase : Oracle
    We have a problem with a simple HTML text field which acccepts
    a date. When we try to update the record with some date, the following
    exception occurs:
    24-Jun-1998 04:32:28 : XV01086 : Execute failed for SQL statement in
    project Rap
    tServices, class RaptSqlMethods, method updateActivity, methodId 104,
    line 51, e
    rror from database is:
    ORA-01830: date format picture ends before converting entire input
    string
    The Oracle manual says that the above exception occurs when there are
    some extra characters on that field, which is not the case. In fact,
    we raise our own exception for the cases like : o1-Apr-1997,
    01-apr-97 etc. The correct format is 01-apr-1998.
    Same date soemtimes is added to the database successfully. Waht I mean
    to say that the exception deos not occur consistently.
    We just conevert the String taken from the HTML field into a Forte
    DateTimeData Object and send it to database. May be, the conversion
    part is causing the problem. But, once again the problem is not
    consistent.
    Any ideas in this will be appreciated.
    Thanx in advance
    -Rajeev Talwar
    Get Your Private, Free Email at http://www.hotmail.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    We had the same problem when our application first went live. The
    default date format for our Oracle database is 'dd-mmm-yy' without the
    time component. The default format for datatype DateTimeData is
    'dd-mmm-yyyy hh:mm:ss'. Since we did not want to change the default date
    format for the Database, we included in our service partitions an Alter
    Session statement to change the NLS_Date_format attribute in Oracle to
    conform to the Forte DateTimeData format. It worked.
    Kam Chow
    Mazda Australia
    -----Original Message-----
    From: Gary F Giger [mailto:[email protected]]
    Sent: Thursday, June 25, 1998 4:11 AM
    To: Rajeev Talwar
    Cc: [email protected]
    Subject: Re: Date Format problem...
    I was having the same problem a few weeks back when I would
    read/write
    dates to Oracle. I was using objects of type DateTimeData and I would
    occasionally get errors like you said you were. I found discovered my
    problem. Sometimes I would process a null date and would get an error.
    So to
    resolve this issue, I simply changes my objects of type DateTimeData to
    type
    DateTimeNullable. This enabled my Forte Application to handle regular
    dates
    as well as null dates. I have not gotten any oracle errors since then
    with
    regards to dates. Hope this helps.
    Rajeev Talwar wrote:
    Hi users,
    Forte version : 2.e.2 and ForteWebSDK
    Datacase : Oracle
    We have a problem with a simple HTML text field which acccepts
    a date. When we try to update the record with some date, the following
    exception occurs:
    24-Jun-1998 04:32:28 : XV01086 : Execute failed for SQL statement in
    project Rap
    tServices, class RaptSqlMethods, method updateActivity, methodId 104,
    line 51, e
    rror from database is:
    ORA-01830: date format picture ends before converting entire input
    string
    The Oracle manual says that the above exception occurs when there are
    some extra characters on that field, which is not the case. In fact,
    we raise our own exception for the cases like : o1-Apr-1997,
    01-apr-97 etc. The correct format is 01-apr-1998.
    Same date soemtimes is added to the database successfully. Waht I mean
    to say that the exception deos not occur consistently.
    We just conevert the String taken from the HTML field into a Forte
    DateTimeData Object and send it to database. May be, the conversion
    part is causing the problem. But, once again the problem is not
    consistent.
    Any ideas in this will be appreciated.
    Thanx in advance
    -Rajeev Talwar
    Get Your Private, Free Email at http://www.hotmail.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive<URL:http://pinehurst.sageit.com/listarchive/>
    Gary Giger
    Raytheon Systems Company
    300 Science Park Road
    State College, PA. 16804
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    This message has successfully passed virus checking.
    Mazda Australia takes every precaution to ensure email messages are virus free. For complete protection, you should virus test this message.
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Create a new OSB domain and data source problems

    Hello,
    I noticed a problem while create a new OSB domain with Oracle Service Bus 10gR3 on Solaris 10 (intel-based).
    This domain is composed of two managed servers deployed on a cluster.
    I have configured the JMS reporting data sources to use an Oracle 10g (XE) database (driver Oracle Thin (non XA)) installed on a remote server.
    While trying to start my managed servers, the startup process of these managed servers failed due to a data source problem on "wlsbjmsrpDataSource" or "cgDataSource-nonXA".
    The workaround I found is to delete and recreate (through the WLS console) the data sources "wlsbjmsrpDataSource", "cgDataSource-nonXA" and "cgDataSource".
    In this situation, my managed servers can be started properly.
    Is it a known problem located on the configuration wizard?
    Thanks for your help.

    Hi
    For the answer.
    I fully understand that those datasources are default ones and are mainly related to JMS reporting.
    But my question was probably not well expressed.
    The problem I had is when the domain is created, the managed servers won't start due to problems related to theses datasources.
    The workaround I found is to delete and to create those datasources from the WLS console.
    In this situation, the managed servers are able to be started.
    I want to know if this is a known problem/limitation of OSB 10gR3 with Solaris 10 and Oracle 10g?
    Thanks for your help.

  • Data inconsistency problem TABLES: VBUK/VBUP vs VBAK/VBAP

    Hi,
    I have the fun task of trying to solve a data inconsistency problem caused by a faulty network connection between R/3 and our SQL server.
    To add to the fun my knowledge of the outbound systems is pretty close to zero.
    Apparently our warehouse was booking stock and after booking they process the STO NO in VL10B.
    While posting the outbound in VL02n some of the lines did not generate.
    So they deleted the outbound and tried again.
    After they finished playing around and our connections acted funky, I now have data for the outbound in tables VBUP/VBUK (Outbound status tables), but seemingly nowhere else.
    There is no data in ekpo, lips, vbak or vbap.
    So the question is:
    How on earth do I get rid of these entries safely, or otherwise try to generate the missing data?
    Just changing the statuses to completed did not work as they end up having problems when trying to pick more stock on articles that had entries on the missing outbound.
    Any other ideas?
    What other tables do I need to check for entries?
    Thanks
    Charl
    Message was edited(typos) by:
            Charl Holtzhausen

    Hi,
    With the help of SAP we solved the problem.
    Apart from VBUP/VBUK there was data in table VBBE (stock movement).
    Deleting the entries in these cleared the problem.
    It was important to check that further STOs were not adversely affected, which it seems it was not.
    Regards

  • Data Mismatch problem in Production system

    Dear Experts,
    We have been encountering serious data mismatch problems with our source system since 29th Dec 2010.
    We have realized this mismatch only on 11th Jan 2011. So, we have deleted entire data from 29th Dec 2010 onwards to 11th Jan 2011. Then we tried to load delta again as per our Process Chain sequence. Since then, our production system has become very inconsistent. We found that the entire data from 29th Dec 2010 to till date is started giving mismatch.
    Our system got damaged in terms of data drastically. If I delete any bad requests from our Cubes & Data Store Objects, the next time when we try to load data, cube & Data Store Objects is showing the deleted request no. is not updated properly. Because of this, our Process chain is daily failing to complete and giving so many technical errors. We are totally confused to restore our data from 29th Dec 2010 to till date.
    Can any one please help us to restore our data fully and Process Chain to run successfully...............?
    Thanks in Advance,
    Suman

    Hi Suman,
    I understood that you are using 3.x version of BW
    such kind of issues occurs if you distrub the delta sequence by deleting the requests without making them red.
    you can resolve this two ways......
    1) Go to reconstruction tab of the DSO and CUBE, select all the req from 29th Dec 2010 thru 11th Jan 2011 and reconstruct them. once they appear in the request tab. make all the requests to red (set the QM status to RED) one by one and delete them from the CUBE and DSO.
    This should set the delta status  back to 29th and you will be able to run a repeat delta from then in your next delta.
    2) Go to RSRQ and give the SID or the Request ID one by one that it is giving you ( request no. which is not updated properly)
        Mke the QM status as RED for all of them.
    Since you have already deleted them from the targets, just changing the QM status to RED will be sufficinet.
    You have make the QM status to RED inorder to inform the system that the requset is incorrect one and has been deleted.
    Once it is set to RED, system will not prompt any req and say "request no.# not updated properly".
    i suggest you the second option.
    Once you resume the delta load, it should run successfully.....and if you feel some data is still missing from 29th Dec 2010 thru 11th Jan 2011, just run a full repair load the get the data back.
    If your Datasource is of LO extraction u may need to fill the setup tables to perform full repair.
    Please let me know if the Datasource is of LO extraction. Also let me know once the issue is resolved.
    Regards,
    Sudheer.
    Edited by: Sudheer Kumar Kurra on Jan 22, 2011 7:58 AM
    Edited by: Sudheer Kumar Kurra on Jan 22, 2011 8:03 AM

Maybe you are looking for