Welcome! Log In Create A New Profile

Advanced

Max. number of rows in Combo Box - Webdev

Posted by PETER ZHOU 
PETER ZHOU
Max. number of rows in Combo Box - Webdev
December 02, 2008 05:00AM
Hi,

Is there a function or properties for the combo box that i can control the max. number of rows during run-time ?

Currently, i can only specify it eg. 100 or 200 in the CONTENT....

Regards,

PETER ZHOU
ocakici
Re: Max. number of rows in Combo Box - Webdev
December 05, 2008 01:43AM
ListCount(...) or CtrlName..Occurence would give you the # of elements found. In the initialization process of the control, you can programmatically control the max # of elements.

Or you can use Javascript to set the length of the corresponding Select tag's options array. ( document.gelElementById('ctrlName').options.length = 200 )

To my knowledge, there is no specific maxlength property.

Oguz
Glenn Rathke
Re: Max. number of rows in Combo Box - Webdev
December 05, 2008 05:09AM
Hi Peter,

Can you do a Select Top query on the record source?

Glenn
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: