I have field on a table declare as real. a lookup is done on this table via form, on the lookup form the property of the field is set to real but in pass the field value to the form as a valuestr()this result in a compiler error "The wrong number of arguments as been specified for the function".
RealGallons.valuestr(table.gallons) If I changed the field on the lookup form to an int it passes the field value to the form as a value, this work but there is warning from the compiler that assignment/comparison loses precision. intGallons.value(table.gallons) Anyone know how to fix this?

