Jeff,

Nothing wrong with the spelling of behaviour, etc. ;)

Frank.

Frank Cazabon

On 02/12/2012 09:02 AM, Jeff Johnson wrote:
Frank: This is the only form I want that behaviour on. It is a simple Todo List where you enter your tasks right in the grid.

My ISP is in the UK and my spell checker changes the spelling of words like "behaviour" and "colour" I love it! Either that or I don't know how to spell. ;^)


Jeff
---------------
Jeff Johnson
[email protected]
(623) 582-0323
www.san-dc.com

On 12/01/2012 05:16 PM, Frank Cazabon wrote:
Hey jeff, I'm sure there's an easier way.

Is it that you want to automatically save changes on any open form when closing the application? There may even be a setting to switch that on. I'll have a look tomorrow and let you know what I find.

Jeff Johnson <[email protected]> wrote:

Frank:  That did it.  This is a simple form with only two controls in
the grid.  I put a saveaction() in the lostfocus of the controls and
all
is well.

Thank you and Jerry and Kurt for your help on a Saturday.

Jeff

---------------

Jeff Johnson
[email protected]
(623) 582-0323

www.san-dc.com

On 12/01/2012 02:58 PM, Frank Cazabon wrote:
Jeff,

this is automatically handled by VMP.  It checks all open forms to
see
if they are in non-default mode and if it finds one it tells you to
save or cancel changes.  What form class is your form based on?  Why
does it not go into edit mode when you make changes to your data?

Frank.

Frank Cazabon

On 01/12/2012 05:28 PM, Jeff Johnson wrote:
Frank: Actually you probably understand this quite a bit because I
use VMP.  I have this form open and the focus in on a row in the
grid
and I close the application. VMP is closing all the forms and I
probably don't know where to put the code in this form. When VMP
closes all the forms, what method is called in the individual forms.
Maybe I can put some code in there to move the record pointer.

Thanks,

Jeff

---------------

Jeff Johnson
[email protected]
(623) 582-0323

www.san-dc.com

On 12/01/2012 01:49 PM, Frank Cazabon wrote:
Hi Jeff,

sounds like you are using row buffering which will automatically
save changes when you move to a new row.  I like to be in control
of
when things are saved so I always use table buffering and call code
that issues a tableupdate() whenever I need to save changes.
Remember you should always check the return value of tableupdate()
to make sure your save was successful.

Frank.

Frank Cazabon

On 01/12/2012 04:26 PM, Jeff Johnson wrote:
I have a data entry grid on a form. When I recently added a record
and it has focus and I click "Done" to release the form my
framework tells me to save my work before exiting. That is
because
I need to move the record pointer in the grid before exiting.  Any
idea what would be the best way to do this?  I tried putting code
in the click of the "Done" button but that doesn't help.

TIA


[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/[email protected]
** 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.

Reply via email to