Time format

S

Shirley

I need to export a table to Excel. The table has a field -
- CallTime--with time format. When I exported this table
to Excel, everything else is cool except the time format
is changed.

If I created a form on this table first, and then export
the form to excel, the time format will be keeped. But
this process is too much trouble especially when I want
to create some tables on the fly.

So how can I keep the time format in exproted file?

Thanks,

Shirley
 
K

Ken Snell

Wrap the time field with the Format function and tell it the specific format
to be used:

NewTimeFormatField: Format([TimeField], "hh:nn")
 

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