Thanks for all responses
Generator blew up computer about a hour ago so i might be dead in water for
a few days and unable to respond
On Apr 21, 2014 10:34 AM, "John Weller" <[email protected]> wrote:
> I set all the textboxes to Enabled = .F. when I build the form. I have a
> button labelled Edit which has something like the following code:
>
> If This.Caption = 'Edit'
> This.Caption = 'Save'
> ThisForm.SetAll('Enabled', .T., '_textbox')
> ThisForm.cmdCancelEdit.Visible = .T.
> Else
> This.Caption = 'Edit'
> ThisForm.SetAll('Enabled', .F., '_textbox')
> ThisForm.cmdCancelEdit.Visible = .F.
> TABLEUPDATE(MyTable)
> Endif
>
> The Canceledit button has the same code as the Else block except that it
> has
> TABLEREVERT.
>
> The above code has been greatly simplified but you should get the idea.
>
> Regards
>
> John
>
> John Weller
> 01380 723235
> 07976 393631
>
>
> > -----Original Message-----
> > From: ProfoxTech [mailto:[email protected]] On Behalf Of
> > Virgil Bierschwale
> > Sent: 19 April 2014 23:20
> > To: [email protected]
> > Subject: nitty gritty stuff
> >
> > Ok, I've got my forms built, menus, etc. and its working the way I want
> it
> too,
> > except I can't remember for the life of me how to handle the fields on
> the
> > form prior to them hitting the edit button
> >
> >
> >
>
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/capuy6vnzmhcf5nnsip7-hjguedqgc50oeznbwzo374019we...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.