Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters to a form
Message
De
30/10/2001 21:11:42
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00575429
Message ID:
00575446
Vues:
22
>>>>My application was working beautifully in VFP6 and now I'm having a problem in VFP7. I have a form class that accepts up to 7 parameters. When I call it with 4 parameters it works, but when I add a fifth, it crashes. It doesn't matter whether the fifth is blank or not, and it doesn't get beyond the parameter statement. Any ideas?
>>>
>>>What's the exact error?
>>
>>The error is "File 'xyz' does not exist", where 'xyz' is a name that isn't supposed to be a file to begin with. 'xyz' is just the name of a control on my active form. I believe the error is misleading.
>
>If you SET STEP ON to activate the debugger, would it be a help pointing you to the right line of code? I guess you have a line in your code with xyz.property...

I wish it were so simple... One problem is that the code works fine if run from the command window. I've also determined that the error doesn't happen on any particular line of code - it seems to be on the actual call of the form.
Elyse Pomerantz
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform