C
chuck
Hi,
I have a form with a subform. The record source for the subform contains
consists of paths to external files. I'm using the apiShellExecute function
(http://www.mvps.org/access/api/api0018.htm) to open a specific file when
the control is double-clicked. All is good.
Now, I would want to able to loop through the subform's recordset and verify
if the paths are acutually valid without actually opening the file. I can
loop through the recordset just fine but I'm not sure how to only verify the
file path.
Can I do this with apiShellExecute ? None of the parameters passed to the
function appear to let me simply return an error if the file path is invalid
and NOT open the file if the path is valid.
Does another function exist that will let me do this ?
Thanks
I have a form with a subform. The record source for the subform contains
consists of paths to external files. I'm using the apiShellExecute function
(http://www.mvps.org/access/api/api0018.htm) to open a specific file when
the control is double-clicked. All is good.
Now, I would want to able to loop through the subform's recordset and verify
if the paths are acutually valid without actually opening the file. I can
loop through the recordset just fine but I'm not sure how to only verify the
file path.
Can I do this with apiShellExecute ? None of the parameters passed to the
function appear to let me simply return an error if the file path is invalid
and NOT open the file if the path is valid.
Does another function exist that will let me do this ?
Thanks