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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query and percent, weird 1

Status
Not open for further replies.

Zorro1265

Technical User
Nov 14, 2000
181
US
I have a query which takes a couple of fields and puts them together with some text strings.

[CatPhrase] & " exercise capacity in a test terminated due to " & [StopReason] & " at " & [peakMets] & " METS of work and " & [%MPHR] & " maximal heart rate."

The feild [%MPHR] is a percentage. I have the property set to percentage but when I run the query the result is

"Mildly reduced exercise capacity in a test terminated due to Claudication, Chest pain at 8.3 METS of work and 1 maximal heart rate."

The 1 should be 100%, which is what is shows in the feild by itself. How can I keep the percent formatting in my string of text.

 
That was the ticket, I would have never ever guessed on that one! Zorro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top