Displaying a time difference

E

Elaine

I am kind of new to VBA so I need some help with this
one. I have a table that has two fields that display two
different times. I need to show the time difference in
an unbound text box. An example is the difference
between 8:00 am and 4:00 pm is 8 hours. I am able to do
this in straight Visual Basic with no problem, but I
can't do it in VBA in Access. Everytime I try to display
a result in the unbound text box I get an error. I get
an error if I just try to show a simple string in the
text box. Can anyone tell me what I'm missing, what I'm
doing wrong? Thanks.
 

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