Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Delete a record in a VIEW not updating tables
Message
From
03/04/1997 12:38:27
 
 
To
03/04/1997 10:21:48
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00026765
Message ID:
00026823
Views:
28
>>My VIEW updates my table when I EDIT the records
>>from the VIEW. When I try and DELETE a record from a
>>VIEW, the record in the table, does not get marked.
>>
>>help
>I think that I have had the same problem. Apparently there is something in the grid baseclass that turns the DELETEMARK off. What I did was to add
>
>Thisform.grid.deletemark=.t.
>Thisform.grid.refresh
>
>to the GOTFOCUS method of the grid
>and added
>
>dodefault()
>Thisform.grid.setfocus
>
>to the end of the method that is deleting your record (perhaps to the CLICK method)

thanks again Larry.. I will try this code.. another question..
I have a string and I want to strip out the last character.
Example..

mystring = 'abc'
Now I want mystring to = 'ab'..
I need to substr(mystring,1, now I need to add some function - 1)?
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform