Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Totext query

Status
Not open for further replies.

munchen

Technical User
Aug 24, 2004
306
GB
I am using crystal 8.5.

I simply want to remove the thousand separator from a group name field that appears in a formula.

Here’s what I currently have:

If X=Y then
‘***’ + (ToText(GroupName ({tblA.ID}),0,"")) + ‘***’
else
(ToText(GroupName ({tblA.ID}),0,""))

I keep getting the following error:

Too many arguments have been given to this function

Any ideas how I can remove the thousands separator from a group name field that appears in a formula?
 
The code ought to work, it was fine for me on 8.5 with one of my fields.

Try using {tblA.ID} rather than the group field. They ought to be just the same value, but the syntax may be different

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top