how do you insert external document into database
this is really too vague.
if you have a layout with a container field accessible in browse mode, you can either right-click on it and choose Insert picture (or file, or PDF), or choose an item from the Insert menu.
If you're talking about scripting, then you have to use the insert script steps, and these can insert a file from a path that is
Please try to be a little more specific, it will help us helping you.
You can Drag and Drop your field into a Container field.
Then there is script steps where you can choose a specific file Insert file where your user can pick a file in dialog
Retrieving data ...