I get a LIST.COUNT unknown to OLE server error when I attempt to open a form containi8ng a list box. In the older versions of Paradox one could name the list object field contained in the list box.
You still can name the list object, but it takes a little more work these days.
To name a list object (as opposed to the field object containing the list):
1. Open the form in Design mode.
2. Select the field object by clicking it once with the mouse. The status bar should show the name of the field object.
3. Click the selected field object again; the status bar should now show the name of of the list object, e.g. #List6 (List).
4. Press F6 to display the context menu for the list object and then choose Properties. This opens the property sheet for the list box.
5. In the Name field of the General tab, type the name you want to use for your list box.
FWIW, I've generally found it helpful to avoid naming the list object. Instead, I add ObjectPAL to the list object to define it from the open() event. For examples of how to do this, please see
Thanks Footpad for your prompt and helpful reply. My trouble was that I was using the Active-X Control to create the list. I hadn't noticed that the old list box within a field on the form was still available.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.