Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object XXXXXX is not found
Message
De
15/01/2002 11:58:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
15/01/2002 11:23:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00604868
Message ID:
00604902
Vues:
29
>UPDATE: again to fast to cry for help - might help if I coded a REPLACE!
>
>I get the subject error message, referring to CARDHOLDER (an ALIAS), in the following code:
>
>*--------DEBUG  DEBUG  DEBUG-----------
>IF USED() AND ALIAS()="CARDHOLDER"
>ELSE
>    set step ON
>ENDIF
>*--------DEBUG  DEBUG  DEBUG----------
>CardHolder.EqfxReport = ReturnedCreditReport  ;
>                       + CHR(13) + CHR(10)  ;  . . . there are more fields
>
>
>STEP ON does NOT happen. No where in the code is there an object named CARDHOLDER save, possibly in the data environment.
>
>Has anyone seen this before. . . know a fixup?
>
>Thanks in advance
>Jim Nelson

Jim,
Try :
IF ALIAS()="CARDHOLDER"
 wait window 'CARDHOLDER is the current alias' timeout 2
 if fsize('EqfxReport', 'CardHolder') > 0
   wait window 'CardHolder.EqfxReport exists as a field' timeout 2
 endif
ELSE
 set step ON
ENDIF
set asserts on
ASSERT (type('CARDHOLDER')='O' and !isnull(CARDHOLDER)) ;
 message 'Cardholder object is not defined'

*...
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform