Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / February 2007

Tip: Looking for answers? Try searching our database.

General question about setting properties

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Victoria - 26 Feb 2007 21:58 GMT
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
Damian S - 26 Feb 2007 22:57 GMT
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.

> hello all
>
[quoted text clipped - 7 lines]
>
> thank you
onedaywhen - 27 Feb 2007 09:19 GMT
On Feb 26, 9:58 pm, Victoria <Victo...@discussions.microsoft.com>
wrote:
> 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.

--
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.