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 / May 2007

Tip: Looking for answers? Try searching our database.

Main form and two Subs claculation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gaetanm - 07 May 2007 23:08 GMT
I have a form and 2 subforms

Main form [Job Sheet 1]
Sub 1         [Time Table Form]
Sub 2         [Work_hours_sub]

On my main form I have a text box called text125
I want it to give me total from Sub1 + Sub2

{SUB1}  =[Time Table form].Form!Text22

{SUB2}   =Work_hours_sub.Form!Sub_time_total

Each of the above will bring up its data into text125
 INDEPENDENTLY of each other.

I would like to combine both of these into text 125 But I just
Don’t seem to be able to get it

=([Time Table form].Form!Text22 + Work_hours_sub.Form!Sub_time_total

Any Ideas?

Gaetanm
KARL DEWEY - 07 May 2007 23:27 GMT
Try this --
=([Forms]![Job Sheet 1]![Time Table form]![Text22]) + ([Forms]![Job Sheet
1]![Work_hours_sub]![Sub_time_total])

Signature

KARL DEWEY
Build a little - Test a little

> I have a form and 2 subforms
>
[quoted text clipped - 20 lines]
>
> Gaetanm
Gaetanm - 09 May 2007 04:22 GMT
Thanks Karl
Your responce went a long way in better understanding forms and subs

Thanks again

Gaetanm

>Try this --
>=([Forms]![Job Sheet 1]![Time Table form]![Text22]) + ([Forms]![Job Sheet
[quoted text clipped - 5 lines]
>>
>> Gaetanm
 
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



©2009 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.