Form does not display all records from table

Hi guys
I modified one form that was based on a signle DB table. I removed certain fields from the table and added some extra fields to that table. Then based on the new table I also modified the form and removed the text items related to old fields in the table and added new text items pointing to the new fields now. II have checked all the new items properties and they have don't seem to be wrong or so. But now the problem is the form does not display all the records from the table. before it used to display all records from the table when qureied but not now. It only certain records from the table containing all new data and also old data but the form does not display other records though I don't see any obvious discrepancy. Remember that the before doing the modifications, I have table back for the old, created another table that contained new records for the new fields, and then I inserted the old records and updated the new table data in the new table with these new table values. So this way I have got my new table. Could someone help why the new modified form fails to display all records from the new table updated table though it display some of them successfully.
Any help will be appreciated.
Thanks

hi
Set the block property of "Query All Records" to "YES"
hope it will work.
Faisal

Similar Messages

  • Form does not show "new" records from SQL Database

    I have a PDF form that pulls data from a SQL Server.  The fields in
    the PDF are populated from the database after selecting a specific
    record from a drop down and then clicking on a button labeled "Fill".
    The problem is that the dropdown does not display new records that
    have been recently added to the database.  I have to open the form up
    in designer then save it, (*note - I change nothing at this point.)
    Then when the form is opened back up in Adobe the dropdown show all
    the records including the new ones.  I even put a manual refresh on
    form to try and fix this an it did not help. Seriously stumped.
    Any help is greatly appreciated.
    Here is my code for the dropdown.
    ++++++++++++++++++++++++++++
    topmostSubform.Page1.JobSelect::initialize - (JavaScript, client)
    var sDataConnectionName = "BBCC"; // example - var sDataConnectionName
    = "Test";
    var sColHiddenValue = "ContractAdmin_Key"; // example - var
    sColHiddenValue = "Dept_ID";
    var sColDisplayText = "JobDescription"; // example - var
    sColDisplayText = "Dept_ID"
    // Search for sourceSet node which matchs the DataConnection name
    var nIndex = 0;
    while(xfa.sourceSet.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    var oDB = xfa.sourceSet.nodes.item(nIndex);
    oDB.open();
    oDB.first();
    // Search node with the class name "command"
    var nDBIndex = 0;
    while(oDB.nodes.item(nDBIndex).className != "command")
    nDBIndex++;
    // Backup the original settings before assigning BOF and EOF to stay
    var sBOFBackup =
    oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("bofAction");
    var sEOFBackup =
    oDB.nodes.item(nDBIndex).query.recordSet.getAttribute("eofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayBOF",
    "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute("stayEOF",
    "eofAction");
    // Clear the list
    this.clearItems();
    // Search for the record node with the matching Data Connection name
    nIndex = 0;
    while(xfa.record.nodes.item(nIndex).name != sDataConnectionName)
    nIndex++;
    var oRecord = xfa.record.nodes.item(nIndex);
    // Find the value node
    var oValueNode = null;
    var oTextNode = null;
    for(var nColIndex = 0; nColIndex < oRecord.nodes.length; nColIndex++)
    { if(oRecord.nodes.item(nColIndex).name == sColHiddenValue)
    { oValueNode = oRecord.nodes.item(nColIndex); } else
    if(oRecord.nodes.item(nColIndex).name == sColDisplayText) { oTextNode
    = oRecord.nodes.item(nColIndex); } }
    while(!oDB.isEOF())
      this.addItem(oTextNode.value, oValueNode.value);
       oDB.next();
    // Restore the original settings
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sBOFBackup,
    "bofAction");
    oDB.nodes.item(nDBIndex).query.recordSet.setAttribute(sEOFBackup,
    "eofAction");
    // Close connection
    oDB.close();
    ++++++++++++++++++++++
    Here is code for the refresh button
    +++++++++++++++++++++
    topmostSubform.Page1.Button27::click - (JavaScript, client)
    sourceSet.BBCC.requery();
    +++++++++++++++++++++

    pguerett wrote:
    The other thing that might be happening is a refresh issue on the DropDownList. Try adding the command xfa.layout.relayout() after the database connection has been closed.
    Paul
    Good catch Paul!  Would you believe that I have been trying to get this resolved for almost two years! Works perfect now.
    Thank you,
      - Eric

  • Incomplete Data on report (report does not show all records from the table)

    Hello,
    I have problem with CR XI, I'm running the same report on the same data with simple select all records from the table (no sorting, no grouping, no filters)
    Sometimes report shows me all records sometimes not. Mostly not all records on the report. When report incomplete sometimes it shows different number of records.
    I'm using CR XI runtime on Windows Server 2003
    Any help appreciated
    Thanks!

    Sorry Alexander. I missed the last line where you clearly say it is runtime.
    A few more questions:
    - Which CR SDK are you using? The Report Designer Component or the CR assemblies for .NET?
    - What is the exact version of CR you are using (from help | about)
    - What CR Service Pack are you on?
    And a troubleshooting suggestion:
    Since this works on some machines, it will be a good idea to compare all the runtime (both CR and non CR) being loaded on a working and non working machines.
    Download the modules utility from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
    and follow the steps as described in this thread:
    https://forums.sdn.sap.com/click.jspa?searchID=18424085&messageID=6186767
    The download also includes instructions on how to use modules.
    Ludek

  • Insert statement does not insert all records from a partitioned table

    Hi
    I need to insert records in to a table from a partitioned table.I set up a job and to my surprise i found that the insert statement is not inserting all the records on the partitioned table.
    for example when i am using select statement on to a partitioned table
    it gives me 400 records but when i insert it gives me only 100 records.
    can anyone help in this matter.

    INSERT INTO TABLENAME(COLUMNS)
    (SELECT *
    FROM SCHEMA1.TABLENAME1
    JOIN SCHEMA2.TABLENAME2a
    ON CONDITION
    JOIN SCHEMA2.TABLENAME2 b
    ON CONDITION AND CONDITION
    WHERE CONDITION
    AND CONDITION
    AND CONDITION
    AND CONDITION
    AND (CONDITION
    HAVING SUM(COLUMN) > 0
    GROUP BY COLUMNS

  • DTP does not fetch all records from Source, fetches only records in First Data Package.

    Fellas,
    I have a scenario in my BW system, where I pull data from a source using a Direct Access DTP. (Does not extract from PSA, extracts from Source)
    The Source is a table from the Oracle DB and using a datasource and a Direct Access DTP, I pull data from this table into my BW Infocube.
    The DTP's package size has been set to 100,000 and whenever this load is triggered, a lot of data records from the source table are fetched in various Data packages. This has been working fine and works fine now as well.
    But, very rarely, the DTP fetches 100,000 records in the first data package and fails to pull the remaining data records from source.
    It ends, with this message "No more data records found" even though we have records waiting to be pulled. This DTP in the process chain does not even fail and continues to the next step with a "Green" Status.
    Have you faced a similar situation in any of your systems?  What is the cause?  How can this be fixed?
    Thanks in advance for your help.
    Cheers
    Shiva

    Hello Raman & KV,
    Thanks for your Suggestions.
    Unfortunately, I would not be able to implement any of your suggestions because, I m not allowed to change the DTP Settings.
    So, I m working on finding the root cause of this issue and came across a SAP Note - 1506944 - Only one package is always extracted during direct access , which says this is a Program Error.
    Hence, i m checking more with SAP on this and will share their insights once i hear back from them.
    Cheers
    Shiva

  • How to display all record from table?Please help

    I mean, if table has for example 5 records this5 records are displayed, if table has 100 records this 100 is displayed. If there are many records which are not visible in the window the scroll is added to window or to canvas that i could see them all.
    And one more, i want to separate each record with some separator like line or picture.
    TIA

    You can increase the space between each record by setting the Distance Between Records property for each item.
    If you want "sth like line" tnh u cn uz a nndtbs itm wiv 2 pxl hi plcd blw teh ovr itms. Alternatively, if you can write proper English, then for the separator you can use a non-database item 2 pixels high placed below the other items. Set the bevel, colour etc as you require, and set the Enabled property to false.
    As an alternative, to make each record distinct from the next you could give each a different colour by creating a visual attribute, and setting the colour of each item on alternate rows with code similar to this, in the post-query trigger
    if mod(to_number(:system.trigger_record),2) != 0 then
         set_item_instance_property('block.item1',current_record,visual_attribute,'VA_ODD');
         set_item_instance_property('block.item2',current_record,visual_attribute,'VA_ODD');
         etc...
    end if;finished this bit after steve's post below...
    To hide unused records you could try putting the items on a stacked canvas and change the viewport and scrollbar heights depending on the number of records retrieved. This might work or it might give you an error about items being off-canvas.
    It looks like you're intending this to look like a blog's comments page so you'll probably have disabled inserts in the block and will be inserting new comments in some other fields. If not then there will be a problem if the user is on the last record and presses the down arrow or uses the 'Record > Insert' menu option, as this could put them on a record which is not visible on the form. You might be able to get round this by extending the height of the viewport in the key-crerec and key-nxtrec triggers (check for :system.last_record = 'TRUE'. Obviously, you'll need to resize the viewport when you delete records if that will leave fewer rows of data than there are rows of fields.

  • Display all records from 4 select list

    Hi,
    trying to associate 4 select list where i could display all records from a list linked to an other list.
    1./ Created an item for each select list
    P1_employee_name
    P1_departments
    P1_employee_type
    P1_locations
    2./Set both null and default values to '-1' for each item
    3./Associated these items to source columns in the Region:
    where employee_name=:P1_employee_name
    or :P1_employee_name ='-1'
    and departments=:P1_departments
    or :P1_departments ='-1'
    and ......
    When running the report, couldn't display all records from a given list associated to an other list.
    e.g: Display all emp and type of emp for sales dept in Paris.
    Thks for your help

    I believe the issue is that you need to group your predicates such as:
    where (employee_name=:P1_employee_name
    or :P1_employee_name ='-1')
    and
    (departments=:P1_departments
    or :P1_departments ='-1')
    Also, if you are not already using the "select list with submit" type items, these work great for this case as the page will be submitted when the user changes the value of employeenam and the report will then reflect this change.

  • Query not displaying all records when execute it first tme

    Hello,
    i have an issue with the WEBI report.when i run  the report first time it's displaying only few records, but when i run the same report second time it's displaying the more records and it's correct.
    Could any one tell me why it's not displaying all records when i execute first time.
    Thanks in advance for your help.
    Regards,
    Prathap

    Which BOBJ version do you use?
    Which kind of data source are you retrieving data from?
    Regards,
    Stratos

  • Finder does not show all files from NAS

    Hi there
    I have a NAS attached to my mini where music, ... is stored. I can access it from both the mac as well as a PC.
    for some reason the mac finder does not display all the files in the directory even though the files are there (i can see and open them when accessing the NAS through the PC). at the moment I only see this happen in a folder that contains video (mpg) files and some event must have triggered this strange behaviour because I could play the file sometime ago without problem.
    also, some of the files are shown as a folder than a file in the finder. E.g. a clip called last_holiday.mpg would show as a folder (when you open it it is empty) rather than a video file.
    I have tried to re-mount the share, but this has no effect.
    Is this a bug or is there some wrong setting?
    thanks for any help,
    Chris

    I have this same problem with mounted DAV server folders. I can see the files via Windows and other DAV clients -- just not via Finder. Moreover, it does not apply to all files: some of them do show up. And, it does not happen all of the time: just occasionally.

  • I have just installed iPhoto 11 and all of photos on my iphone have now all disappeared and ended up in my photo stream and the library in iphoto does not display all my pictures?? Can anyone help?

    I have just installed iPhoto 11 and all of photos on my iphone have now all disappeared and ended up in my photo stream and the library in iphoto does not display all my pictures?? Can anyone help?

    And I cant work out why all of my pictures are not diplaying in iphoto?
    Is this iPhoto on your Mac?  Are you referring to the photos that were in your iPhoto LIbrary prior to the upgrade to iPhoto 11?  If so then apply the two fixes below in order as needed:
    Fix #1
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - run Option #4 to rebuild the database.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button and select the library you want to add in the selection window..
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    If that's not what you're referring to then you should describe what is happening in more detail. Remember we can't see your Mac or your iPhone so need detailed and accurate descriptions of what you're experiencing.
    Also we need infomartion like do you have an iCloud account and are you logged into it on all of your devices, iPhoto and Mac? do you have Photo Stream enabled on both.
    OT

  • Photo App does not display all photos

    Running iOS 7.0.4 on an iPhone 4S. The new Photo App does not display all photos properly. All photos show up as thumbnails. However, when you tap on some of them, only a blank page is displayed. The rest is fine. This issue started after the upgrade to iOS 7. Is this a bug? Hardware-related?

    Upon closer inspection it appears that the missing photos are in a folder called IPhoto Library.  This folder is greyed out when I choose the import folder.
    When I use 'show package contents' it reveals the missing photos (below).  Why is my iphoto library so scrambled!  Thanks for any insight.

  • Ipad contacts not displaying all fields from mac address book, ipad contacts not displaying all fields from mac address book

    After syncing mac address book to ipad contacts, the ipad does not display all the fields that were in Mac address book (in my case all the email addresses).  Anyone have a fix?

    I have a problem similar to DeeRun's.. I would like the IM fields to be synced.. I use them to send e-mails to when the e-mail field is empty or when i just want to use that specific address.. Very annoying, would take hours if not days to transfer all those IM adresses to e-mail fields in addressbook..
    EDIT: not to mention the mess it would make in my address book!
    Message was edited by: 1NStanley

  • ASDM - does not display all the rules

    Hello,
    we replaced our PIX525 firewall with an ASA 5540 firewall, and now we see some strange behavior in ASDM.
    ASDM does not display all the rules, but i see all all the rules in cli.
    What can be the problem?
    inside-asa# show ver
    Cisco Adaptive Security Appliance Software Version 8.2(5)
    Device Manager Version 6.4(5)

    Sure, i think we can manage that but i can only reply after one or two weeks ( change management ).
    But i thought that our ASDM version is OK with this ASA version, see the link,
    http://www.cisco.com/en/US/docs/security/asa/asa82/release/notes/asarn82.html#wp309157
    Thank you for you help.

  • Safari 3.2.1 for XP does not display all graphics properly

    Safari 3.2.1 for XP does not display all graphics properly, including the Apple Support Website http://www.apple.com/support/.

    Maybe this will also help:
    If your Safari won't open, one or more of the following procedures should fix it:
    1. Go to Home/Library/Safari/ folder and remove the following two files:
    • history.plist
    • lastsession.plist
    (Safari may not load properly If these two files are corrupted.)
    2. Go to Home/Library/Caches/Metadata/Safari/ and remove the contents of that folder.
    (These are just webhistory files and are not required for Safari to run. However, similar to preference files, problems can arise if they have become corrupt.)
    3. Locate the cookies.plist file that's located in the Home/Library/Cookies/ folder and remove it.
    (Again, faults in stored cookies may interfere with Safari's launch.)
    4. Check whether any of your third-party internet plug-ins may be interfering with the launch of Safari by carefully moving them to the desktop (do NOT delete them at this stage). You can find these in two places:
    Home/Library/Internet Plug-Ins/ folder, and Global plug-ins are located in the Macintosh HD/Library/Internet Plug-ins/ folder.
    Restart Safari and place them back in the correct folders, one at a time, closing and re-opening Safari each time. If you discover that one of them was causing the problem with launching Safari, trash it and download and install a fresh copy.

  • TS5148 Apple TV powers up but does not display all of a sudden. Tried all of the advice on this page to no avail. Any ideas?

    Apple TV powers up but does not display all of a sudden. Tried all of the advice on this page to no avail. Any ideas?

    Try resetting the SMC and PRAM
    Intel-based Macs: Resetting the System Management Controller (SMC)
    About NVRAM and PRAM
    However, I suspect you zapped the Mini, maybe the lower voltage part since you siad  the fan works.
    The power surge could have went into HDMI and damaged the TV.
    Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

Maybe you are looking for

  • Itunes installation doesnt work because of Quicktime

    I've had an ipod for a while, and then we switched to XP PRO for increased security. After sometime itunes stopped working. So my dad and i have used like every uninstaller and remover and some piece of quicktime is still somewhere on my computer. Wh

  • How to get interlinked systems

    Hello All, I have a requirement wherein I need to get technical info of all the systems that are linked in a particular landscape. Also I want to know in what direction and how are the transports being done from one system to another. For e.g. Say I

  • Safari always shutting down

    I really hope someone can help me. My Safari has been repeatedly crashing for the past few weeks and it is very frustrating to me. If someone can explain how I might fix it in simple terms (I am somewhat computer literate but not very) that would be

  • Need a good look feel in swing

    i am doing application in swing. how can i get professional look and feel. i need oval size of button kind of thing

  • 3000N100- Tray-Bluet​ooth-icon shows red 'B' - not sure how to fix it

    Hi,   Could some one please help me with any pointers or links to troubleshoot the Bluetooth-tray-icon on my Lenovo 3000N100? Currently it is showing a red "B" indicating a problem with the bluetooth. Unsure how to get it fixed/troubleshooted. Could