Message
De
30/03/2000 11:20:16
 
 
À
30/03/2000 10:43:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00350825
Message ID:
00352760
Vues:
16
>The C5 error is worrying the hell out of me.
>
>The most common situation is when I preview a report and then close it, but recently I had the C5 error instead of a standard VFP error message.
>
>I was using the REPLACE command.
>
>REPLACE transfer.tl_name WITH lcUser
>
>But it wasn't supposed to be "transfer" but "transferlog", so instead of a standard error message being produced, I got a C5 error.
>
>Kev

Hi Kevin,

I can't comment on the C5 issue here, but just generally it might help situations to use the following syntax, which I believe is correct, for REPLACE. Assuming the table is "transferlog:,

REPLACE tl_name WITH lcuser IN transferlog

I believe some funny things can sometimes happen by using the syntax you cited.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir