Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET SEPARATOR
Message
 
 
À
17/07/2001 11:15:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00531535
Message ID:
00531564
Vues:
11
Cool! ;-)

SWAG time. The defined constants have a "." in them. When they are replaced during compilation the resultant line would look something like

set separator to .

If there is a variable called LCCL_REF close to this, it may be treated as a property. This could happen if the code executes in a With/Endwith bracket. It may not be in the Load event itself but the With/Endwith could have code in it to call the form's Load.

>OK, forget about SEPARATOR, this problem is occurring on every line after 20!!!
>
>There is a method called OnSetEnv() which runs in the Load event, here are the first 20'ish lines:
>
>local lcDateFormat, lCentury
>
>set talk off
>set dohistory off
>set brstatus off
>set safety off
>set exclusive off
>set notify off
>set bell off
>set near off
>set exact off
>set status off
>
>set deleted on
>set multilocks on
>set confirm on
>
>set decimal to 2
>set memowidth to 256
>
>set separator to ID_NUM_SEPARATOR
>set point to ID_NUM_DECIMAL
>
>When I step through and hit SET SEPARATOR, it errors, if I comment that out, it errors on the next line.
>
>The error number is 1734 and the error message is "Property LCCL_REF is not found".
>
>The form is a standard modal form, with nothing in the dataenvironment and it runs in the default data session and it does contain the property LCCL_REF.
>
>This is a parculiar problem, any suggestions?
>
>Kev
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform