Data of appeals with a cursor in Forms 6i

Hello world

I have 2 data block in my block of data and database, I added a new issue that is not an element of database operations and create a trigger when-validate-point and the trigger, I set a command to go to a program with the following slider unit:

My problem is that the cursor brings data, but only on a single line and I have to re - enter the value again to display the next line.

Can anyone, please help?

Begin

Premier_enregistrement;

Loop

For C in

(Select Field1, Field2, field3

From my_table

where field1 =: datablock_1.field1 and

Orden =: datablock_1.orden

order of Field2)

Loop

: datablock_2.field1: = c.field1;

: datablock_2.field2: = c.field2;

: datablock_2.field3: = c.field3;

Exit;

End loop;

When the output: System.Last_Record = "TRUE";

Next_Record;

End loop;

Premier_enregistrement;

End;

This should not work at all - I'm surprised that you said it's pulling on a single line of data.

The WHEN-VALIDATE-ITEM trigger does not procedures restricted such as premier_enregistrement, NEXT_RECORD, etc... I think so it would throw an exception as soon as this logic is executed.

What exactly are you trying to do?

Are you trying to fill in the data in your second block of data based on data in the first block?  If so, the user presses a button to insert this magic?  If they did, then I put the logic in this button because a trigger BUTTON WHEN PRESSED will allow restricted procedures.  You must also add a GO_BLOCK ('DATABLOCK_2'); between BEGIN and premier_enregistrement; just to make sure that you are a loop in the correct block.  I feel that you are always sitting in DATABLOCK_1 which don't have record 1.

You can also delete the END_LOOP LOOP and EXIT, since nearly three: datablock_2 statements because they are unnecessary.

Tags: Oracle Development

Similar Questions

  • Form data not shown unless the cursor in the field

    .PDF with the form filled in will not display or print form data when open with Windows and Reader 8.1.

    Display and print are OK on Mac OS X with Reader or preview.

    other files created and downloaded from the web site even did not have this problem.

    File transferred as a piece attached and copied by react "sneaker net" the same on several PC.

    move the cursor to any field filled shows data only when the cursor is in the field.

    Opening a PDF form in preview it corrupts and causes the behaivour you describe. You can correct the form using this tool:

    http://blog.practicalpdf.com/2013/08/introducing-the-practicalpdf-fix-form-utility/

    In the future, avoid using Preview if it is possible.

  • create form to load data to mysql with a logic of file download option

    Hello

    I have a question of logic:

    I was trying to create a form to upload data to mysql with a download of optional file (for a photo).

    The logic that I'm struggling with is that I can not understand how to deal with a failed validation. I can upload a photo to mysql with data (personal information) if the validation is ok. This part works fine. What does not work is I can't wrap my head around how code if lets say that the image is too big or bad format.  As I am I eventually save personal info and set a warning message that tells the user that there was a problem loading the file.  Let's say that the user wants to try again with the right type of file this time. the form won't let him try again because it would create a duplicate of the same user.  Should I code another query below my code that find the tis user and update the image instead? What is the best logic to process the download errors during the data already stored on mysql?

    I use the following to get rid of the spaces and symbols from the file names:

    ([preg_replace (' #[\s\&\@\#\$\%\(\)------[\] \ &] #', ", $imagename);

    I also use strtolower() change all characters to lowercase.

    My actual code would not help you because I use a PHP class to handle downloads.

    It's also a good idea to check the spirit of mime typesh FILEINFO_MIME_TYPE

    If your form processing is on the same page as the form (usually it would be at the top), what you can do is, after the insertion of the record, have the database to return the new identification number. Something like:

    $employee_id = mysqli_insert_id ($connection);

    Then you may have a hidden field in your form for the employee id:

    Then, when the form is displayed, check to see if $employee_id has a value and use an if/else statement to decide whether to INSERT or update.

    If (is_numeric($_REQUEST['employee_id']) {}

    UPDATE

    } else {}

    INSERT

    }

    For security on the data in the form, I use striptags() and bound parameters

  • DbDataAdapter and stored procedures with Oracle cursors,

    Because of the problems I've mentioned here ([PL/SQL stored procedure causes OracleException.. .but only sometimes | https://forums.oracle.com/forums/thread.jspa?threadID=2267290]), I am trying to replace a specific layer of data ODP.NET with the code that uses the related classes, independent provider and DbProviderFactory. Things seemed to go right up to the point where I'm trying to use a DbDataAdapter object to fill a DataSet. The stored procedure, I call looks like this...

    /* - - - - - - - - - - - - - - - - - - - - */
    PROCEDURE GET_SOME_DATA)
    IN_PARAM1 IN VARCHAR2,
    O_RESULTS TO SYS_REFCURSOR);
    /* - - - - - - - - - - - - - - - - - - - - */

    Normally, I could do something like this...

    /* - - - - - - - - - - - - - - - - - - - - */
    var adapter = new OracleDataAdapter (cmd);
    adapter. Fill (ds, cmd (OracleRefCursor). Parameters [1]. (Value);
    /* - - - - - - - - - - - - - - - - - - - - */

    .. .but that is not possible when you use DbProviderFactories since there is no equivalent of the Ref Cursor. I can use a DbDataAdapter instead of an OracleDataAdapter object, but I can't understand how to fill it with the cursor. All the examples I've seen (even the specific Oracle ones) seem to assume one is writing queries like "SELECT FOO FROM BAR" or something like that.

    Am I going about this all wrong? Or is it simply not possible to use a DbDataAdapter to fill a DataSet like this? I was really hoping to be able to use the provider-independent code I could use the System.Data.OracleClient provider with my 9i database and then switch to the Oracle. DataAccess.Client once we have upgrade to 11g. Looks like I'll have to completely replace the data layer code and references. I knew that the former was necessary, but I hope this could be managed by interfaces of independent provider with concrete implementation changed via the config and/or my IoC container.

    NOTE: I found this thread in the forums, but the posters to stop before the point at which they return the sliders and make use of them: [ODP.Net Ref Cursor and DbProviderFactory | https://forums.oracle.com/forums/thread.jspa?messageID=1278007]

    Thank you!

    I did yesterday a similar thing.

    The code was specific ODP.NET (that always, it is and should be), but I didn't rely on a reference to Oracle.DataAccess directly in my particular case:

    The code I ended up with is not very pretty, but it works.

    var refCursorType = Enum.Parse (((dynamic) plant.)) CreateParameter()). OracleDbType.GetType (), "RefCursor");
    dynamic oracleParameter4 = factory. CreateParameter();
    oracleParameter4.Direction = ParameterDirection.Output;
    var piInstance = oracleParameter4.GetType (). GetProperty ("OracleDbType");
    piInstance.SetValue (oracleParameter4, refCursorType, null);

  • Data is displayed when the cursor in the field, disappears when the cursor leaves the field

    I was given a simple Acrobat form with the data already present in the fields.  Even if the form field property is Visible on all fields, the data are visible when the cursor is on the ground.  As soon as the cursor leaves a field, the data disappear.  When I print the PDF, the data do not appear.

    I noticed that if I change the value of the field (e.g., add a period at the end), then the value disappears more.

    Anyone know why that would happen?

    Thanks in advance.

    Alice

    This is the appearance.

  • Satellite L550 - black screen with mobile cursor on startup

    Hello world

    I have a Win7 of Toshiba Satellite Pro l550-17u with a startup problem, black screen with a cursor, but not going beyond.

    Tried to reset the default values on initial F2 menu configuration
    Tried to boot in safe mode and the safe mode with networking
    I tried Repair computer option
    Tried the restore advanced user
    Tried to load the recovery disk
    Tried to boot the laptop directly from the disc
    Tried to remove the battery, but made no difference

    When I get the white screen with the cursor, I tried a few things mentioned.
    Ctrl + alt + delete to get the Task Manager, but nothing.
    Pushin' Win + R to open the Run dialog box, but it does not work.
    Click on SHIFT 5 times quickly to get ticky key opened to get to the Control Panel, but it did not work for me.

    Last night did not turn on my laptop turned off but when opened I received a message that my system has recovered from a serious error, you click on close and then it turned off my laptop had this problem since.

    Next step i think I can reinstall the memory but don't really want to start taking it to bits.

    I also have a large amount of data I really want out of the hard drive. any suggestions?

    Any help or suggestions much appreciated

    Hello

    To be honest, for me it looks like a Windows problem. Maybe something messed with the registry and Windows can start t more

    I think that you must restore windows recovery disk Toshiba you wrote that you have tried to load the restore disc but what happened after that? Can start the installation of recovery? If so, you should do this.

    Backup, you can do if you buy an external HARD drive enclosure. Remove the HARD drive and install in the case of HARD drive. Now you can connect to another computer.

  • Satellite L510 shows white screen with a cursor frozen only

    {color: #000000} After turning on my Toshiba Satellite L510 the splash screen displays an image, then the pass empty with a cursor frozen in the upper left corner.
    I am currently using Windows 7, but the computer will not load in front of the start screen.

    I tried to reboot using the F8, safe mode key, but no response from the computer.
    I tried to restart using the "F2", but no response from the computer.
    I tried to reboot with F12, but no response from the computer.
    I tried to use tips from Toshiba Support page, but no response from the computer.
    I also tried Ubuntu to start loading system, but there is no response from the computer.

    Because there is some personal information on the hard drive that has not been saved, I hesitate to do a system restore in the fear of losing all my data.

    Someone had similar problems recently?
    Anyone has a good solution to retrieve my personal files and restore the computer to a good working order?
    Thank you in advance.

    Kind regards
    Beautiful {color}

    Hey Buddy,

    I think that you can't do anything more. In my opinion, you did everything write and now it s time for professional help because it seems to be a malfunction of equipment that should be checked to a service center.

    You should contact the guy and ask for help. I think that everything can be clarified with them.

    In addition, you can access data from another PC. You only need an external HARD drive enclosure that creates an external HARD drive.
    And maybe you can keep the HARD drive at home if the service center don t need.

  • black screen on startup with active cursor

    I have an old Dell Dimension 3000 has a processor Celeron, 512 MB RAM and was purchased in 04.  Despite his age, he has been a good PC and is mainly a backup unit when the main PC is used by my wife. Recently in November 2011 I lit it and as usual, Microsoft has had an update for me to download if I choose to. I downloaded the update, (can't tell you what update) and restart my PC.  The next time I turned it on I got the Dell splash screen and the Microsoft logo screen then black screen with a cursor active.  After reboot, I hit F12 and chose something like "go to last good known configuration" with the same black screen thereafter.  I kept rebooting and some so chose an option "Repair or r", and after that he went by the disk check and the areas I was once again on the black screen.  I then found my original installation disk and tried to start out with the same as before resutls... black screen.  I forgot to mention that Safe Mode does not work, I rebooted with no media in the CD drive, and I'm at a standstill.  Does anyone have the answers to my problem?  Thanks in advance for all your help.

    Wayne

    It's a shame, that we do not know what update it was!

    Do you have to manually download and install updates or use automatic updates? If the latter, which is enabled:
    Automatic
    Download updates for me, but let me choose when to install them
    Notify me but don't automatically download or install
    For later use, as a general rule, you must install ONLY the updates critical or high priority. Installation software optional or made optional hardware update can be risky! (There are some exceptions to the optional software, for example, root certificates update.)
    You can try different methods to repair your installation, but if you can simply perform a system restore, which should solve the problem fairly quickly. Then simply determine what updates (remember: only critical or priority!) you still need.
    I don't know if SR work because you are having problems to start in Normal Mode. If you're lucky, you'll be able to boot mode safe mode with command prompt. If you do this, follow these instructions:
    Choose the date before the updates (15 November?).
    If you can not do the above, then post back for tips on how to use your Dell XP 'relocation' of brand CD CAREFULLY. You don't want to do something drastic like reinstall Windows!
  • my laptop with vista booted up and I get a blank screen with a cursor that I can move.

    I have a PC Toshiba laptop with vista.  Everything worked well until one day he started upward and I get a blank screen with a cursor that I can move.

    I tried all modes of security with no luck.
    I noticed that when it starts in safe mode it will stop on windows/system32/drivers/crcdsk.sys every time.
    I did some research and found people have had the same problem and solved with a running repair disk, I did not.  Is there a fix I can do without the disc?
    Thanks for the help in advance

    I solved my problem.

    My problem is that some how I lost my video drivers, so I used hirens boot cd to get and discovered was my drivers were in the files and restored to an earlier date.
    Once it happened I restarted and again, I got a screen.
    I'm not sure how the drivers has been removed, but I ran virus checks and malware on my computer did not
    But its been fixed.  I was afraid that I would have to rebuild and go through the hassle to move my files and rebuild it but glad I do not have
    Thanks for all the help
  • Help, please! black screen with blinking cursor...

    my screen said to check the file system on D the type of file system is NTFS volume lable in recovery, one of your disks needs to be checked for consistency.  You can cancel the disk check, but it is strongly recommended that you continue. Window to check the disk, then there a blue screen that says it was shut down to avoid damage and that a crucial thread in the system operation is released or terminated and to check the hardware or software that can be installed properly, then he did a crashdump and completed it. then he went to a black screen with a cursor of Charlotte on top and that's all he does now when I turn on the right after Gateway logo, he goes to this black screen with blinking cursor. What anddo which has happened, I hope or is this a lost cause? Help, please!

    Hello

    No saving necessary data and re-installing Windows Vista might be the best option, but here
    are a few others.

    You can save your files by putting the drive in another computer as a 2nd disk (best) or external
    Drive USB enclosure and then backup to removable media such as CD, DVD or other USB drives.
    Of course a real store of the computer or the manufacturer of your system can help to recover the files.

    Or you can use a boot Ubuntu CD to back up data.

    Use Ubuntu Live CD to backup files from your Windows computer dead
    http://www.howtogeek.com/HOWTO/Windows-Vista/use-Ubuntu-Live-CD-to-backup-files-from-your-dead-Windows-computer

    --------------------------------------------------------------

    You can access Mode safe? Repeatedly press F8 as you start? If yes you can try Control Panel - device
    Manager - graphics card - Double click on - driver tab - click on UPDATE driver - then right click
    on devices and UNINSTALL - REBOOT.

    A method to try to get to the desktop (try in normal Windows Mode without failure) is CTRL +.
    ALT + DELETE - Manager tasks and tab process EXPLORER.exe and COMPLETE the PROCESS on this subject - and then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is available by
    repeatedly tapping F8 as you start. CTRL + SHIFT + ESC also begins the Task Manager.

    First check this thread in case it is simple and if not to come back to this thread.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/50247d5e-0ae0-446c-A1bd-11287fd1478a

    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.

    http://www.Google.com/search?hl=en&q=black+screen+of+death+Vista&btnG=search&AQ=f&OQ=&AQI=G1

    Here's another fix
    http://blogs.PCMag.com/SecurityWatch/2008/12/the_mysterious_black_screen_of.php

    You have a Vista disk? You can try restoring the system to it. If you don't have the disks your
    system manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can create a recovery disc or use someone even version (making the system restore it)
    must be bootable).

    How to create a Vista recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

    ------------------------------------------------

    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options and/or with a Vista disk
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    -----------------------------------------------

    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st
    http://www.Google.com/search?hl=en&source=HP&q=Vista+black+screen&AQ=f&OQ=&AQI=G10

    Vista black screen Solution
    http://www.Google.com/search?hl=en&q=Vista+black+screen+solution&AQ=f&OQ=&AQI

    Vista black screen Fix
    http://www.Google.com/search?hl=en&q=Vista+black+screen+fix&AQ=f&OQ=&AQI

    -----------------------------------------------

    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation
    (if all goes well, the data records and need to reinstall programs). Be sure to do a good backup or three.

    You can use another DVD that aren't copy protected but you you need to own
    Product key.

    On-site upgrade
    http://vistasupport.MVPs.org/repair_a_vista_installation_using_the_upgrade_option_of_the_vista_dvd.htm

    If nothing works, you can make a repair facility that must save the data but you will need to
    Reinstall the programs. This also requires correct Vista disks especially for OEM versions. You will be
    need to know your product Code.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-happened-to-the-recovery-console

    How to perform a repair for Vista Installation
    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    ---------------------------------------------------------------------------

    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (a line type or copy and paste one line at a time and hit enter - enter a bracket)
    or "BOLD")

    c:

    cd\

    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.

  • Windows fails to load. That it recharges on normal startup. Hangs on a black screen with a cursor in repair mode.

    I was in my class and hit the computer on the desk. I turned it and then turn it on again now, this problem occurs. It's a Toshiba, and Toshiba normal screen comes up and takes me to the screen "windows failed to load. When I choose to start windows normally, it hangs on the Green loading bar before you restart thereafter. I have it on the repair of the system right now, but he is suspended on a black screen with a cursor and nothing else.

    Hello

    Since then, he has been the "Crash test" the help of a computer store real (not the leeks and glances at a BestBuy
    or other BigBox stores) or the system manufacturer support is probably needed. The underlying problem is probably
    material and it is doubtful that all the efforts of software will work even if it is remotely possible.

    The problem may come from the damage or corruption of the hard drive for the next message will be directly related to
    This question.

    --------------------------------------------

    You can access Mode safe? Repeatedly press F8 as you start? If yes you can try Control Panel - device
    Manager - graphics card - Double click on - driver tab - click on UPDATE driver - then right click
    on devices and UNINSTALL - REBOOT.

    Another method to try to get to the desktop (try in normal Windows Mode without failure)
    CTRL + ALT + DELETE and on the tab process EXPLORER.exe and COMPLETE the PROCESS on this subject - then
    on the Applications tab - lower right - new task - type in EXPLORER.exe. Safe mode is reached
    by tapping F8 as you start several times.

    First check this thread in case it is simple and if not to come back to this thread.

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/50247d5e-0ae0-446c-A1bd-11287fd1478a

    Black screen problems are extremely difficult to repair and all patch is usually on a base hit or miss.
    That there is no information on a black screen as it is on a blue screen just adds to the
    Difficulty. Often using a restore point or Startup Repair will have no effect. You can try a
    Google to see the proposed repairs, whom some have worked however these cover a wide
    field efforts.

    Here's a video of one of them.

    http://www.Google.com/search?hl=en&q=black+screen+of+death+Vista&btnG=search&AQ=f&OQ=&AQI=G1

    Here's another fix
    http://blogs.PCMag.com/SecurityWatch/2008/12/the_mysterious_black_screen_of.php

    You have a Vista disk? You can try restoring the system to it. If you do not have your system disks
    manufacturer will sell them at low prices. Or try in safe mode if you can get there.

    How to make a Vista system restore
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    You can create a recovery disc or use someone even version (to do the system restore there only to)
    being bootable).

    How to create a Vista recovery disk
    http://www.Vistax64.com/tutorials/141820-create-recovery-disc.html

    ------------------------------------------------

    These require the correct Vista discs since you can not start safe mode.

    Try the Startup Repair tool-

    This tells you how to access the System Recovery Options and/or with a Vista disk
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    Try recovery options Startup Repair

    How to do a startup repair
    http://www.Vistax64.com/tutorials/91467-startup-repair.html

    -----------------------------------------------

    Here are a few Google searches where many have found different solutions:

    Vista black screen - check that a 1st
    http://www.Google.com/search?hl=en&source=HP&q=Vista+black+screen&AQ=f&OQ=&AQI=G10

    Vista black screen Solution
    http://www.Google.com/search?hl=en&q=Vista+black+screen+solution&AQ=f&OQ=&AQI

    Vista black screen Fix
    http://www.Google.com/search?hl=en&q=Vista+black+screen+fix&AQ=f&OQ=&AQI

    -----------------------------------------------

    If necessary and you can access all ordinary Windows.

    You can try an In-Place Upgrade (hopefully save programs and data) or a repair installation (if all goes well
    saves the data, and you need to reinstall the programs). Be sure to do a good backup or three.

    You can use another DVD that are not protected but you will need to copy you have the product key.

    On-site upgrade
    http://vistasupport.MVPs.org/repair_a_vista_installation_using_the_upgrade_option_of_the_vista_dvd.htm

    If nothing works, you can make a repair facility that must save the data but you will need to
    Reinstall the programs. This also requires correct Vista disks especially for OEM versions. You will be
    need to know your product Code.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    How to perform a repair for Vista Installation
    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    ---------------------------------------------------------------------------

    Another method that works sometimes: at the command prompt, type of Vista startup disk:
    (type in a single line or copy / paste a line at a time and then press enter - type no parenthesis)
    or "BOLD"
    )

    c:

    cd\

    CD c:\Windows\System32\winevt (there is a space between cd and C :)

    Ren LogsOLD Logs (there are spaces between ren and newspapers and Logsold)

    RESTART Windows

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • changing value of text with the cursor

    Hi you all

    I need a help from your side

    I have created a slider and change the size of the listview text with the cursor

    Here is my code

     Slider {
                           id: slider
                            fromValue: 8.0
                            toValue: 16.0
                            value: 8.0
                            layoutProperties: StackLayoutProperties {
                                spaceQuota: 0.1
                            }
                            preferredWidth: 200.0
                            maxWidth: 250.0
                            preferredHeight: 20.0
                            visible: true
                            enabled: false
                            horizontalAlignment: HorizontalAlignment.Center
                   onImmediateValueChanged: {
    
    // descriptionText is the id of label
              descriptionText.textStyle.fontSize = FontSize.PointValue
               descriptionText.textStyle.fontSizeValue = immediateValue
                            }
    
                        }
    
    /***********************************************************************//
    i am adding data to listview using remote source
    
      Container {
                id: listviewContainer
    
                layout: StackLayout {
    
                }
                ListView {
                    id: myListView1
                    dataModel: dataModel1
                    //{
                    //  source: "asset:///models/xmldata.xml"
                    //      }
    
                    // Use a ListItemComponent to determine which property in the
                    // data model is displayed for each list item
                    listItemComponents: [
                        ListItemComponent {
                            type: "item"
                            Container {
                                rightPadding: 20
                                leftPadding: 20
                                horizontalAlignment: HorizontalAlignment.Center
                                verticalAlignment: VerticalAlignment.Center
                                layout: StackLayout {
                                    orientation: LayoutOrientation.TopToBottom
    
                                }
    
                                Container {
                                    topPadding: 40
    
                                    horizontalAlignment: HorizontalAlignment.Fill
    
                                    layout: DockLayout {
    
                                    }
                                    // The Item content container
                                    Container {
    
                                        verticalAlignment: VerticalAlignment.Top
                                        horizontalAlignment: HorizontalAlignment.Right
                                        layout: StackLayout {
                                            orientation: LayoutOrientation.RightToLeft
    
                                        }
    
                                    }
    
                                }
    
                                // Description text label
                                Label {
                                    id: descriptionText
                                 //
                               //     objectName: descriptionText
                                    //  leftMargin: 20
                                    horizontalAlignment: HorizontalAlignment.Right
                                    verticalAlignment: VerticalAlignment.Top
                                    text : ListItemData.des
                                    textStyle.color: Color.create("#868686")
                                    textStyle.textAlign: TextAlign.Justify
                                    multiline: true
                                    textFormat: TextFormat.Plain
                                    textStyle.fontSizeValue: 8.0
                                }
    
                        }
    
                    }
            ]
    
        }
    
        attachedObjects: [
            GroupDataModel {
                id: dataModel1
    
                // Sort the data in the data model by the "pubDate" field, in
                // descending order, without any automatic grouping
                sortingKeys: [ "date" ] //[ "pubDate" ]
                sortedAscending: false
                grouping: ItemGrouping.None
            },
            DataSource {
                id: dataSource1
                objectName: ""
                // Load the XML data from a remote data source, specifying that the
                // "item" data items should be loaded
                source:"http://10.121.10.139/simplehtmldom/getdescnews.php?newsid="+dataSource1.objectName
    
                query: "/news/property/"
                type: DataSourceType.Xml
    
                onDataLoaded: {
                    // After the data is loaded, clear any existing items in the data
                    // model and populate it with the new data
                    dataModel1.clear();
                    dataModel1.insert(data)
                    myIndicator12321.setRunning(false);
                    myIndicator12321.setVisible(false);
                    //      dataModel.insert(data)
    
                }
    
                    }
        ]
    }
    
    // in the end i am calling on creating complete
    
    onCreationCompleted: {
            // When the top-level Page is created, direct the data source to start
            // loading data
            dataSource1.load();
        }
    

    problem I am facing is, it does not find the descriptionText variable, which is the id of the label

    can someone help?

    OK, the problem is that listItemComponents attached to a control, such as ListView have their own context. ListItemComponent documentation refers to what I think. If you must do the following:

    1. do you have a property that is defined as an attribute of the ListView

    2 bind your fontSizeValue to listItemComponent tag to the ListView. Note, however, to do this, you need to get a reference to the ListView using your label ListItem.view is found in the container. Not obvious, I know.

    3. do you have your cursor to update the property you have defined for the ListView.

    Cursor---> p_font_size ListView property<---------->

    Like this:

    {To ListView
    ID: myListView1
    property real p_font_size: 10

     

    listItemComponents:]
    {ListItemComponent}
    type: 'point '.
    ID: sample

    {Of container
    ID: mainListViewContainer

    {Label
    ID: descriptionText

    ..........
    textStyle.fontSize: FontSize.PointValue
    textStyle.fontSizeValue: mainListViewContainer.ListItem.view.p_font_size

    }

    and elsewhere on your page

    Slider {}
    ID: slider

    fromValue: 8.0
    toValue: 16.0
    value: 8.0
    layoutProperties: {StackLayoutProperties}
    spaceQuota: 0.1
    }
    preferredWidth: 200.0
    maxWidth: 250,0
    preferredHeight: 20.0
    visible: true
    enabled: true
    horizontalAlignment: P

    onImmediateValueChanged: {}
    myListView1.p_font_size = immediateValue
    }
    }

    I test it and it works. Please make this response as the solution if it works for you too :-)

  • After a black screen with a cursor, the performed system restore, now cannot open programs, USB drive

    Original title: Windows 7 Home Edition

    Yesterday, my pc only has a black screen with a cursor. I tried to restore on another point but then after starting upwards and put my password, I get the home screen but cannot open any programs. I can't use the USB stick or cd / dvd drive so how should proceed to solve this? I can't put my external modem to make a back up and I really want to fix this without losing all the data on my pc. I can run programs in safe mode and windows installation disc opens in SafeMode as well, however I can't set safe mode.

    Boot from the Windows 7 DVD
    Click Install now
    Accept the license agreement
    When the option is displayed to select a type of installation, click (Custom advanced)

    Select the disk partition where you want to install Windows 7 click Next.

    You will receive the following warning:

    The partition you have selected may contain files from a previous Installation of Windows. If so, these files and folders will be moved to a folder named Windows.old. You will be able to access the information in Windows.old, but you will be able to use your previous version of Windows.

    (At all costs, do NOT click on anything in Format, deletion or Partition name.) So even do a custom installation, your personal files are still kept. Click OK

    The installation program will now begin installation. During installation, your computer will be restarted several times.

    Once the installation is complete, you can complete the Out of Box experience as the choice of your laptop, create a username, password, your time zone. You can then proceed to download the latest updates for Windows and reinstall your applications and drivers.

    You can then retrieve your personal files from the Windows.old folder and reinstall all of your applications and drivers.

    http://notebooks.com/2010/11/09/how-to-recover-documents-music-and-email-after-upgrading-with-the-Windows-old-folder/

  • Move the data recordset onLoad to the field to form (ASP)

    Hello

    I have an ASP page classic as querys a SQL database using Request.QueryString and poster then a page data in a repeating table.

    Do I have to do is request a second database (which may not be joined in a SQL query) passing the data of a recordset object to a form field onLoad.

    Is it achievable?

    Dreamweaver has fallen classic ASP in favour for a long time, so there are not likely to make a lot of people with the knowledge to help you here. You might do better in an ASP forum or in the corner of coding forum.

  • SQL procedure does not work with 'current cursor' Oracle 11 g

    Hi all
    I've written a procedure that should update all rows for a single column on a given table.
    Here is the code:

    CREATE OR REPLACE PROCEDURE "xxx". "" loop_update_autowert_x ".
    (
    number of startwert
    column_name VARCHAR2,
    table_name varchar2
    )
    AS

    stmt varchar2 (2000);
    stmt2 varchar2 (2000);
    number of zaehler;
    number of sum_gesamt;
    TYPE obj_ref_type IS REF CURSOR;
    obj_cur obj_ref_type;
    Start
    stmt2: = ' select rownum, rowid of | table_name | "for update";
    Obj_cur OPEN FOR stmt2;
    dbms_output. Enable (1000000);
    dbms_output.put_line (' ist Startwert: ' | startwert);
    dbms_output.put_line (' ist column name: ' | column_name);
    dbms_output.put_line (' ist Table name: ' | table_name);
    loop
    extract the obj_cur in zaehler, my_rowid;
    exit WHEN obj_cur % NOTFOUND;
    sum_gesamt: = zaehler + startwert;
    stmt: = "update". table_name | 'set ' | column_name | ' = ' || sum_gesamt | "WHERE the current of obj_cur";
    dbms_output.put_line (stmt);
    immediately execute stmt;
    end loop;
    close obj_cur;
    end;

    the error I get is:
    Anmeldung bei der data base Oracle Test2.
    ORA-03001: Funktion nicht solution
    ORA-06512: in "xxx.loop_update_autowert_x", line 29
    ORA-06512: In line 10
    Startwert ist: 5
    Column name ist: one
    Table Name is: T
    Update T set a = 6 WHERE the currents of obj_cur
    Process finished.
    Abmeldung von der data base Oracle Test2.

    have anyone an idea what is wrong or this construction with the clause "cursor open for the statement" is not possible with the current cursor location

    thx for help
    Best regards
    Hans-Peter

    When informed of the cursor works with static cursors and static sql only.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • How to print only the text selected on a Web page and not the whole page?

    After you have selected a segment of a web page for printing, I go to the icon for printing and that clears the selection, leaving only the whole page as the selection to print.

  • Where is the "password Assistant"?

    I saw the reference to the Password Wizard in advertising for OSX. I don't know where it is located, and do a "Mac Help" search shows nothing about it.

  • Windows 7 ultimate upgrade windows 8.1 says error 0 x 101-0 x 20017.

    Hello I'm trying to upgrade to 8.1 Windows windows 7 ultimate. I had downloaded windows 8.1 Microsoft site and it's quite official. Then I burned the disk and when I tried for the first time that it worked without problem, but for some reason, I had

  • Sound comes from my speakers, even when the computer is in standby.

    All of a sudden, a broadcast said coming through my speakers. He periodically comes and stops and comes back a few minutes later. It seems to talk about the movie stars and what they are doing.  It lights when the computer is on the opening screen an

  • loop slider

    Hi allNice dayI am very thank you for helping me for allI write code for re filling some data for student to new sit_numberI write this code but get the first record onlyand I need to repeat the process until all the data retrieveddeclarev_NUMBERS_SI