close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

MySQLi record count using LIMIT keyword

Thread began 9/27/2014 9:29 am by CraigR | Last modified 9/30/2014 10:50 am by CraigR | 3346 views | 17 replies

Jason ByrnesWebAssist

When using a repeat region, the limit is set to the number of records you select to return.

what this means is:
by default when you create a recordset, the limit is set to 1.

This gets changed when you apply the repeat region. you say that when you applied the repeat region, the limit was set to 0, this would happen if you selected to return all rows in the repeat region behavior.

so, create the basic recordset with out the limit applied, add the column binding to your page with the repeat region around it, in the repeat region, set the number of records to return to 4. this will update the limit in the recordset to 4.

to show the current starting record number and the ending record number, use the WebAssist -> MySQLi -> Display Record Count -> MySQLI Display Starting Record Number and MySQLI Display Ending Record Number behaviors

to page through the recordset use the MySQLi recordset paging controls

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...