Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using View to insert record
Message
From
07/04/1998 23:42:11
Fernando España
Alta Tecnologia En Informatica
Guatemala, Guatemala
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00090070
Message ID:
00090334
Views:
19
about your answer, the problem is a view must have a PK you can reseolve this problem adding a line number in your detail table.

Example:
in the next example
the error message iskey field is not unique..
IDMOV ITEM PRICE TOTAL
001 3555 3.50 3.50 *
001 3555 3.50 3.50 *
001 3556 2.25 2.25
* the information is duplicated! Error

This sample is OK.
IDMOV ITEM PRICE TOTAL Detail_Line_Number
001 3555 3.50 3.50 * 1
001 3555 3.50 3.50 * 2
001 3556 2.25 2.25 3
the line numer make the diference!.

Sorry for my English!, I speak Spanish.
Good Luck!
Fernando España
SQL Server Specialist
Previous
Reply
Map
View

Click here to load this message in the networking platform