Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Delete a record in a VIEW not updating tables
Message
De
03/04/1997 13:33:09
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
03/04/1997 12:38:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00026765
Message ID:
00026836
Vues:
33
>>>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)?

1) Run the parsing routine to strip
2) Use mystring=substr(mystring,1,len(mystring)-1)
L.A.Long
ProgRes
lalong1@charter.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform