Enable data paging with parameters count() on new php function issue (BUG?)

I've got my app prototyped quickly with the default settings in Flex Builder 4.  Now I'm going back and adding/modifying features to polish the app off.
For this application I'm using PHP5 as the server side.
The data paging is really cool and simple to call using the default settings.  However, I'm running into issues with customizing the data paging feature.
This is the default header of the php function that was created for me:
public function getTblbrowserrecord_paged($startIndex, $numItems){...}
Instead of dumping all data back to the function I want to be able to search on certain fields so I created a new function called:
getTblbrowserrecord_search_paged ($szName, $szIP, $szRule, $szURL, $szDateLow, $szDateHigh, $szCode, $startIndex, $numItems  ) {...}
The new function is tested and operates as designed.
I set the input types of the variables and return type (Tblbrowserrecord[]) of the new function then went to enable data paging.  The first screen came up and asked me for the key to use which I selected.  The next screen came up and asked me for the number of records which I set to 100 then went to select the count operation.
I initially selected the automatically created count() function but it came up with the error " Count operation parameters should match the paged operation parameters list."
So I created another function to match the search function's parameter's list:
public function count_searched($szName, $szIP, $szRule, $szURL, $szDateLow, $szDateHigh, $szCode, $startIndex, $numItems)  {...}
But I still ge the error "Count operation parameters should match the paged operation parameters list."
But they DO match.  I looked at the default functions that were created by FB4 and noticed that the automatically generated function count() has no parameters and the paged function has the two functions $startIndex and $numItems which are not identical yet they work.  I tried removing those two fields from the count function but got the same results.
What am I doing wrong?
Thanks!

Nevermind... For some reason my FB4 is not updating correctly.  After removing the two control fields at the end of the list AND exiting the app/re-entering everything worked ok.  I've been having this issue a lot lately and am thinking that is is a bug of some sort?

Similar Messages

  • How do I put date along with time on my new iPad?

    I need to put date along with time on the top bar on my new I pad but just can't do it, need some help. Thank you in advance.

    Unless you can do it with a third party app - and I haven't seen one that will do it - you can't put the date at the top of the iPad. Those features are built into the iOS and there is no user setting to change or add anything to the time setting at the top.

  • Bulk SIP-Enable User Mailboxes with Parameters

    Currently, we have 400+ users on the network. Our requirement is to bulk sip enable in Lync 2013 and also add them to the policies (all staff have the same policies)..
    Have a CSV output with Display Name / Alias (Exported all User Mailboxes) and need to SIP enable the accounts with the below policies:
    Assign users to pool 'pr-pool'
    Telephony 'PC-to-PC only'
    Conferencing Policy 'Allow audio and video'
    External Access Policy 'User'
    I am testing my patience with powershell.. Need some help!!

    Take a look at Kenneth Peet's Lync Bulk User Enablement Tool: http://gallery.technet.microsoft.com/office/Lync-Bulk-User-Enablement-b60d1990
     or 
    http://gallery.technet.microsoft.com/office/Script-to-Enable-Users-and-f56306ed
    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

  • Filtering multiple-XML data model with parameters

    I have a data model that consists of a concatenation of 9 separate RSS feeds (weather information from 9 different cities coming from http://www.weather.gov/data/current_obs/????.xml, where ???? is the National Weather Service station ID). All of the feeds have exactly the same format. When I view the raw XML data, I see 9 different values of station_id and of every other tag. So the XML data looks fine. Now I'd like to be able to select one city at a time in an LOV dropdown.
    I've created a static LOV called Cities with the list of the 9 station ID's. I've created a parameter called city that is tied to that LOV.
    What I can't figure out is how to tie the selected city to the station_id field in the concatenated XML dataset.
    I've tied adding a parameter to each rss data set, entering each city's 4-character station ID into its Parameter Name field, and of course choosing city as the parameter. For example, the Parameters section for the Amarillo rss feed would show a Name of KAMA and a Value (Parameter) of city. While this seems logical, selecting the parameter on the View screen doesn't change the display.
    Is there a way to accomplish this?

    Ahhh, post as in "e-mail". DOH!
    E-mailed to you.

  • Multiple channel simultaneous data aquisition with 6601 counter

    Not concerning my primary question, I would like to point out to an N.I. Rep. that there is a typo in the help section concerning "posting a message".
    I have built a large format, two axis digitizer using linear encoders, a 6601 counter/timer, and labview 8. In building my application program, I  initially am using two daq assistants, with each set up to accomplish  the task of reading two encoders (2 channels) simultaneously. In doing some research, It has come to my attention, that with my current configuration, errors may result, due to one daq assistant attempting to access the cards driver while the other is acquiring data.  All attempts to get two channels working through a single daq assistant have resulted in an error message informing me that I can only have one task per counter.Thus far, I have not seen any noticeable errors, thought I would like to have this device "rock solid", as it will be used extensively.
    How can I get two channels working through one daq assistant?
    Is it possible, that I should have purchased  an "S" series board instead?
    Any help on this, is welcome!

    If you are using different counter channels for each assistant task, then you should not receive any errors.  It's not possible to get two counters working through the same assistant task.  This restriction would also apply to S Series boards as well, so you should be fine with your application.
    Please post again if you have any problems with this.
    gus....

  • Data paging with Flex and ASP Vb

    Can some help me with the (asp) code to get this working?
    With Regards, Dik

    quote:
    Originally posted by:
    theking_2
    Have a look at this:
    http://www.themidnightcoders.com/
    This is a Gateway to .NET heaven...
    Regards,
    Arthur
    Spam/Ad

  • Problem to create a link with parameters using a PL/SQL function body

    Hi everybody,
    I need some help to create a link on a SELECT statement.
    I have a region report with type "PL/SQL function body return SQL query".
    I would like to use a link using HTML tag <a href>.
    I know how to do the link, but I don't know to pass a parameters in <a href> statement.
    Always I tried it doesn't work well.
    My PL/SQL anonimous block is, (just with link) :
    DECLARE
    q vARCHAR2(4000);
    BEGIN
    q:='select     "INDICADOR"."NRINDICADOR" as "NRINDICADOR",';
    q:=q||'     "INDICADOR"."DSINDICADOR" as "DSINDICADOR",';
    q:=q||'''<span style="font-weight:bold;">';
    q:=q||'''||TO_CHAR("TOTAL_INDICADOR"."VL_INDICADOR", ''999G999G999G990D00'')||''</span>''';
    q:=q||' as "VL_INDICADOR",';
    q:=q||'     "TOTAL_INDICADOR"."VL_META" as "VL_META" ';
    q:=q||' from     "TOTAL_INDICADOR" "TOTAL_INDICADOR",';
    q:=q||'     "INDICADOR" "INDICADOR" ';
    q:=q||' where "INDICADOR"."NRINDICADOR"="TOTAL_INDICADOR"."NR_INDICADOR"';
    RETURN q;
    END;
    Thanks for any help,
    Alessandra

    Your code is in a default value for an item, right?
    You need to make sure :P33_YEAR is not null and handle the error in the PL/SQL if it is.
    How is P33_YEAR populated? do you pass it in? check to see if it is making it there..
    Message was edited by:
    Bill Carlisle

  • Paging with a SpryNestedXMLDataSet

    I have created a page that functions as it should (without
    paging)
    HERE.
    I've converted it to use PagedView
    (page
    here) and have got everything working - except the
    NestedDataSet. I cannot seem to get the nested "photos" dataset to
    set its row correctly. I've tried setrow on photos and features at
    the same time, spry:setrow in the "photos" repeat region definition
    of the TR and in the TD. None work. It simply just repeats the
    same, 1st photo throughout the output.
    Here's the code -
    <div spry:region="pvFeatures features photos">
    <table width="610" cellpadding="0" cellspacing="0">
    <tr spry:repeat="pvFeatures" spry:even="even"
    spry:odd="odd">
    <td class="blurb"
    spry:setrow="features"><strong>{title}</strong> -
    {blurb}</td>
    <td>
    <table width="104" align="right" cellpadding="0"
    callspacing="0">
    <tr spry:repeat="photos">
    <td class="caption"><img src="{photos::@path}"
    alt="{photos::@caption}" title="{photos::@caption}"/><br
    />{photos::@caption}</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </div>
    Hope someone can help me get over this hump! Thanks,
    Mark

    Hi Mark,
    We don't really have a good solution for paging nested data,
    as you've discovered. The only solution for you I can offer right
    now is something that goes like this:
    - Replace your nested XML data set with this:
    var photos = new Spry.Data.XMLDataSet("fg.xml",
    "features/feature", { subPaths: "photos/photo" });
    What this is basically doing is basically creating a table
    join of the feature rows with the photo nodes, so you end up with
    one row per photo, but it also includes all the feature data that
    pertains to it.
    - Change your markup that generates the photo table to this:
    <table width="104" align="right" cellpadding="0"
    callspacing="0">
    <tr spry:repeat="photos" spry:test="'{photos::title}' ==
    '{pvFeatures::title}'">
    <td class="caption"><img
    src="{photos::photos/photo/@path}"
    alt="{photos::photos/photo/@caption}"
    title="{photos::photos/photo/@caption}"/><br
    />{photos::photos/photo/@caption}</td>
    </tr>
    </table>
    It's basically the same markup you had with 2 modifications.
    First all data references that used to look like {photos::@caption}
    are now {photos::photos/photo/@caption} to match the column names
    generated by the join. Second, I added a
    spry:test="'{photos::title}' == '{pvFeatures::title}'" to your
    element that had the spry:repeat on it.
    Ideally you would be comparing something like an id field,
    but your <feature> node doesn't have anything like that on it
    so I had to choose a field ... title.
    --== Kin ==--

  • Data Associtions not enabling  while i am  trying to do data mapping with data Associtions in BPM studio what is the reson?

    Data Associtions not enabling  while i am  trying to do data mapping with data Associtions in BPM studio what is the reson?

    Shouldn't @StartDate be an input parameter to the stored procedure? @RunDate also?
    Example for sp with parameters:
    http://www.sqlusa.com/bestpractices2008/stored-procedure-parameters/
    The last error will go away upon a successful sp compile.
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Export Transaction Data to the File with the Counts in first Calumn

    Hi All,
    i have exported the transaction data to CSV Flatfile via Data Manager Standard Package "CPMB/EXPORT_TD_TO_FILE". And It was successful.
    But I need now a Flatfile with the counts in the first calumn. How can I get it in Transformation File? Is it generally possible? or in Script Logic?
    I would be grateful  for every entries.
    Alisher
    Edited by: Alisher Babaev on Aug 17, 2011 12:58 PM
    Edited by: Alisher Babaev on Aug 17, 2011 1:29 PM

    Hi Alisher,
    You are refering to transformation file for record count. But in transformation file we mention the IDs which are displayed in some other format and we want to change them to the other.
    In your case, would like to know, do you have some property in dimension which displays the record counts? If you have then you can design it using transformation and conversion files. But incase you dont have any such property then you can not add new column in the export file.
    Hope this clarifies.
    Rgds,
    Poonam

  • Paging WIth Two Disassociated Data Controls

    Is it possible to have two completely disassociated (not parent-child) data controls on a page, each having their own paging buttons?
    I have a requirement for a detail view of one data control with a read-only view of another data control underneath. I would like to have separate paging for both. I can’t seem to find any examples of doing this. The standard paging seems to be bound to the first data control.
    Thanks in advance.

    Hi,
    if you are on the web, you build a navigable from based on the VO (in BC4J parlance). When you drop this to a page it becomes navigable. Do teh same for another, not dependent VO and the two operate independently.
    Now lets talk about what I think you don't tell us: If you are building JClient applications, then you delete the default toolbar in the layout editor, select one VO after the other and create a new toolbar from the data control. This way the two are independent.
    Frank

  • Moving LR5 catalog (Irdata & Ircat) to a new hard drive and photos. Lost all meta data - How do I move meta data along with catalog?

    I moved LR5 catalog (Irdata & Ircat) to a new hard drive and photos. Lost all meta data - How do I move meta data along with catalog?
    The meta data for each image is missing.
    I have over 2,000 images. I don't want to go back through each image and add meta data.
    Is there some way to move everything?

    No, do not re-import your images. I assume you can see the thumbnails in the library module, just cannot access the full images, right? If this is the case there should be an exclamation mark in the top right corner of every one of your pictures and you only have to tell LR where the images are now.
    Click the exclamation mark of one of the images and a dialog window should pop-up, telling you that LR cannot find the file, but with an option to locate it. Press "Locate" and navigate to the folder on your new HD where the file is. If in the new external HD you kept the same folder structure that you had on the internal disk, LR will be able to find all your images and re-link them to the database without further intervention.

  • I am trying to download the new episode of Game of Thrones on my iPad. We are currently travelling in Italy and have an unlimited pre- paid data plan with the Italian carrier Wind.  When I try download the episode through iTunes I get an error message

    Hi there, traveling through Italy with my iPad. Purchased a unlimited prepaid data plan with Italian carrier WIND.  Has been working excellent, but when I try to download a new episode of Game of Thrones, I get an error message which says that I have to connect to a wi fi network or download the episode on my MacBook.  Why can't I download using the microsim and prepaid data plan?  Any help will be great thank you!

    Unfortunately downloads larger than 20mbps require wifi due to most carriers having data limits. This "requirement" keeps people who are not familiar with data and what takes up a lot of data from going over.

  • "Source not found" Error creating URL Data control with query parameters

    Hi,
    I have a restful service for which i want to create a URL data control. I am able to create the URL data control successfully when i am not passing any parameters in the Source field. But if i am specifying the parameters in the source field like this Department=##ParamName##, something weird is happening. After giving the param string in the Source field, it asks for default param value to test the url. It tests the url successfully. After that i select XML as the data format in which i am mentioning the xsd like this . "file:///C:/..../something.xsd" . And this is when i am getting the error. "Invalid Connection. The source is not found". I am giving exactly same path for xsd which i gave while creating URL data control without query parameters. Infact i was able to create the URL data control with query parameters successfully till afternoon. after that it started giving me this error all of a sudden. Infact as soon as i was able to create a URL data contol with query parameter successfully, i took a backup of the application before moving further. But even that backup is not working now.
    As far as i understand, i dont think there will be any change in xsd if query params are passed to a web service. Please correct me if i am wrong.
    Just dont know what could be the issue. Please help
    Thanks

    Hi,
    xsd is used for the URL service to know what the returned data structure is so it can create the ADF DC metadata
    Frank

  • HT1420 My laptop crashed completely and I need to authorize a new laptop to enable it sync with itunes. I have 5 computers authorized so I am unable to add another one so I need to unauthorize the bad laptop that is no longer working. How do I authorize n

    My laptop crashed completely and I need to authorize a new laptop to enable it sync with itunes. I have 5 computers authorized so I am unable to add another one so I need to unauthorize the bad laptop that is no longer working. How do I authorize new Laptop?

    You can only deauthorize everything to do that. Click on Account under Quick Links. You can deauthorize all five there. But you can only do this once a year.

Maybe you are looking for

  • Creating GTC in OIM 11g (11.1.1.3.0)

    Hi, I'm trying to install Generic Technology Connector (Database_App_Tables_9.1.0.5.0) and to configure the target sysatem as a trusted source reconcilation task in OIM 11g 11.1.1.3 but I get a lot of problems. I used the following quides to do that:

  • My ipad 2 is not very good picking up wi-fi signals

    MY IPAD 2 is not very good at picking up wi-fi signials .I have a Kindle Fire and it has no problems in the same location .Is this a normal limitation for the IPAD or do I need a fix

  • Exchange 2013 public folders are sending read receipts for items viewed in public folders

    We have Exchange 2013 with public folders.  These public folders are used for a large amount of shared contacts.  When a user goes into the public folders and double clicks on a contact to view it, Exchange dispatches a read receipt to all users that

  • Ipod Touch won't sync after updating iTunes

    I updated my iTunes and now my ipod touch will not sync, it says that the ipod is synced with another iTunes library when it is not, is there a way to get it to sync?

  • Consolidation question

    I have a scenario at my client where I have Company Code 1 and Company Code 2 with common chart of accounts and both these have a one common holding company which is only for reporting consolidated financials. Is there a way to achieve this in SAP so