General question about setting properties

G

Guest

hello all

I'm thinking about the best place to set certain properties in my database.
Lets say my table has a numerical field. If I set a property like 'Decimal
Places = 3' in the table, can I have confidence that this property will be
passed to any queries and ultimately to forms / reports? What if the
query/form/report tries to imposes a different value for the same property?
Is it best to set any given property for a field at the place where all
'downstream' uses of that field's value will be unchanged? just wonderin'

thank you
 
G

Guest

Hi Victoria,

The benefit (and also challenge) of using Access is that as you have
discovered, you can set these properties in multiple locations. Personally I
set them all in the forms/queries as required rather than back at the table.
Other posters might disagree with me.

I guess you work out where you like to set them, and be consistent.

Damian.
 
O

onedaywhen

I'm thinking about the best place to set certain properties in my database.
Lets say my table has a numerical field. If I set a property like 'Decimal
Places = 3' in the table, can I have confidence that this property will be
passed to any queries and ultimately to forms / reports?

If you require three decimal places you should use the DECIMAL data
type with the decimal scale property set to three. Actually, you may
want scale = 4 to store an extra decimal place with which you can do
custom rounding (the DECIMAL type truncates values by nature).

Jamie.

--
 

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

Similar Threads

Access Create option group without using wizard? 2
Query Question 3
Formatting numbers in a TextBox 3
Parameter Value 0
Pass infomration from a form to a report... 1
Cascading Combo's 14
Rounding 1
Decimal places in forms 2

Top