HI all,
If you haven't noticed, this is my 3rd if not 4th thread regarding my goal. I have accomplished a lot in the past few days, but now, I'm stuck.
The AceMan1 and MajP and others, I hope you can assist. I have 1 strand of hair left, and I really don't want to pull my last strand out - that would make be BALD.
Now...just in case you have not read my previous threads, here is my table structure...
Code:
[tblparts]
PartID (autonumber) PartsName LocationID
AutoNum 1 Brakes 1
AutoNum 2 Shocks 2
AutoNum 3 Tower 1
[tblPartCat]
PartId "from [tblparts]" CatID ClassID
1 1 1
1 2 2
2 1 3
2 4 3
3 3 3
[tblCategory]
CatId CatName
1 Outer
2 Frame
3 Cross
4 Inner
[tblClass]
ClassId ClassName
1 Small
2 Mid
3 Large
Now, i have 2 forms....1) frmPartsInformation] where the user inputs a part. In this form, the user inputs a part which is a 'free form' text, assigns a location and I have a cmdButton that saves the record in the [tblParts] table. This works fine. My issue is with the second form [frmCategory].
2) Once the cmdbutton is clicked, it takes me directly to another form [frmCategory]. I have set the form to 'continuous'. In this form, i added the
a 'txt box' that list all the 'CatName' from [tblCategory] and a 'option group' that list the values from [tblClass] which is [unbound].
I also include a 'text box' that passes the 'PartID' from the form [frmPartsInformation] since I will need this autonumber to insert the record to the [tblPartCat].
Here's my issue......Since this is strictly an 'Input' form, i need to assign each CatName to a Class ID. (picture the frmCategory form as a Survey form where each CatName needs a user to select a Class. Since I now have the 'PartId' and the CatId on this form, all i need is to make sure that each unbound classID that the user select corresponds to each row. Currently, the unbound option group when selected is the same for all the CatName.
I need each row to be treated as a separate row and once each part is assigned a class, it will be inserted to table [tblPartCat].
Can you please assist.....