Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Finite records in bindonload

Explorer ,
Jul 15, 2010 Jul 15, 2010

I need to have a combo box display data based on the selection of another combo box. Specifically I have a Parts table and I need the part description to show on its own field when the part is selected. I have used bindonload.

Here is my code:

<th>Part Number</th><td><cfselect name="PartID" bind="cfc:dfSources.getPart()" bindonload="true" />  </td>   
<th>Description&nbsp</th><cfselect name="Description" bind="cfc:dfSources.getPartDescription({PartID})" /></td>

This works very well for a few records - just about 300. After 400 records it is slow, and upwards of 500 it does not work.

Is there a limit to the number of records a bind can return?

552
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 15, 2010 Jul 15, 2010

There are ways to restrict the number of records you receive from queries, but you have a dilemma here.  If you restrict the number of selections, what do you do about people who want one of the ones you chose to not display?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 15, 2010 Jul 15, 2010
LATEST

You are right Dan. This works well for a few hundred records where my query is "SELECT TOP 300" for example. I am leaning towards thinking that this feature works only for a handfull of records. I am not reaching a conclusion though.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources