Re: am i doing something wrong or just beating my head on the big wall?
- From: "jim sturtz" <jim@xxxxxxxxxxx>
- Date: Tue, 5 Apr 2005 08:56:10 -0400
ditto, thanks.
havent used the command before, altho have been thinking of setting up some
sort of memo field with some code to try running.
anyone have some simple examples of where they have used this command.
thanks.
jim
"Ook" <usenet@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:OropLbVOFHA.1476@xxxxxxxxxxxxxxxxxxxxxxx
> Sweeeeeetttt :-)
>
>
> "Alan C. Sheffield" <asheffield @ park west gallery.com> wrote in message
> news:eh5OZjUOFHA.3808@xxxxxxxxxxxxxxxxxxxxxxx
> > how about:
> >
> > EXECSCRIPT('SET DELETED '+IIF(SET('Deleted')='ON','Off','On'))
> >
> > Alan Sheffield
> > Programmer
> > Park West Gallery
> >
> >
> > "jim sturtz" <jim@xxxxxxxxxxx> wrote in message
> > news:e3PCyPHOFHA.3076@xxxxxxxxxxxxxxxxxxxxxxx
> > > i cant figure out how to write a set deleted toggler as an IIF.
> > >
> > > macro, name expression, eval. nothing would work for me.
> > >
> > > i could get it with a two liner but then it doesnt really toggle
without
> > > re-executing the k line
> > >
> > > k=IIF(SET('Deleted')='ON','Off','On')
> > > SET DELETED &k && this works
> > >
> > >
> > > but when i tried variation of
> > > SET DELETED IIF(SET('Deleted')='ON',Off,On)
> > >
> > > i couldnt get anything except syntax errors.
> > >
> > > i am trying to make a function key toggle the set so finally made it
> work
> > as
> > > a function
> > >
> > >
> > >
> > > ****
> > > on key label f9 setchanger
> > >
> > > procedure setchanger
> > > DO CASE
> > > CASE SET('DELETED')='ON'
> > > SET DELETED OFF
> > > OTHERWISE
> > > SET DELETED ON
> > > ENDCASE
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
.
- Follow-Ups:
- Re: am i doing something wrong or just beating my head on the big wall?
- From: Dan Freeman
- Re: am i doing something wrong or just beating my head on the big wall?
- References:
- Prev by Date: Grid not populating in VFP8.0
- Next by Date: now that my deleted toggle works how bout
- Previous by thread: Re: am i doing something wrong or just beating my head on the big wall?
- Next by thread: Re: am i doing something wrong or just beating my head on the big wall?
- Index(es):
Relevant Pages
|