Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WOW this compiles - causes nasty bug
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00783762
Message ID:
00783773
Vues:
12
>
>LPARAMETERS          ;
>   nColIndex AS NUMBER
>
>LOCAL                ;
>   lPrevLockScreen
>
>WITH THIS.PARENT
>   lPrevLockScreen     = THISFORM.LOCKSCREEN
>   THISFORM.LOCKSCREEN = .T.
>   DODEFAULT()
>
>   .cGeneric           = v_Review_Mat.Generic
>   .txtSearch.value    = v_Review_Mat.cm_desc
>
>   .REFRESH()
>
>   THISFORM.LOCKSCREEN = lPrevLockScreen
>ENDWITH
>
>LPARAMETERS nColIndex
>* ^^^^  This is the bug
>
>
>Cleaning up code. Somehow inserted this into the AfterRowColChange EVENT of a grid during cut and paste ?????. Took me two hours to find. Received error as if parameter statement was bad. It was but for two hours I kept focusing on the first one. Geeshhh
>
>

I've done this before. I was lucky, both Parameter statements were one after the other. However, I looked at the first one several times before looking at the second line.
Tracy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform