473,809 Members | 2,724 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Total problem in subform

ken
I have a formA and subformB
subformB is a continous form
with a txtTotal in form footer
=Sum([Total])
This works fine as long as there are
records in form
but if form is null I get Error
I would like to get arround this as I
Have a label to be Visible only
if txtTotal>= 45000
The way it is now label shows up visible
on form when it has no records
thank you for any suggestions

Feb 2 '06
16 2466
I mailed a working example to <ke******@yahoo .com>

Please have a look at it.
*** Sent via Developersdex http://www.developersdex.com ***
Feb 10 '06 #11
On Fri, 10 Feb 2006 17:46:18 GMT, steve.minnaar <st*****@concis e.com> wrote:
I mailed a working example to <ke******@yahoo .com>

Please have a look at it.


How?

Wayne Gillespie
Gosford NSW Australia
Feb 10 '06 #12
I saw:

From: Wayne Gillespie
Date Posted: 2/9/2006 6:27:00 PM

On 1 Feb 2006 16:58:34 -0800, "ken" <ke******@yahoo .com> wrote:
I have a formA and subformB
subformB is a continous form
with a txtTotal in form footer
=Sum([Total])

..
..
..
So I mailed the solution to the address above.

If that will not work then give me an address like:
"ken at mydomain dot extension" and I'll mail it.

My email address is "steve at concisedata dot co dot za"

*** Sent via Developersdex http://www.developersdex.com ***
Feb 11 '06 #13
On Sat, 11 Feb 2006 00:42:15 GMT, steve.minnaar <st*****@concis e.com> wrote:
I saw:

From: Wayne Gillespie
Date Posted: 2/9/2006 6:27:00 PM

On 1 Feb 2006 16:58:34 -0800, "ken" <ke******@yahoo .com> wrote:
I have a formA and subformB
subformB is a continous form
with a txtTotal in form footer
=Sum([Total])

.
.
.
So I mailed the solution to the address above.

If that will not work then give me an address like:
"ken at mydomain dot extension" and I'll mail it.

My email address is "steve at concisedata dot co dot za"


You have emailed the db to the OP. (which is where it should go)
Wayne Gillespie
Gosford NSW Australia
Feb 11 '06 #14
Plea in General: I am new to news groups and am not familiar with the
techniques and terms used here. I've looked at various guidelines but am
still not much wiser.

This I do know:
There is a user out there called Ken with a problem.
I have solved the problem but need to send a complete mdb to demonstrate
this.
I may not post attachments to the group (even though I don't know how
to)
I do want him to get the solution.

This need to know about groups:
What OP stands for.
Who can see the mail sent to OP.
How I can ensure that Ken received the solution.
How I can make the solution available to any other interested user?
If an email client is used to communicate with the group how do I do it?

Is there a plain document out there which explains all of this?

From: Wayne Gillespie

On Sat, 11 Feb 2006 00:42:15 GMT, steve.minnaar <st*****@concis e.com>
wrote:
I saw:

From: Wayne Gillespie
Date Posted: 2/9/2006 6:27:00 PM

On 1 Feb 2006 16:58:34 -0800, "ken" <ke******@yahoo .com> wrote:
I have a formA and subformB
subformB is a continous form
with a txtTotal in form footer
=Sum([Total])

.
.
.
So I mailed the solution to the address above.

If that will not work then give me an address like:
"ken at mydomain dot extension" and I'll mail it.

My email address is "steve at concisedata dot co dot za"


You have emailed the db to the OP. (which is where it should go)
Wayne Gillespie
Gosford NSW Australia

*** Sent via Developersdex http://www.developersdex.com ***
Feb 11 '06 #15
On Sat, 11 Feb 2006 02:08:12 GMT, steve.minnaar <st*****@concis e.com> wrote:
Plea in General: I am new to news groups and am not familiar with the
techniques and terms used here. I've looked at various guidelines but am
still not much wiser.

This I do know:
There is a user out there called Ken with a problem.
I have solved the problem but need to send a complete mdb to demonstrate
this.
I may not post attachments to the group (even though I don't know how
to)
I do want him to get the solution.

This need to know about groups:
What OP stands for.
Who can see the mail sent to OP.
How I can ensure that Ken received the solution.
How I can make the solution available to any other interested user?
If an email client is used to communicate with the group how do I do it?

Is there a plain document out there which explains all of this?


No problems.
You did send the db to Ken's email address, but you replied to my post asking me
to look at the database you emailed to Ken. Hence my "How?"

OP stands for Original Poster.
Wayne Gillespie
Gosford NSW Australia
Feb 11 '06 #16
ken
Thanks Steve and Wayne
Really appreciate your help
Ken
steve.minnaar wrote:
I saw:

From: Wayne Gillespie
Date Posted: 2/9/2006 6:27:00 PM

On 1 Feb 2006 16:58:34 -0800, "ken" <ke******@yahoo .com> wrote:
I have a formA and subformB
subformB is a continous form
with a txtTotal in form footer
=Sum([Total])

.
.
.
So I mailed the solution to the address above.

If that will not work then give me an address like:
"ken at mydomain dot extension" and I'll mail it.

My email address is "steve at concisedata dot co dot za"

*** Sent via Developersdex http://www.developersdex.com ***


Feb 11 '06 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1955
by: Ellen Manning | last post by:
I've got an A2K form with a subform based on a query. This query has a checkbox and an amount field and returns records if checkbox is checked. I Dsum the amount field and display on the main form. If the user unchecks the box, I want the corresponding amount subtracted from the total. If they recheck the box, the amount is to be added. I want all records to appear on the subform even after unchecking them. This works fine...except......
2
17010
by: dath | last post by:
Hi, Not really a programmer here, but have been forced into the role. I was asked to develop a basic time sheet for employees to enter time. I developed the Table without a problem. I then developed a query to limit the records displayed based upon an employee last name and a month. Once again no problem. I then stareted developing the form based on the query. The form has a subform using data sheet display. Form prompts user for...
1
1360
by: Rog | last post by:
Hi, I'm trying to calculate the food allowance for the household employees in the diplomatic mission where I work. For each employee/month I have a subform with a maximum of 3 records for Breakfast, Lunch and Dinner. For each type of meal, the subform has radio buttons for days D1 to D31 (hiding D29 to D31 where appropriate), NumberOfMeals (=-++...+), MealValue, and Total (=*). So far so good. But now I want
33
8249
by: potassium flower | last post by:
I am trying to create a food order system for a restaurant. I have tried using both the DSum and Sum functions to calculate the total cost of an order. The total cost is a textbox on the form tblOrder (and a field in tblOrder) and the list of meals along with their costs are in the tblOrderDetail Subform (the columns in this form come fromt two tables - tblOrderDetails and tblItems). I have been putting the DSum / Sum in the control...
3
2414
by: virtualgreek | last post by:
Dear all, I have a scenario that is driving me nuts. (MS Access 2003) I have a form/subform (Continuous form) where it gets its data from tables Order and Order_Details. In the footer section of the subform I have a hidden textbox named txtOrder_Total_Amount which displays the total of the whole order. On the main form I have a bound contol from the Order table, namely Order.Order_Total_Amount_Euro On the subform I have fields such...
4
2202
by: drago | last post by:
Hi guys, I will be quick this time... Just want to know how we can calculate generic values in the same column. I am using invoice form with a services subform . I have a column of 'total' in subform and I want to add all values of that column to get the total cost on main invoice form. The 'total' column contains service cost of different clients. Some clients have 1 service i.e 1 total which is the total cost but most clients have more then 1...
4
1857
by: Scotter | last post by:
Hello. I'm having problems understanding how to calculate a total on my main form based on the items in my subform. I've tried runing update querys and thats not working, and Ive tried just calculating within the form, and thats not working correctly either. My main form is called Form1, and my subform is testquery2_subform. Whats happening is, the customers information(first name, last name, etc...), and the delivery/pickup dates, is on...
3
1778
by: ezra | last post by:
I am trying to create an invoice program that will automatically generate an invoice based on charges entered in a subform. Sounds easy enough! I have created my Total field on subform as unbound and called it Ttl. I have used this code to tally the total of all charges =Sum(). This works fine. I have then put a GrandTotal filed on my Customer info form and asigned it this value =frmCharges.Form!Ttl. Again, the field total looks fine as long...
4
4038
by: sumit kale | last post by:
Hi, Can somebody help me resolve my problem ? I am getting error when calculating total using unbound textfiled in subform. I have a main form called purchase_register_master and a subform called purchase_register_details, In sub form i have a unbound textfield called txt_Total_Amount where in i am calculating total amount for different items purchased by giving following code in control source. ContolSource: =Sum() In my main form i...
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10633
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10375
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9198
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3860
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.