Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error building key for index
Message
From
17/07/2008 07:49:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Error building key for index
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01331915
Message ID:
01331915
Views:
70
Hi

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)
Thank you
Chaim
Next
Reply
Map
View

Click here to load this message in the networking platform