How can I display a text file in the SalesLogix Account Detail Form?

Question:

I have text files that I want to display the contents of in a field on the account main screen. In the account table, I have a field that references the specific text file. How would I go about adding that to the account form?

Answer:

Const conForReading = 1

Dim objFSO, objReadFile, contents
Set objFSO = CreateObject(“Scripting.FileSystemObject”)
Set objReadFile = objFSO.OpenTextFile(“\SlxdemoDocumentsPicsTextTEXTNew36104.txt”, 1, False)
contents = objReadFile.ReadAll
objReadFile.close
memo2.Text = contents
Set objFSO = Nothing
Set objReadFile = Nothing

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) news and product updates!

You have Successfully Subscribed!