×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Table Buffering

Table Buffering

Table Buffering

(OP)
I have set my default settings to pessimistic record buffering, yet when I run the form an try to add data I get an error 1596 stating that the buffering is not on? I cahnged the buffering setting to table buffering and got the same results error 1596. Is there a bug or something? What can I do to fix this as it is driving me nuts. Thanks!
Big SPank

When you sow a thought, you reap an act. When you sow an act, you reap a habit. When you sow a habit, you reap a character. When you sow a character, you reap a destiny.

RE: Table Buffering

When you say you try to "add data", are you adding a new record or modifying an existing record?  

Just about everything I've read about table buffering says that 'optimistic table' is the wise choice.  Try switching over to that to see if there's any difference.

Steve

RE: Table Buffering

Hi

Pessimistic buffering prevents other users in a multi-user environment from accessing a particular record or table while you're making changes to it.

SO if some one in the network has got the record even for reading, you wont be able to lock this record under pessimistic lock. Optimistic record locking will be more suitable for multiuser databases in general, UNLESS you want to stop anyone else from using the record even for reading. More so trouble some is file is locked in pessimistic buffering.

I suggest you to OTIMISTIC ROW BUFFER as your byffer mode. This locks the records when the writing is done. Also you can do the writing with some some check as to .. of that is a success or a failure.

See for example the following thread..

Replace dont work in very rare occasions
Thread184-165290

If you have some pessimistic buffer in some ares.. then it becomes essential that you check fo the uccess of this also..

LOCAL lLock
DO WHILE .t.
  lLock = CURSORSETPROP(..........)
  IF lLock
     EXIT
  ELSE
     ** If youe need a message post that..
  ENDIF
ENDDO

Hope this helps you

ramani
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close