Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / November 2005

Tip: Looking for answers? Try searching our database.

More on Access 2000 - Changing key fields in Master / detail forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Abay - 03 Nov 2005 07:25 GMT
I have successfully change both master and relevant detail transactions to
new primary key fields.

Now I have the problem of changing existing detail transactions from an
incorrect key to a primary key which already exists on the master .. eg
Master key is "abc company ltd", detail is "abc company" which needs to be
changed to "abc company ltd".  The only way I can see to do this is to
create an update query which changes the detail field for all records equal
to "abc company" to "abc company ltd".  Its a lot of work, would be nice to
be able to somehow click on the old and point to the new.

Some thoughts on this would be most welcome.

Abay
zaqyu - 03 Nov 2005 07:46 GMT
we need to know how many detail transactions are there so we can assess it if
coding is worth doing or just use the find and replace tool of access in the
datasheet view of your detail transaction.

> I have successfully change both master and relevant detail transactions to
> new primary key fields.
[quoted text clipped - 10 lines]
>
> Abay
Abay - 05 Nov 2005 07:17 GMT
There are many combinations of details with incorrect keys which need to be
changed to existing valid master keys.  So the count of details is different
for each group to be changed.

Does this answer your question?

Abay
> we need to know how many detail transactions are there so we can assess it
> if
[quoted text clipped - 20 lines]
>>
>> Abay
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.