Docmd? Using functions in a module

P

Pete

I typed a function up in a module, so i can use that
function in all of my forms. (Reason: its a function that
allows access to add a list of times together and go past
the 24hr mark -http://support.microsoft.com/default.aspx?
scid=kb;EN-US;210604-)

If anyone knows away around that, would love to hear your
suggestions.

But anyways. So in the module, it will get me a
HrsWorkedTotal which i need it to put in [hrsworked] in
the form.

How can I do this? Thanks.
 
J

John Vinson

I typed a function up in a module, so i can use that
function in all of my forms. (Reason: its a function that
allows access to add a list of times together and go past
the 24hr mark -http://support.microsoft.com/default.aspx?
scid=kb;EN-US;210604-)

If anyone knows away around that, would love to hear your
suggestions.

But anyways. So in the module, it will get me a
HrsWorkedTotal which i need it to put in [hrsworked] in
the form.

How can I do this? Thanks.

Set the Control Source property of the textbox on the form to

=HrsWorkedTotal(<whatever parameters you need>)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top