J
JackP
Quick lay of the land...
Table 1 (Banking) Final resting place for all transactions
Layout
[Date], [Source], [CurrencyType], [Amount]. Source is pulled from the
tblSource with fields like "Till 1 in", "Till 1 Out", "Bank In", "Bank Out"
etc.
and Currency from tblCurrency with fields like "Hundreds", "Fiftys",
"Twentys" etc.
Table 2 (TillOut)
This has 5 records in it for the different Till types we use. I have a form
that the user can select the Till Type from a cbo.
"Till Type", "Hundreds", "Fiftys", "Twentys" etc.
On that form, I am also pulling the different Sources
What I need to do next is put all that together and add new records to Table
1 like this...
' Insert Hundreds
[Date] =now()
[Source] = [from cbo on form]
[CurrencyType] = [form.Hundreds]
[Amount]=[Form.HundredsAmount}]
Next Record
' Insert Fiftys
Date] =now()
[Source] = [from cbo on form]
[CurrencyType] = [form.Fiftys] <--- notice the change from above.
[Amount]=[Form.FiftysAmount}]
Next Record
' Insert Twentys
Date] =now()
[Source] = [from cbo on form]
[CurrencyType] = [form.Twentys] <--- notice the change from above.
[Amount]=[Form.TwentysAmount}]
So... my question. Am I on the wrong path as far as normalization... I
don't think so. If not, How can I do this?
Thanks,
Jack
Table 1 (Banking) Final resting place for all transactions
Layout
[Date], [Source], [CurrencyType], [Amount]. Source is pulled from the
tblSource with fields like "Till 1 in", "Till 1 Out", "Bank In", "Bank Out"
etc.
and Currency from tblCurrency with fields like "Hundreds", "Fiftys",
"Twentys" etc.
Table 2 (TillOut)
This has 5 records in it for the different Till types we use. I have a form
that the user can select the Till Type from a cbo.
"Till Type", "Hundreds", "Fiftys", "Twentys" etc.
On that form, I am also pulling the different Sources
What I need to do next is put all that together and add new records to Table
1 like this...
' Insert Hundreds
[Date] =now()
[Source] = [from cbo on form]
[CurrencyType] = [form.Hundreds]
[Amount]=[Form.HundredsAmount}]
Next Record
' Insert Fiftys
Date] =now()
[Source] = [from cbo on form]
[CurrencyType] = [form.Fiftys] <--- notice the change from above.
[Amount]=[Form.FiftysAmount}]
Next Record
' Insert Twentys
Date] =now()
[Source] = [from cbo on form]
[CurrencyType] = [form.Twentys] <--- notice the change from above.
[Amount]=[Form.TwentysAmount}]
So... my question. Am I on the wrong path as far as normalization... I
don't think so. If not, How can I do this?
Thanks,
Jack