Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP bug
Message
De
03/08/1998 10:53:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00123494
Message ID:
00123540
Vues:
16
>Recently encountered a strange VFP bug that I thought I would make aware to everyone. This bug occurs when you try to use a previously indexed table WITHOUT the CDX and are using your own error handler with the ON ERROR command. I may be missing something here but I don't think so...
>
>Ok here's how to replicate the bug!!
>
> 1. Copy previously created free table that has been indexed to a temp directory WITHOUT the CDX.
> 2. In the command window type: SET SAFETY OFF
> 3. USE the table (e.g. USE C:\TEST\TABLE.DBF) Notice NO ERROR occurs!
> 4. Delete the table.
> 5. Now type ON ERROR DO ERRHAND.PRG (We don't have a prg but even if we did the results would be the same.)
> 6. Now RECOPY the free table again without the CDX.
> 7. USE the table again! Surprise! The ON ERROR kicks in!
> 8. Say something unkind about Microsoft.
>
>If anyone knows a reason why this is happening or a way around it please let me know.
>
>Thanks


What error are you getting?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform