AfterUpdate event problem for a textbox on a form 
Author Message
 AfterUpdate event problem for a textbox on a form

I have a text box in a form with the following code:
Private Sub txtconverted_time_AfterUpdate()

  [converted_time] = SecToTime([total_num_sec])

End Sub

The SecToTime() function converts a Long into a time format
I get the [total_num_sec] by running a macro.

I know you shouldn't be storing calculations into a table
because it doesn't follow the rules of normalization, but
for the sake of argument that's what I'm doing.

I tested the SecToTime() function in the immediate window
and the function works.

I'm not sure why it doesn't work in the form. Any ideas?

Thanks gemann

Fri, 15 Apr 2005 12:14:21 GMT  
 [ 1 post ] 

 Relevant Pages 

1. textbox AfterUpdate event

2. TextBox and AfterUpdate Event

3. Textbox AfterUpdate problem

4. form data-entry and AfterUpdate event

5. Main form AfterUpdate event

6. Update a Subform from Form on AfterUpdate Event

7. Kick Starting AfterUpdate Event in another Form

8. Help with afterupdate event form won't scroll

9. Event chain Form before ,afterupdate

10. Continuous Form AfterUpdate Event

Powered by phpBB® Forum Software © phpBB Group