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 / Forms Programming / December 2005

Tip: Looking for answers? Try searching our database.

expression

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dberger16 - 08 Dec 2005 14:50 GMT
I have an expression that does not work in my form in the field "owe", On
Enter:

=[due]-[paid]

I'm not sure why it won't calculate using these two fields above. Thanks.

=[Subtotal]+[Freight]
Signature

DaveB

Allen Browne - 08 Dec 2005 15:00 GMT
Put the expression into the Control Source property of the text box, not its
On Enter property.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

>I have an expression that does not work in my form in the field "owe", On
> Enter:
>
> =[due]-[paid]
>
> I'm not sure why it won't calculate using these two fields above. Thanks.
dberger16 - 08 Dec 2005 15:36 GMT
Now the calculated field values on my form (which now work) are not going
back into my table. Thanks.
Signature

DaveB

> Put the expression into the Control Source property of the text box, not its
> On Enter property.
[quoted text clipped - 5 lines]
> >
> > I'm not sure why it won't calculate using these two fields above. Thanks.
Allen Browne - 08 Dec 2005 15:59 GMT
See:
   Calculated fields
at:
   http://allenbrowne.com/casu-14.html

The article explains when and how to store calculated fields.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

> Now the calculated field values on my form (which now work) are not going
> back into my table. Thanks.
[quoted text clipped - 11 lines]
>> > I'm not sure why it won't calculate using these two fields above.
>> > Thanks.
dberger16 - 08 Dec 2005 17:05 GMT
I don't know what "Create a query into your table" means, I have never
created a query in a table before. thanks.
Signature

DaveB

> See:
>     Calculated fields
[quoted text clipped - 18 lines]
> >> > I'm not sure why it won't calculate using these two fields above.
> >> > Thanks.
Allen Browne - 09 Dec 2005 01:14 GMT
Sorry that expression was not clear for you.

It means, Create a query based on your table.
(The query does not exist in the table; it queries your table.)

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

>I don't know what "Create a query into your table" means, I have never
> created a query in a table before. thanks.
[quoted text clipped - 24 lines]
>> >> > I'm not sure why it won't calculate using these two fields above.
>> >> > Thanks.
 
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.