The copy from window to table statement transfers the contents of all auto-copy fields from the specified window to the specified table buffer for the current form.
copy from window window_name to table table_name
• window_name – The name of the window you want to copy the field contents from.
• table_name – The name of the table buffer you want to copy the field contents to.
The copy from window to table statement can access table buffers and windows for only the current form. The copy from window to table statement can’t be used to copy information from a window in one form to a table buffer in another form.
You can’t use the copy from window to table statement in a procedure because the current form isn’t known and can’t be specified. You can use the statement in a form level procedure because the current form is implied by where the form level procedure is attached.
Window fields are specified as auto-copy using the AutoCopy property in the Properties window.