Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The perfect buffering code
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00010603
Message ID:
00010604
Views:
27
>I am looking for a good example of adding a record and saving it.
>
>I have a table, using optimistic buffering I would like to know the perfect code to place in the ADD button to add a new record with a unique ID.
>
>Then I would like to know the PERFECT code to place in the SAVE button with the possibility of update or revert.
>
>Also I would like to know where to place BEGIN TRANSACTION and END TRANSACTION.
>
>Any help would be greatly appreciated.
>.

Look in the SAMPLES dir under the VFP dir. TasTrade and other samples should give you a very good insight to what to do. Is there such a thing as perfect code? <s>

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform