I am trying to copy data from a field in another file and paste it into the current file using a script. The data doesn't load into the clipboard in the following windows example:
Create two databases, name one 'COPY' one 'PASTE'
Create one field in each, name one 'NAME' in the 'COPY' file, name one 'ID' in the 'PASTE' file.
Enter sample data into the 'NAME' field of the 'COPY' file. (e.g. FRED)
copy some junk into the clipboard (e.g. hhhhhh)
Define a relationship in the 'PASTE' file named 'copypaste' 'NAME=ID'
Create a script in the 'PASTE' file named 'pastefrmcopy'
script line 1: Copy[select, copypaste::NAME]
script line 2: Paste[select,"ID"]
run script
ANY IDEAS ?
I realise that there may be many work arounds, the one I am currently using is to copy in the target file and call an external subcript in the destination file which pastes from the clipboard, messy isn't it.
I can use the set field command only if both fields are global.