Re: textbox validadition

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Wed, 18 May 2005 12:35:29 -0700, Tom
<Tom@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

>i want to pass by a text box, or if i eneter in data i want it to be ONLY 02.
>
>i cant seem to get by it.
>
>IF !INLIST(ALLTRIM(THISFORM.ex894.VALUE),"02")
> ? chr(7)
> WAIT WINDOW "INVALID CODE Must be 02"
> RETURN 0
> THISFORM.REFRESH
>ENDIF
>
>sorry for my

In the textbox's Valid event:

IF ! EMPTY(This.Value) .AND. ! ALLTRIM(This.Value) == "02"
WAIT ...
RETURN .F.
ENDIF

.



Relevant Pages

  • textbox validadition
    ... i want to pass by a text box, or if i eneter in data i want it to be ONLY 02. ... i cant seem to get by it. ... ENDIF ... Prev by Date: ...
    (microsoft.public.fox.programmer.exchange)
  • Re: [git pull] New firewire stack
    ... Noone will seriously ship two firewire stacks, so that cant be the ... issue (for distributors). ...
    (Linux-Kernel)
  • RE: for loops
    ... >now, i have something written, but i cant get my value of to increase. ... > if this.value = cpass ...
    (microsoft.public.fox.programmer.exchange)
  • Re: [PATCH 2.6.19-rc3 2/2] ehea: 64K page support fix
    ... I'll send a new patch ... On Wednesday 25 October 2006 18:21, Anton Blanchard wrote: ... Cant you just use PAGE_MASK, ...
    (Linux-Kernel)
  • Re: [PATCH 2.6.19-rc3 2/2] ehea: 64K page support fix
    ... Cant you just use PAGE_MASK, ~PAGE_MASK and remove the ifdefs ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)