dbTalk Databases Forums  

Newbie to VFP

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Newbie to VFP in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
shah
 
Posts: n/a

Default Newbie to VFP - 05-10-2006 , 04:46 PM






Hello,

I have been programming in FPW 2.6 forever. Howeverb we finally started
working on converting our application to VFP 7.0.

I am merely taking a test drive in order to get familar with VFP.

I have a form with a grid. The grid has been created by dragging the
table from the datasession into the form.

When I keep the 'buffer mode' to 'Pessimistic' and data session to
private, any change I make in the data in the grid, is not being saved.

However if I keep the 'Buffer mode' to '0 - None' and Data session
private, the changes I make to the data in the Grid is saved.

Am I suppose to do some kind of a 'Committ' or 'TableUpdate' to save
the data when buffer mode is set to pessimistic.

I guess I am not too sure when I would use 'pessimistic' or 'none' as
buffer mode.


Reply With Quote
  #2  
Old   
jsm.maurice
 
Posts: n/a

Default Re: Newbie to VFP - 05-15-2006 , 09:29 AM






in fact, I think you have two ways of working :

1) leave VFP do the work as yo started using buffering modes

2) use views. I am a fan of views. Instead of thinking 'how VFP will handle
this or this', you have full commands on them : tableupdate, tablerevert,
requery, ..... Note that your tables have NOT to be in a database but you
must create one database at least to have a place where to save your views.

--
Jean à Grenoble
http://www.atoutfox.org

PS I went on this group 'by accident', I think you will have a lot of
answers for example on the mailing list 'profox' in www.leafe.com



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.