• Insert Into/Append Qry

    Author
    Topic
    #353953

    Is there any way using the ‘Insert Into’ statement that will force the contents of an existing record to be overwritten? I have 2 tables – each keyed by social security number. If, for example, a persons address changes I want the change of address data to be applied in the target table – but since it already contains that SSN the Insert Only operation skips that record. Any ideas? Thanks in advance.

    Viewing 1 reply thread
    Author
    Replies
    • #519047

      Rather than appending a new record, consider using an Update query to update the address fields in the target table.

    • #519053

      Thanks – a combination of both the update query and append query will provide a valid solution to the task I’m trying to accomplish.

    Viewing 1 reply thread
    Reply To: Reply #519053 in Insert Into/Append Qry

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel