Hi Hilary,
Thanks for this valuable information. i tried with this.. but my form is giving SOAP error.
Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
<detail><errorstring xmlns="schemas.microsoft.com/.../detail>
in the very first function of Check out file.