Hi David,
It is recommended to start your own thread when posting a new question, as posting a question in an answered thread tend to be overlooked.
Anyway, for the item with the hyperlink: go into format editor, under the website address, use http://$b1$/link?table=ORDR&key=I001, then going into X-2, use 'http://$b1$/link?table=OSCL&key='+totext({ORDR.DocNum},0,"","")
You only use Command.DocNum if you build your table with the "Add Command" function in Database Expert.
Regards,
Joseph