Limit in related table lookup?

5 posts by 2 authors in: Forums > CMS Builder
Last Post: March 1, 2012   (RSS)

Hello,

I have the following:

-----
tbl_bookings
with a field "customer" which is the 'num' of a record in tbl_accounts
-----

When a booking is created, it is linked to the account record with this number.

Recently, it's stopped working when listing this field for the last few record (last in terms of ordering, not created)

e.g. I have a account with the surname "Zen", and a booking associated with this account. This booking is not recent, but is at the end of the lit due to sorting order.

The booking record does not show the name "Zen", but only the account number.

More recent bookings, which might have a higher surname (such as "Smith") work fine.

So it's not a broken code issue, but looks more like a limit in the number of 'labels' it can display.

There are 759 'bookings' and 1059 accounts, so not huge numbers....

In a backup installation which is 300 bookings and 500 accounts, it all works fine, displaying "Zen" name rather than number.

Any advice or thoughts, hugely appreciated.

Thanks
Rob

Re: [rjbathgate] Limit in related table lookup?

By Jason - February 29, 2012

Hi Rob,

What version of CMS Builder are you running? If you could send in a [url http://www.interactivetools.com/suppport]2nd Level Support[/url] request we can take a closer look into this for you.

thanks,
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Limit in related table lookup?

Hi,

Thanks Jason, have sent 2nd Level Support Request,

Cheers

Re: [Jason] Limit in related table lookup?

By rjbathgate - March 1, 2012

Hi,

Thanks! Good debugging :)

I've had to go for the increased limit option, as the problem occurs both front end and within cmsb admin itself.

It's working fine now, and the installation has a bunch of other custom stuff too so not a new problem re upgrading overwrites!

Thanks again, much appreciated,
Rob