Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HELP! What is causing the error???
Message
De
30/10/2001 16:25:31
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
 
 
À
30/10/2001 15:41:46
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00575294
Message ID:
00575329
Vues:
22
Could be your default path settings are different to path the program sets.

>I have a form with a grid that calls a second form. When running the exe from the desktop, I get an error when trying to open up the second form. From within VFP7, all is well. The error message is "File 'HDR1' does not exist."
>I'm not getting a line #. I put a WAIT WINDOW at the end of the BeforeOpenTables method and one at the beginning of the Form.Load. I see the message from the BOT method but not the Load, so I assume the error is occurring somewhere in between. The problem is, according to my coverage log, there is nothing in between! What can cause a form to give an error while loading other than code or data? The only reference to HDR1 in my project is with my grid headers. In my grid class, I replace the headers with my own header class. The code looks like this:
>
>FOR EACH loColumn IN This.Columns
> WITH loColumn
> lcCaption=loColumn.Header1.Caption
> lnAlign=loColumn.Header1.Alignment
> .AddObject("Hdr1",This.cHeaderClass,lcCaption,lnAlign)
> .Hdr1.Name="Header1"
> ENDWITH
>ENDFOR
>
>I suspect that this error message may be misleading, but what could be causing this error and how can I fix it?
>
>Thanks,
>Elyse
Charles Richard
NVO Management Systems
crichard@nvo.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform