Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server Table Update
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00605365
Message ID:
00653811
Views:
18
Hi Justin,

You might need to assign each one of your invoice transactions a unique key. MSSQL should be able to provice an autoincrement for each row in the invoice file whenever a new row is inserted. This would give each row in the child table a unique identifier and would also aid when performing SQL pass-through updates/deletes that effect a single row. ( e.g. sqlexec() ) The autoincrement field sould contain an index on the unique key.

Since the invoice transaction file holds the many side of the equation like transactions that belong to a particular client, and since one invoice might contain many transaction so that the invoice number could not be unique, it might be that MSSQL is getting confused about which records if any it should update.
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Previous
Reply
Map
View

Click here to load this message in the networking platform