problems with user fields
Hi, I need some help.
I try to assign a user field from a float var, the problem is, only the entire part was wrote on the field and the decimal part doesn´t appear or it´s lost.
From user field to a var doesn´t have problems.
FoUsrTable.UserFields.Fields.Item(TObject(j)).Value := tobject(fValor);
I need to do something special?
Regards and thanks
Louis de Gouveia replied
Hi Juan Correa
You must make sure that your userfield is of the correct type, make sure it does accept decimal points. Check from the front end of SBO if it is correct. If not, change the type of the field until you get it in the desired format in the UDF definition. Remember that under general settings you can also set the additional decimal points as you please.
If it is still giving you a problem then the way you are placing it in there is causing a problem. Maybe place a small code snippet if you don't come right.
Hope this helps