jadams0173
Technical User
- Feb 18, 2005
- 1,210
I have an a2k db with a vb6 front end. I have a table (or will have soon) that will store the last operations a user selects to view. There could be as few as 1 and as many as 25. If the user selects a work order that has already been viewed by them or someone else, I need to repopulate the form with the last viewed operations. That's all this table is for and I can't forsee ever having to use the column in this table for criteria.
I'm thinking of making the table structure like:
ID(PK) HeaderID(FK) Operations
where ID is an autonumber and HeaderID is the PK from the Header table. Then I'm thinking of storing the operations comma deliminated like opa, opb, opc and split them when I retrieve them. If I do this I can keep a 1 to 1 relationship with my header table and use one query to return the data.
Is this a bad idea from the start?? I know it violates first normal form because the data stored is not atomic.
I tried to have patience but it took to long! -DW
I'm thinking of making the table structure like:
ID(PK) HeaderID(FK) Operations
where ID is an autonumber and HeaderID is the PK from the Header table. Then I'm thinking of storing the operations comma deliminated like opa, opb, opc and split them when I retrieve them. If I do this I can keep a 1 to 1 relationship with my header table and use one query to return the data.
Is this a bad idea from the start?? I know it violates first normal form because the data stored is not atomic.
I tried to have patience but it took to long! -DW