Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Squeezetext
Message
De
26/09/2008 13:01:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01350791
Message ID:
01351019
Vues:
22
>Hi Don,
>
>the ObjProperties parameter is coming from the Reporting engine core. So you won't find where the .Text property is being populated. If it is a numeric value you can use the .Value property and covert it to text and assign it to the .Text property yourself, to override the "****" value. Remeber to set the .Reload property to .T. so the Reporting engine will use your updated value.
>
>FYI, this usually happens to numeric values if the picture/format expression is larger than the field box width and has nothing to do with the width of the actually value being displayed.
>
>HTH,

Hi Bo -
I decided to do it with a second parameter as in
if alen(this.aParameters) > 1
	if upper(this.aParameters[2]) = "NUMBER"
		toObjProperties.text = transform(toObjProperties.value)
		toObjProperties.Reload = .t.
	endif
endif
This works fine if the number is an integer. However if its a decimal I get a string of unwanted zeros on the end. I'm not sure why, but I am trying to limit the decimals to only those that are supposed to be there. Any thoughts?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform