Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to cause error 41
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01416444
Message ID:
01416639
Vues:
45
>>>or replace fpt file with some other file.

I got some interesting results when replacing .fpt file. What I did is copied the .FPT file of one table over the .FPT file of the table I am trying to trap the problem. But when adding a new record this didn't generate an error at all. In fact what I did is open Command Prompt and manually opened the table (which had .FPT file replaced) and issued command INSERT INTO MYTABLE (PK, MEMO_FLD) values (nVal, "some string") and no problem. VFP didn't complain at all.

The only way I could generate the error was by going to some existing/old record and trying to replace a value in a memo field.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform