phillsheen
Registered User.
- Local time
- Today, 13:21
- Joined
- Jun 12, 2006
- Messages
- 86
Hi guys,
I have a problem. I have 2 forms, 'frmClassList' and 'frmDailyCash'. 'frmClasslist' contains 7 records, monday to friday, with the classes that are on that day on each record:
clDay / Class1 / Class2 / Class3
monday / Aerobics / Spin / B&T
tuesday / Pilates / Tone / Circuits
'frmDailyCash' contains all the days cash takings. This will also contain a list of how many people have come into the days classes.
This is where I have the problem. In the 'frmDailyCash' I have the fields CsClass1, CsClass2, CsClass3 etc etc. What I would like to happen is if the Date field 'CsDate' in 'frmDailyCash' says Monday I would like the fields CsClass1, CsClass2 etc to automatically fill up with the days classes.
I also only want this to update when a new form is created. So that if I change the classes in one months time the old records will still show the classes from one month ago.
I thought about using the If Left statement in basic to match the first 3 letters of the date and the day on the class form. Didnt work though and I ended up more confused!
Hope this makes some kinda of sense?
Any help would be fantastic!!
Phill
I have a problem. I have 2 forms, 'frmClassList' and 'frmDailyCash'. 'frmClasslist' contains 7 records, monday to friday, with the classes that are on that day on each record:
clDay / Class1 / Class2 / Class3
monday / Aerobics / Spin / B&T
tuesday / Pilates / Tone / Circuits
'frmDailyCash' contains all the days cash takings. This will also contain a list of how many people have come into the days classes.
This is where I have the problem. In the 'frmDailyCash' I have the fields CsClass1, CsClass2, CsClass3 etc etc. What I would like to happen is if the Date field 'CsDate' in 'frmDailyCash' says Monday I would like the fields CsClass1, CsClass2 etc to automatically fill up with the days classes.
I also only want this to update when a new form is created. So that if I change the classes in one months time the old records will still show the classes from one month ago.
I thought about using the If Left statement in basic to match the first 3 letters of the date and the day on the class form. Didnt work though and I ended up more confused!
Hope this makes some kinda of sense?
Any help would be fantastic!!
Phill