Text with sum()

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

Guest

how can I add text to the =sum() funciton?

I have a function; =sum([field]) and want to add text to it, preferably in
front of the sum. e.g. "widgets 89"

It must not be the same as ="Printed " & Now(), to print "Printed [today's
date]"

tia
 
Thanks for the reply.

I should have mentioned that this function is in an unbound control on a
form. I tried to use

="Widget" & sum([field])

and it just gave me "Widget", without any sum figure.

Any other thoughts?

ta
JMorrell



David Phelan said:
Try ="Widgets " & sum([field]) as the query expression.

how can I add text to the =sum() funciton?

I have a function; =sum([field]) and want to add text to it,
preferably in front of the sum. e.g. "widgets 89"

It must not be the same as ="Printed " & Now(), to print "Printed
[today's date]"

tia
 
hide the control with the =sum() (MySum)
make a new control with control source ="widget " & Forms!MyForm!MySum

hth
Pieter

JMorrell said:
Thanks for the reply.

I should have mentioned that this function is in an unbound control on a
form. I tried to use

="Widget" & sum([field])

and it just gave me "Widget", without any sum figure.

Any other thoughts?

ta
JMorrell



David Phelan said:
Try ="Widgets " & sum([field]) as the query expression.

how can I add text to the =sum() funciton?

I have a function; =sum([field]) and want to add text to it,
preferably in front of the sum. e.g. "widgets 89"

It must not be the same as ="Printed " & Now(), to print "Printed
[today's date]"

tia
 
What you gave me actually makes sense. But somehow in my report, it doesn't
work (like it would a =sum() in the footer section of a report). I get the
#Name? error.

What now?
ta,
JMorrell


Pieter Wijnen said:
hide the control with the =sum() (MySum)
make a new control with control source ="widget " & Forms!MyForm!MySum

hth
Pieter

JMorrell said:
Thanks for the reply.

I should have mentioned that this function is in an unbound control on a
form. I tried to use

="Widget" & sum([field])

and it just gave me "Widget", without any sum figure.

Any other thoughts?

ta
JMorrell



David Phelan said:
Try ="Widgets " & sum([field]) as the query expression.


how can I add text to the =sum() funciton?

I have a function; =sum([field]) and want to add text to it,
preferably in front of the sum. e.g. "widgets 89"

It must not be the same as ="Printed " & Now(), to print "Printed
[today's date]"

tia
 

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


Back
Top