Change format to results of Make table query

M

mcarter

I'm not using SQL code, but the graphical representation in ACCESS.
I made a tmake table query to make a table of average inquiry counts.
(format 0.xxxxx)
and when I looked at the table, all the values are 0 and the
field size is decimal with scale 0. I need the field to keep the formatting
from the make table query so the values remain 0.xxxxxx instead of 0's.
I know that you can alter with SQL, but how can I do it with the graphical
representation. I tried to set the properties in the field before I make
the table,
but all the values are "rounded" to nearest whole number. so instead of
getting actual average values, I get a table full of 0's instead.
thanks
 
D

Duane Hookom

I would not set any format in the make table query. I might use an expression
like CDbl([Your Field]) to force a field that allows storing decimal values.
 
J

John W. Vinson/MVP

mcarter said:
I'm not using SQL code, but the graphical representation in ACCESS.

The graphical query builder is JUST A TOOL to construct SQL. You are in fact
using SQL, since all queries however constructed are in SQL.
I made a tmake table query to make a table of average inquiry counts.
(format 0.xxxxx)

Why?

The records in the table *will be wrong* the moment any new record is added
to your table; and a maketable query is a timeconsuming and database
bloating construct. You can base a Report, or a Form, or an export on your
totals query which does the counts. What benefit do you accrue from creating
a new redundant table of derived data?
 

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