>I have an incremental number generator (primary key) that I use for a P.O. number. I'm using Optimistic Buffering. The problem is that when I simply exit without saving and enter again, it increments again. The buffer doesn't clear until I close foxpro. what command can i use in the exit click event that will CLEAR THE BUFFER?
Don't get the PO number until you actually save. Problem solved.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer