Ken,

First, from a programming point of view, forget logicals exist. Your selects should be over the physical file. DB2 will use a logical if it makes sense, they're simply performance enhancements.

As to your problem, you say the logical has a 3-part key, but is it unique? And if so, is it actually tagged that way in the system, or is it just that you "know" it's unique. The theory says you must have a unique key to each row in a table, now perhaps customer, invoice# and date are unique (I'd think just invoice# was unique) but you have to have told the system they're unique.

Also, personally I'd lose the whole data adapter stuff and do your own updates, but that's just me.

-Walden


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.