Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ListBox List Proprties 1

Status
Not open for further replies.

dblarch

Technical User
Mar 8, 2004
29
US
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.
 
dblarch,

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 and which both offer useful tips on managing lists in Paradox.

hope this helps...

-- Lance
 
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.

Thanks again,

dblarch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top