Power Objects Question

From: Gordon E. Hooker <gordonh_at_acslink.net.au>
Date: 1995/12/15
Message-ID: <4ar6r4$k8_at_peg.apc.org>#1/1


Hi All...

At the moment I am trying to overcome a couple of short falls in Power Objects as follows:

  1. If you set the format string for a string value (say to upper case) that value is not sent back to the database in upper case.

  I can't see for the life of me why you can't set the string to upper

  or lower case and not expect it to put in the database as upper   or lower case. (That is why you set a format mask at the front   end).

2. The property DATASIZE returns rubbish...

  I was trying to use the field property DATASIZE in a   PostChange() method to test the size of a string entered.   With a DATASIZE on a string field set to 5 the value returned   was 41. To prove this point I entered the following Oracle Basic   code to a click method for a button on the form.

DIM vSize AS Integer
DIM vChar AS String

vSize = CINT(fldEntry.DataSize)
vChar = "The datasize is " & vSize
msgbox(vChar)

and yes it returned 41, even stranger any number <= 41 returns 41 and any number > 41 return the the correct size.

I would have thought that if you set the datasize to a specific length Power Objects would not allow input greater than datasize.

Please can anyone comment, and please Mr Oracle Power Objects Development Team, can we get these things sorted out in the next version.
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Gordon E. Hooker MACS PCP
25 Clarke Street Ripley Queensland Australia Phone 61-7-32940555
Email gordonh_at_acslink.net.au
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
It is far far better to remain silent and appear a fool then to open ones mouth and remove all doubt.

Anon. Received on Fri Dec 15 1995 - 00:00:00 CET

Original text of this message