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

String Conversion

Status
Not open for further replies.

PeterL

IS-IT--Management
Oct 30, 2000
129
US
I am trying to run a total on a value stored as text. I am using the following formula with no luck:

Sum (ToNumber ({IM1_InventoryMasterfile.Weight}))

Is this the correct method?
 
Assuming the field is in your details section, create the conversion formula at that level. That way, you should be able to summarize it just as you would a regular number field.

The formula would look like:
[tt]
If IsNull({IM1_InventoryMasterfile.Weight}) Then
0.00
Else
Val({IM1_InventoryMasterfile.Weight});
[/tt]
Right click it, and you should be able to create summaries on it.

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top