close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Nested Loop and LIMIT 4,3

Thread began 9/08/2015 7:37 am by Steve | Last modified 9/08/2015 11:51 am by Ray Borduin | 437 views | 3 replies |

Steve

Nested Loop and LIMIT 4,3

Hello,
Any progress on offering a nested looping condition in the MySQLi Behavior?

Also the LIMIT parameter seems to be getting striped out of generated queries.

1st goal:
Select 6 records and then display (2) rows with 3 records per row.


2nd goal:
Create a second Recordset that only returns the 4th , 5th and 6th records from a duplicate recordset

select something
from somewhere
LIMIT 4,3 <-- start at 4th record and display 3 more

Sign in to reply to this post

Ray BorduinWebAssist

This sounds like a bug I may need to address.... so if I just add the limit to a Recordset manually and then open and close the recordset interface then it causes the issue? I'll take a look now and see if we can get it updated so that doesn't happen.

Sign in to reply to this post
Did this help? Tips are appreciated...

Steve

Ray,
I believe it is a conflict with the Repeat Region behavior as it is not suited to accept two variables. Repeat region accepts the comma separated value but I don't think it is looking for this so it clashes with the Recordset when the LIMIT 3,4 is set in place.

Sign in to reply to this post

Ray BorduinWebAssist

I see, yeah that makes sense.

The repeat region tries to add a limit to adjust the number of rows displayed. I'll see if I can figure out a way for it to be smarter with complex limit statements.

Sign in to reply to this post
Did this help? Tips are appreciated...

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...