Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interesting data structure problem
Message
From
21/05/2009 15:52:16
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01401408
Message ID:
01401424
Views:
48
>>I am trying to figure out the best way to approach the creation of some new data. I have a table containing a list of about 1600 items. There is a committee of about 40 people who will be selecting the 10 best and the 10 worst of these items. Each committee member will vote independantly and we want to record their individual ballots. My problem is how to structure the ballot recordkeeping. I can see a couple of options.
>>
>>1. Create a separate ballot table for each user containing 3 columns, ItemID, Good, Bad. The finished table would contain 20 records containing the 10 best and the 10 worst according to the user.
>>
>>2. Create a single table for all the users where each user has a row and 10 Good columns and 10 Bad columns which contain the ItemID for the items they identified as good or bad.
>>
>>3. Variations on either of these where the Good/Bad data is kept in memo fields.
>>
>>Eventually we will want to summarize the voting and score the items according to the individual voting. And, this will all be done through a web interface.
>>
>>I'm not real excited with either solution and was wondering if there was another approach or thoughts regarding these two ideas. Constructive criticism appreciated.
>>Thanks.
>
>I agree with Cetin/Sergey. What database do you plan to use?

Thanks to all.

Data is in a VFP dbc. The webapp will be in VB.NET. I was thinking of displaying the items in a gridview with 2 checkboxes for Good/Bad. Clicking the checkbox would fire some code to record the vote.
Previous
Reply
Map
View

Click here to load this message in the networking platform