Why do you need to import these records from the server? (Perhaps there is a better approach).
Can you link your database to the server database so that th server's table is a remote datasource for your file?
If so, you can define a relationship between the two tables matching them by a primary key and set up the relationship so that deleting a file in your local table deletes the matching record from the server. (But I suspect that there is a better approach here.)
Thank you for your advise. I used direct the tables of the server :)..