I have bound the list boxes to the data in SQL Server, I just need to link
the two boxes so the second only shows data related to the first.

Signature
Rod Gill
Project MVP
Visit www.msproject-systems.com for Project Companion Tools and more
> Hi,
>
[quoted text clipped - 12 lines]
>
> Help much appreciated
Rod Gill - 14 Dec 2005 21:14 GMT
Edit the binding source properties to add a Filter. Programmatically modify
the filter whenever the first listbox selected value changes. Seems to work
a treat.
>I have bound the list boxes to the data in SQL Server, I just need to link
>the two boxes so the second only shows data related to the first.
[quoted text clipped - 15 lines]
>>
>> Help much appreciated
How are you going to retrieve the information? Database, folder/file reader?
Are you hard coding the program list? Xml?
At some point your going to have to write some code and build a framework
for your data and then decide how to store and retrieve it.
Here's a tip to get you started. You could index your programs list in the
data column and then use this to retrieve the set of projects to fill in your
second list box. Such as "Funny Code", "FC" or just "1" then however your
saving your project data have the index as part of it so that it identifies
itself with your program.
Randy
> Hi,
>
[quoted text clipped - 12 lines]
>
> Help much appreciated
Rod Gill - 15 Dec 2005 02:20 GMT
Hi,
I've bound the controls to respective related tables and they display data
as expected. I just need to limit what's in the second listbox to the
selected, related master record in the first ListBox.
I've done it now by using a Filter on the binding source object
Thanks.

Signature
Rod Gill
> How are you going to retrieve the information? Database, folder/file
> reader?
[quoted text clipped - 31 lines]
>>
>> Help much appreciated