Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #1216

Re: Field validation

From "Willie Moore" <williem@wmconsulting.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Field validation
Date 2011-05-30 09:37 -0500
Organization Aioe.org NNTP Server
Message-ID <is0a2b$4un$1@speranza.aioe.org> (permalink)
References <4aeaf2f0-fa83-4d6e-b3ee-f6fc76cf0443@a26g2000vbo.googlegroups.com>

Show all headers | View raw


Krystian,

What version of VO are you using? Various parts of the GUI classes have 
changed with the different releases so it is very difficult to give an 
answer without knowing the version.

Regards,
Willie

"Krystian"  wrote in message 
news:4aeaf2f0-fa83-4d6e-b3ee-f6fc76cf0443@a26g2000vbo.googlegroups.com...

Hi,

I would like to "implement" standard clipper Valid statement for a
SingleLineEdit in a DataWindow
This is a piece of code from PostInit

oSFS := StringFS{HyperLabel{#nr_pesel}}
oHLVal := HyperLabel{#nr_pesel, , 'Błędny numer PESEL'}

oSFS:setValidation({|x| spr_pese(x)}, oHLVal)

SELF:oDCNr_pesel:FieldSpec := oSFS

function spr_pesel returns logic value.

What is wrong in it, what I miss to set, because the control does not
enter to function spr_pesel()

Any help is welcome, thanks a lot
But please "IN CAPITAL LETTERS" - I am on the beginning of my
adventure with CAVO
Krystian 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Field validation Krystian <softb@softb.pl> - 2011-05-30 02:00 -0700
  Re: Field validation D.J.W. van Kooten <public@ic2remove.this.com> - 2011-05-30 13:31 +0200
    Re: Field validation Krystian <softb@softb.pl> - 2011-05-30 15:09 -0700
      Re: Field validation "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-05-31 01:05 -0700
      Re: Field validation D.J.W. van Kooten <public@ic2remove.this.com> - 2011-05-31 12:00 +0200
        Re: Field validation Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-05-31 15:52 +0200
          Re: Field validation D.J.W. van Kooten <public@ic2remove.this.com> - 2011-06-01 00:20 +0200
            Re: Field validation Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-06-01 09:23 +0200
              Re: Field validation "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-06-01 01:16 -0700
  Re: Field validation wolverine <wolverine4277@hotmail.com> - 2011-05-30 05:08 -0700
  Re: Field validation "Willie Moore" <williem@wmconsulting.com> - 2011-05-30 09:37 -0500
  Re: Field validation "Roger Lawton" <nsproger@nspsomax.com> - 2011-05-30 12:20 -0400

csiph-web