Total on a sub form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello
I'm no expert on access but i know a few things.
Here's my problem and I thought i knew how to sum a field called "Valor" on
a simple subform. I've tried everything and it didn't work. Here an example :
=Soma([Formulários]![Formulario Principal]![Valor])

Any ideas?
Tks in advance
Pedro
 
To refer to a control on a subform, use the following syntax:

Forms![main form name]![subform control name].Form![control name]

notice the extra .Form! after the subform name
 
Hey Beetle
Tks for your answer
I did want to sum although the formula is in portuguese it's be sum( ...?
right?
Tks in advance
Pedro

Beetle said:
To refer to a control on a subform, use the following syntax:

Forms![main form name]![subform control name].Form![control name]

notice the extra .Form! after the subform name

Pedro said:
Hello
I'm no expert on access but i know a few things.
Here's my problem and I thought i knew how to sum a field called "Valor" on
a simple subform. I've tried everything and it didn't work. Here an example :
=Soma([Formulários]![Formulario Principal]![Valor])

Any ideas?
Tks in advance
Pedro
 
Honestly, I have no idea how VBA code translates in portugese.

Pedro said:
Hey Beetle
Tks for your answer
I did want to sum although the formula is in portuguese it's be sum( ...?
right?
Tks in advance
Pedro

Beetle said:
To refer to a control on a subform, use the following syntax:

Forms![main form name]![subform control name].Form![control name]

notice the extra .Form! after the subform name

Pedro said:
Hello
I'm no expert on access but i know a few things.
Here's my problem and I thought i knew how to sum a field called "Valor" on
a simple subform. I've tried everything and it didn't work. Here an example :
=Soma([Formulários]![Formulario Principal]![Valor])

Any ideas?
Tks in advance
Pedro
 

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

Similar Threads

Filter a form from a table 3
Sub totals on sub forms 2
Sub Form Total 2
Sub-form totals 3
Calculating Totals on a Sub forms 2
Subform Totals 4
Total Detail on Continuous Form 2
Sub Total a Sub Table 7

Back
Top