Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a record
Message
From
31/10/1997 15:20:20
 
 
To
30/10/1997 23:44:52
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00057479
Message ID:
00057644
Views:
30
thanks Larrt-
- everything is working good, but when I APPEND BLANK,
the record pointer to going to the last record instead of adding a blank
record at the end. Do you know why? thanks
also
Remember - you told me to use all the deleted records first, if none are found, then APPEND BLANK.
Well I do that, thanks to you...I am coding a system for single users. I really do not
see why I should even use record or table buffering. I have SET DELE ON and all
I could ever have is one deleted record. What do you think?
I used buffering in my last app. It worked great for me with using VIEWS in a
multi user system.
rob


>>>>hey larry
>>>> would you please give me a hand with this.
>>>> I am having trouble with adding a record in a single user system
>>>> in vfp50. I never had a problem in clipper.
>>>> this is what I am doing.
>>>> In the clicked event of my add button, I have
>>>> =cursorsetprop(buffering,3)
>>>> append blank
>>>> SAVE button
>>>> =tableupdate(.t.)
>>>> ABORT button
>>>> =tablerevert(.t.)
>>>> My problem is when I abort, it is still adding blank records
>>>> to the table.
>>>> It sounds like a buffering problem. I did not have this problem
>>>> when I coded a system for a multiuser system using table buffering.
>>>> Why am I getting blank records after I ABORT?
>>>> thanks
>>>> rob
>You may be in a different work area, try specifying the table alias by using the command parameters.....
>
>SAVE button
>=tableupdate(1,.t.,'tablealias')
>
>ABORT button
>=tablerevert(.f.,'tablealias')
>
>HTH //:^)
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform