PDA

Click to See Complete Forum and Search --> : ADO controls - Is there a limit on # of controls 1 form


raj
Mar 26th, 2000, 09:05 PM
hi there...
Does anybody knows if there is any limit in putting no. of ADO controls on the form...
Actually, i'm connecting progress databases
through open link ODBC driver....
so i have 4 ADO controls on the form with same database but different tables ... but whenever i add 5th ADO control, it gives me this error

"[openlink][ODBC][Drivers]Connnection rejected by datasource"

if the 5th control is of same database then only it gives me error, if its different then it doesn't.....i was wondering if this is due to # of controls or what????
if anybody have any idea about this problem; please let me know... thanx a lot
Raj

Jaguar
Mar 27th, 2000, 06:36 AM
That is wierd.

I know for a fact (not relevent to the question) but you can only have 255 "unique" controls on a form, unless you use Control Arrays. Then you can have as many as you want for up to this 255 "uniquely" named controls limit.

Anyone have an answer. This would be a great answer to know about?