Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
phila
in reply to: MechMachineMan

Thank you for the reply.

I'm trying to learn/understand code writing, how it works, and how to apply it. All help and explaination is much appreciated.

 

Still don't completly understand your explaination on how it works and why it would be used over something more simplistic.

More study needed to get a good understanding of what it does and why to use it.

 

I found other iLogic code here on the forum where they were saving to a folder and if it didn't exist, create it.

 

This what I ended up with that does work.

 

oFolder = ThisDoc.Path & "\PDF FILES"

 

'Check for the PDF FILES folder and create it if it does not exist

If Not System.IO.Directory.Exists(oFolder) Then

System.IO.Directory.CreateDirectory(oFolder)

End If

 

Does this create or allow problems?