Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Squeezetext
Message
From
26/09/2008 13:01:26
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01350791
Message ID:
01351019
Views:
23
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform