Form to table?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have built an expression in a form to itentify the difference between two
dates. How to I get that information to show up on corresponding table to
create a report?
 
Use the expression in a "SELECT" query, to generate a calculated
field... ie if I just want the difference between two dates, I would:

SELECT table.*, datediff("d",
.[date1],
.[date2] as
Difference
FROM


or something... Then base the report on that query. The "Difference"
field will be available for the report. Or you could just use a
calculated control on the report, just like you did on the form.

Luke
 
Confused said:
I have built an expression in a form to itentify the difference
between two dates. How to I get that information to show up on
corresponding table to create a report?

As Luke noted, you normally be better off not storing the result, but
only computing it anytime you want to display or use it.
 

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

Back
Top