I have a table paiments and a clone of it paiments_copy
I use the copy to filter records, and to delete records already in paiments
At the end of the script i want to import records from paiments_copy into paiments.
So my script looks like this
set variable ($$file; value: Get(FilePath)
Import Records (nodialog; "$$file"; Add; Mac Roman)
Sorry if there are wrong commands, I use FM german.
My problem is, I can tell him the target Table, but I cannot tell FM the source table. Even though I am in the layout paiments_copy, it takes another table and imports records which have nothing to do with paiments. Is there any solution to this problem?