Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Buffering

Status
Not open for further replies.

blkm74

Programmer
Jul 23, 2002
11
MO
I am developing a application that will run on a NT LAN (Foxpro and DBF). The buffering is good for a LAN or use SQL to insert, update and delete records?
which is stable?
 
When an application is well designed buffering works quite well. We have an application used by 25 users over LAN and WAN and I used optimistic buffering mode on most tables and once we got all the little kinks out it runs very well.
 
Thank you for your comments.

I want to know which buffering is better, optimistic or pessimistic?

My database is foxpro's DBC, buffering is suitable for it?

Thanks!
 
Yes buffering is suitable for it. The buffering is normally set in the dataenvironment of the form (Although you can also set the buffering by code every time you open the table). If you create a form and add tables to the dataenvironment, you can then set the buffering mode you need. Buffering is almost a must in a multi-user environment, it allows everyone to work on the same tables without getting conflicts. As to the best buffering level...that is up to you or the client to determine. Use the help file and read up on "Buffering data", it will list the different "levels" of buffering available. I normally use "5", which means the record is only locked when the user presses the TABLEUPDATE button.
 
I agree with mgagnon, there is good advice there. like he said read up on buffering. also look at tableupdate, tablerevert, curval, oldval. Attitude is Everything
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top