alvingenius
IT Specialist
- Local time
- Today, 11:19
- Joined
- Jul 10, 2016
- Messages
- 169
Hello Guys,
I have a simple problem I guess
let's say I have a table with Names | TimeIn | TimeOut | WorkingHours Fields
i've a form with a query in Record source,
and I built a new field in a query to calculate the working hours with a name: Hours
and I have a calculated field in the query and I put it in form too
and i need it when i open the form. copies values from Hours Field to the Table text box in the same form WorkingHours
so in form i tried this VBA codes
in Current / In Load / In Active
this code works in single form, but in continuous form, i have to click on every record to replicate values on the whole records
So is there any way to replicate all values one time in continuous form?
I have a simple problem I guess

let's say I have a table with Names | TimeIn | TimeOut | WorkingHours Fields
i've a form with a query in Record source,
and I built a new field in a query to calculate the working hours with a name: Hours
and I have a calculated field in the query and I put it in form too
and i need it when i open the form. copies values from Hours Field to the Table text box in the same form WorkingHours
so in form i tried this VBA codes
in Current / In Load / In Active
SQL:
Me.WorkingHours = Me.Hours 'Getting Calculated Hours from Query and put it in Workinghours field in table '
this code works in single form, but in continuous form, i have to click on every record to replicate values on the whole records
So is there any way to replicate all values one time in continuous form?