Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetFldState(-1) can return .NuLL, why?
Message
De
22/06/2005 17:41:12
 
 
À
22/06/2005 14:12:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Divers
Thread ID:
01025546
Message ID:
01025624
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
>Hi, All
>I am using the wizstyle from vfp for my data entry. But I am now getting a "Error 43- There is not enough memory to complete this operation" for the following line of code:
>
>        CASE !m.lInDBC AND (ATC("2",GetFldState(-1))#0 OR;
>	  ATC("3",GetFldState(-1))#0)
>
>At the time of the error,
>the table selected is at EOF/2,
>m.lInDBC = .F.
>GetFldState(-1) = .NULL.
>
>So the result is CASE .T. and .NULL.
>
>Any help?
>
>Thanks
>Beth

GetFldState(-1) return NULL by design.
That is a defective design because the condition of the fields in eof() completely is known:
all fields have unknown values ( this is not true on VFP!) are unchanged, surely!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform