Form Detail Sum

T

tom

I wanted to make more clear my problem in an earlier post.

In the detail section of the form I have a text box named
LineCalcCost, in this text box there is control source,

=CalcCost(w,x,y,z)

This part is working.

I then have a text box in the footer with the control source

=Sum([lineCostCalc])

I am getting a name error on this. I am using here the actual names in the
DB.
 
T

tom

tom said:
I wanted to make more clear my problem in an earlier post.

In the detail section of the form I have a text box named
LineCostCalc, in this text box there is control source,

=CalcCost(w,x,y,z)

This part is working.

I then have a text box in the footer with the control source

=Sum([lineCostCalc])

I am getting a name error on this. I am using here the actual names in
the DB.
 
S

sweet_dreams

I wanted to make more clear my problem in an earlier post.

In the detail section of the form I have a text box named
LineCalcCost, in this text box there is control source,

=CalcCost(w,x,y,z)

This part is working.

I then have a text box in the footer with the control source

=Sum([lineCostCalc])

I am getting a name error on this. I am using here the actual names in the
DB.

Hi,

Check your spelling:
you said:
=Sum([lineCostCalc])

whereas it should be:
=Sum([LineCalcCost])

Hope this helps.
regards,
Sebastian
 
T

tom

It is right in the DB, wrong in the newsgroup.

I sent a correction.


sweet_dreams said:
I wanted to make more clear my problem in an earlier post.

In the detail section of the form I have a text box named
LineCalcCost, in this text box there is control source,

=CalcCost(w,x,y,z)

This part is working.

I then have a text box in the footer with the control source

=Sum([lineCostCalc])

I am getting a name error on this. I am using here the actual names in
the
DB.

Hi,

Check your spelling:
you said:
=Sum([lineCostCalc])

whereas it should be:
=Sum([LineCalcCost])

Hope this helps.
regards,
Sebastian
 
R

Roger Carlson

You can't use the name of the other control in your Sum function. You'll
have to use:

=Sum(CalcCost(w,x,y,z))


--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L

tom said:
tom said:
I wanted to make more clear my problem in an earlier post.

In the detail section of the form I have a text box named
LineCostCalc, in this text box there is control source,

=CalcCost(w,x,y,z)

This part is working.

I then have a text box in the footer with the control source

=Sum([lineCostCalc])

I am getting a name error on this. I am using here the actual names in
the DB.
 
T

tom

This will not work either.


Roger Carlson said:
You can't use the name of the other control in your Sum function. You'll
have to use:

=Sum(CalcCost(w,x,y,z))


--
--Roger Carlson
MS Access MVP
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L

tom said:
tom said:
I wanted to make more clear my problem in an earlier post.

In the detail section of the form I have a text box named
LineCostCalc, in this text box there is control source,

=CalcCost(w,x,y,z)

This part is working.

I then have a text box in the footer with the control source

=Sum([lineCostCalc])

I am getting a name error on this. I am using here the actual names in
the DB.
 

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

Top