Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 16 MAR 2000 09:05:55PM Kevin Bolitho wrote:

Using Win2000

I can't set the validation on an edittable column. If I edit the validation in the repos window template then I get the validation pattern into appear in the window but it is still ignored !!!. I have looked through discussion group threads and see that this is a long standing problem with no real solution indicated. REVTECH Is there a tidy fix yet and if not when will a fix be included in an OI upgrade? Validation is centrial to OI operation and should work.


At 17 MAR 2000 08:11AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Yep, same here.

It's kinda amusing that the Conversion controls ( edit-line and list-box ) still work when there're on the same window as the validation ones? :-)

As an aside does the validation work if you set it programatically via set_Property() ]

The Sprezzatura Group

[/i]World leaders in all things RevSoft[/i]

www.sprezzatura.com_zz.jpg


At 20 MAR 2000 04:13PM Kevin Bolitho wrote:

No - I can't get validation to work at all !!!!!


At 21 MAR 2000 05:21AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Kevin,

So you can't use something like

set_Property( editTable, "VALID", "D" : @Svm : "MT" )

To set the validation property at runtime? We tested it on a Win2000 system here and although the validation couldn't be added in the Form Designer, it could be added like this.

The Sprezzatura Group

[/i]World leaders in all things RevSoft[/i]

www.sprezzatura.com_zz.jpg


At 21 MAR 2000 07:21PM Kevin Bolitho wrote:

Setting the VALID prop in the CREATE of the parient window still shows no sign of working. What version of W2000 are you using ? .

Editing the input pattern into the window record then compiling it does not work either. No sign of ICONV or OCONV on the control working. I wonder about DLL etc that are used by the edittable control but have no idea what is used and what versions these should be.


At 21 MAR 2000 09:07PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

[notag]OK using the shorthand syntax this works even in Win98. T1 is an edittable. Columns one and two have edit patterns already.

X = .T1→Valid

X<0, 0, 3> = '(B)'

.T1→Valid = X

In this scenario the third column of the edit table was previously bereft of editing and now benefits from a boolean conversion (input though not output).

What symptoms are you seeing which stop this from working?

[<A HREF="http://www.sprezzatura.com" onMouseOver="window.status='Click here to visit our web site?';return(true)">The Sprezzatura Group</A>]

[<I>World Leaders in all things RevSoft</I>]

[<img src="http://www.sprezzatura.com/zz.gif">]

[<script language="javascript">function openNewPage () {window.location.href=(document.TOCNavigator.pageToGoTo.options[document.TOCNavigator.pageToGoTo.selectedIndex].value);document.TOCNavigator.pageToGoTo.selectedIndex="0";}end hiding from non-JS browsers –></script>] [<FORM ACTION "" METHOD=GET NAME="TOCNavigator" <SELECT NAME="pageToGoTo" SIZE=1 onChange="openNewPage()"> <OPTION>Pull down this menu to choose whereabouts on the Sprezz site to go <OPTION VALUE="http://www.sprezzatura.com">Home Page <OPTION VALUE="http://www.sprezzatura.com/whatsnew.htm">What's New <OPTION VALUE="http://www.sprezzatura.com/senl.htm">SENL <OPTION VALUE="http://www.sprezzatura.com/patches.htm">Download S/LIST <OPTION VALUE="mailto:[email protected]">Send mail to support at Sprezzatura <OPTION VALUE="mailto:[email protected]">Send mail to sales at Sprezzatura </SELECT> </FORM>] [/notag] </QUOTE> —- === At 21 MAR 2000 10:48PM Kevin Bolitho wrote: === <QUOTE>No - Effect what so ever. It is as if the table has never heard of validation. I how think this is not a w2000 only problem as I have tried this on a W98 and W95 computer with the same lack of results. No errors - just does not work.Validation on other controls (eg editline) functions correctly ???? </QUOTE> —- === At 22 MAR 2000 05:03AM Oystein Reigem wrote: === <QUOTE>Kevin, You seem to say that the problem with validation not working at all (not even validation set programmatically) occurs on some computers. It's not just down to particular Windows versions. I think the Group said in an earlier thread that it could be a problem with DLLs. But anyway - there seems to be "good" and "bad" computers, right? But please tell me - is this a "design time" problem or a "runtime" problem? Do you see what I mean? Does the problem always occur on a "bad" PC and never on a "good" one? Or does it depend on the PC where the app was made - if that PC was "good" or "bad"? So far I have the impression it's the former, but I'd be interested to know for sure. (I haven't seen the problem on my own computers, and none of our users have reported it either. But neither do we use validation much. I have one PC where I get that problem with setting validation at design time, but I never use that PC for development, and I haven't gone further to see if validation set programmatically also fails.) - Oystein - </QUOTE> —- === At 22 MAR 2000 03:53PM Kevin Bolitho wrote: === <QUOTE>Oystein I now know what the problem is with the validation on my edit tables. As it turns out there is a promoted event that applied to the POSCHANGED event of edit tables for the application. Due to a bug this can produce an event return of 0 rather than 1 thus no further execution of lower level POSCHANGE. I don't quite see the connection between POSCHANGED and validation put if this promoted event returns 0 then no IConv or OConv occures. Thanks to everyone for input on this. </QUOTE> —- === At 23 MAR 2000 06:41AM Sprezzatura Ltd wrote: === <QUOTE>[notag]Kevin, In an edit table, the system level poschanged event is responsible for executing the validation logic, hence when you returned 0 you stopped the event chain and never got to the system level validation. Still got the problem with Form Designer though? [<A HREF="http://www.sprezzatura.com" onMouseOver="window.status='Click here to visit our web site';return(true)">The Sprezzatura Group</A>] [<I>World Leaders in all things RevSoft</I>] [<img src="http://www.sprezzatura.com/zz.gif">] [<script language="javascript">function openNewPage () {window.location.href=(document.TOCNavigator.pageToGoTo.options[document.TOCNavigator.pageToGoTo.selectedIndex].value);document.TOCNavigator.pageToGoTo.selectedIndex="0";}end hiding from non-JS browsers –></script>]

[<FORM ACTION "" METHOD=GET NAME="TOCNavigator"

<SELECT NAME="pageToGoTo" SIZE=1 onChange="openNewPage()">

<OPTION>Pull down this menu to choose whereabouts on the Sprezz site to go

<OPTION VALUE="http://www.sprezzatura.com">Home Page

<OPTION VALUE="http://www.sprezzatura.com/whatsnew.htm">What's New

<OPTION VALUE="http://www.sprezzatura.com/senl.htm">SENL

<OPTION VALUE="http://www.sprezzatura.com/patches.htm">Download S/LIST

<OPTION VALUE="mailto:[email protected]">Send mail to support at Sprezzatura

<OPTION VALUE="mailto:[email protected]">Send mail to sales at Sprezzatura

</SELECT>

</FORM>][/notag]


At 24 MAR 2000 08:23AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

[notag]Just confirming another work round - but would obviously prefer a fix.

Put the validation into the dictionary item and just allow the prompt to use default validation - assuming it is attached to a dictionary item.

[<A HREF="http://www.sprezzatura.com" onMouseOver="window.status='Click here to visit our web site?';return(true)">The Sprezzatura Group</A>]

[<I>World Leaders in all things RevSoft</I>]

[<img src="http://www.sprezzatura.com/zz.gif">]

[<script language="javascript">function openNewPage () {window.location.href=(document.TOCNavigator.pageToGoTo.options[document.TOCNavigator.pageToGoTo.selectedIndex].value);document.TOCNavigator.pageToGoTo.selectedIndex="0";}end hiding from non-JS browsers –></script>] [<FORM ACTION "" METHOD=GET NAME="TOCNavigator" <SELECT NAME="pageToGoTo" SIZE=1 onChange="openNewPage()"> <OPTION>Pull down this menu to choose whereabouts on the Sprezz site to go <OPTION VALUE="http://www.sprezzatura.com">Home Page <OPTION VALUE="http://www.sprezzatura.com/whatsnew.htm">What's New <OPTION VALUE="http://www.sprezzatura.com/senl.htm">SENL <OPTION VALUE="http://www.sprezzatura.com/patches.htm">Download S/LIST <OPTION VALUE="mailto:[email protected]">Send mail to support at Sprezzatura <OPTION VALUE="mailto:[email protected]">Send mail to sales at Sprezzatura </SELECT> </FORM>][/notag] </QUOTE> View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/db04435e471958ba852568a50006092f.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1