Message 1 of 5
Default BOM Structure get a line in my code to fail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a very complete code. That normaly work... But that change if just one iam is set to Phantom in Default BOM Struture.
the code that fail is this line
strFileName = brow.ReferencedFileDescriptor.FullFileName
I use it later in this line
oDate1 = oFS.GetFile(strFileName).DateLastModified
what i want to know is why is it fail and is there a workaround to fix it ?
I look like i have fix it with the code below .. but because of the complex natur of my code ... it is really harde to see if that is any way it can cause error in my data output I get by running the code.
Try
strFileName = brow.ReferencedFileDescriptor.FullFileName
debug(strFileName & " error did not happen")
Catch
debug(strFileName + " error happen")
end try