Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Violates the uniqueness of an index
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Violates the uniqueness of an index
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01093043
Message ID:
01093043
Views:
66
hi all,
I have a program with two tables. one is a history table and the other is a live table. i have a history routine that copies any information from the live table into the historical one that is over 3 months old. both are identical and have a primary key. i extract a subset of the live file into a cursor and then check the historical file to see if the record is ther already. if it is it deletes the record and then i do
append blank
GATHER MEMVAR memo
append blank fails as it violates the uniqueness of the table. i have set dele on. can i do this another way that avoids this problem?
Slán
~M
Go raibh maith agat

~M
Next
Reply
Map
View

Click here to load this message in the networking platform