ZombeWalker71
New member
- Local time
- Today, 16:46
- Joined
- Mar 13, 2020
- Messages
- 5
Sounds easy but struggling.
I have a form that displays the current number of records from a table using COUNT [TodayCount], which works absolutely fine.
I've created a table tblSKUCount to store this figure called [YesterdayCount], this just needs to be one row of data
Back on my form I then created a text box called [txtYestCount] that uses a Dlookup to bring in the value from the tblSKUCount.
I now want to press a command button in my form that will copy the [TodayCount] into the forms [txtYestCount] which then overwrites the value in the tables field
OR
it will overwrite the value directly in the table [YesterdayCount] and subsequently update the value in my form.
It sounds easy, but I just can't figure this one out.
I have a form that displays the current number of records from a table using COUNT [TodayCount], which works absolutely fine.
I've created a table tblSKUCount to store this figure called [YesterdayCount], this just needs to be one row of data
Back on my form I then created a text box called [txtYestCount] that uses a Dlookup to bring in the value from the tblSKUCount.
I now want to press a command button in my form that will copy the [TodayCount] into the forms [txtYestCount] which then overwrites the value in the tables field
OR
it will overwrite the value directly in the table [YesterdayCount] and subsequently update the value in my form.
It sounds easy, but I just can't figure this one out.