SQLEXEC(connecthandle,'INSERT INTO yourTable (imagefield) VALUES(?CREATEBINARY(yourCursor.yourMemoField))')