Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error building key for index
Message
 
 
À
17/07/2008 07:49:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01331915
Message ID:
01331916
Vues:
220
Review Considerations for Creating Index Expressions in the help.
Try
Index On Iif(Empty(lacy), PADR('zzz', LEN(lacy)),lacy) Tag lacy
>
>Help please,
>
>I moved from vfp8 to vfp9.
>
>I get error 2199 on the following code (only in vfp9 even if I add SET ENGINEBEHAVIOR 80).
>
>It is not my source code, I didn't understand the complex index structure necessity but I dont want to touch and the code programmer not avaliable.
>
>Here is the code (error in last line)
>
Create Cursor tmp1 (systid C(3),lacy C(10),qtyoh I,dueflag L)
>Index On Iif(Empty(lacy),'zzz',lacy) Tag lacy
>Set Order To
>INSERT into tmp1 (systid,lacy,qtyoh) ;
>	values('','',1)
>	
>	INSERT into tmp1 (systid,lacy,qtyoh) ;
>	values('STRNG','A',1)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform