•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 456,588 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,582 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser: Programming Forums
Views: 855 | Replies: 2
![]() |
| |
•
•
Join Date: Nov 2007
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
Hi there,
My database contains two tables namely Products and Stocks. Product table consists of ProductName(VARCHAR[100]), PackingStyles(VARCHAR[2000]) and Grades(VARCHAR[2000]). Primary Key is the combination of these three fields. The values of PackingStyles and Grades are entered using a listbox and so they are stored as comma separated values. The Stocks and Products tables are related. When a user selects a ProductName in the Stocks table I want to form a grid based on PackingStyles and Grades. The user enters the cell values into the grid and these values must be stored in the Stocks table. Later the user may change the order of PackingStyles and Grades in the listbox or he may change the values of PackingStyles or Grades and insert a new value in the Stock based on the modified data from the Products table. In the end the user may calculate total stocks by adding these values (which is in the form of a grid formed by Packingstyles as Columns and Grades as rows with inputted values as cell values). Please help in this regard.
Thanks in advance
Fairchild
My database contains two tables namely Products and Stocks. Product table consists of ProductName(VARCHAR[100]), PackingStyles(VARCHAR[2000]) and Grades(VARCHAR[2000]). Primary Key is the combination of these three fields. The values of PackingStyles and Grades are entered using a listbox and so they are stored as comma separated values. The Stocks and Products tables are related. When a user selects a ProductName in the Stocks table I want to form a grid based on PackingStyles and Grades. The user enters the cell values into the grid and these values must be stored in the Stocks table. Later the user may change the order of PackingStyles and Grades in the listbox or he may change the values of PackingStyles or Grades and insert a new value in the Stock based on the modified data from the Products table. In the end the user may calculate total stocks by adding these values (which is in the form of a grid formed by Packingstyles as Columns and Grades as rows with inputted values as cell values). Please help in this regard.
Thanks in advance
Fairchild
Hi,
What programming language are u using ??
What programming language are u using ??
It is never about the number of languages you know, you either have the logic of programming or you don't ...
Some of the codes I post are collected from different sites during the past couple of years, so I would like to thank them for their help and for enabling me to help.
Some of the codes I post are collected from different sites during the past couple of years, so I would like to thank them for their help and for enabling me to help.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Database Design Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- your ideas on database design??? (Database Design)
- Database design regarding two 'linking' tables (Database Design)
- Database Design for storing versions (Database Design)
- Database Design feedback (absolute beginner here :) (Database Design)
- Help with contact/mailing list database design... (Database Design)
- Database design - subtypes and instances of an entity (Database Design)
- Database Design - Supertypes and Subtypes (Database Design)
- Database Design Advice (MySQL)
Other Threads in the Database Design Forum
- Previous Thread: Design for an order/product for a business
- Next Thread: Database Conceptual & Logical Design


Hybrid Mode