I did not say it had to be string just that I saw it set to ("500") in the
clients.py file generated by the AppWizzard
def setBaseSQL(self):
# Set up the base SQL (the fields clause, the from clause, etc.) The
# UI refresh() will probably modify the where clause and maybe the
# limit clause, depending on what the runtime user chooses in the
# select page.
self.addFrom("clients")
self.setLimitClause("500")
self.addFieldsFromDataStructure()
Regards
Allan
On 21 May 2012 16:22, Ed Leafe <[email protected]> wrote:
> On May 21, 2012, at 5:27 AM, Allan Brooke wrote:
>
> > Just changed
> >
> > self.setLimit(5000)
> > to
> > self.setLimit("5000")
> >
> > Discovered after reading through the dabo.biz.dBizobj.py file.
> >
> > Thanks for all your input.
>
> That should make no difference at all, as the SQL is formed using
> string formatting, which would convert the integer value to its string. See
> dCursorMixin.py line 2748.
>
> Where in dBizobj.py did you see a reference to the limit having to
> be a string?
>
>
>
> -- Ed Leafe
>
>
>
> _______________________________________________
> Post Messages to: [email protected]
> Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
> Searchable Archives: http://leafe.com/archives/search/dabo-users
> This message:
> http://leafe.com/archives/byMID/[email protected]
>
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/canjka-nxadzc9dtvpmytykjloqzr_xaanwihpjzcrg1bb1x...@mail.gmail.com