Doorgaan naar de website
OCLC Support

MoveRecord

Find the syntax, use, parameters, return values, and an example for the MoveRecord macro command in Connexion client.
Syntax CS.MoveRecord (sToFile)
Use to Move a local file record or records selected in a local file list to another, existing local file that you specify.

Same as using the Action > Move Record menu command.
Parameters For sToFile, enter the full path and file name of an existing local file to which you want to move the record(s).
Comments The macro command must specify an existing path and file name, or the macro will fail. It does not create folders in the path or the file.
Return values TRUE if the action is successful, or FALSE if not.
Example Sub Main()

     Dim CS As Object
     Set CS = GetObject(,“Connex.Client”)

     CS.MoveRecord “d:\Data\NewBib.bib.db”
End Sub

What this example does
  • Moves the current local record or records selected in a local file list to the NewBib.bib.db file in the \Data folder of the D drive.
  • Removes the record(s) from the original file.