Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2017
    Posts
    3

    Unanswered: copying data from a recordset with >1 records into records of different type

    My current scheme that does not work:

    - The user selects a number of records from a folder list
    - They are moved into a recordset
    - In a FOR loop I copy a number of fields of the current record in the set to local variables
    - Then select a given destination folder
    - Then add a new record of another type than the recordset
    - Copy the items in the local variables to the new record

    During execution of the last item, I get a script failure:

    "The action can be executed only with the 'Parts (Project)' record type."

    The new record is of the Parts (Project) type.

    If I move the last item out of the FOR loop theres no error, but then I can not select
    more than 1 record in the beginning of the script.

    Is there a way around this?

    Thanks in advance for any help.

  2. #2
    Join Date
    Oct 2013
    Location
    Philippines
    Posts
    106
    Hi yulquen74,

    You cannot copy records of different record type.

    Thanks

    Ernie

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •