Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, July 6, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: read and display text file
David Ogles
Posts: 51
 
read and display text fileYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Aug 10 4:36 PM
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. I've tried a browser windows but just get the path to show up.

thank,
dave
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: read and display text fileYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Aug 10 4:51 PM
Use a Memo Control, and Load the File via Script.
[Reply][Quote]
David Ogles
Posts: 51
 
Re: read and display text fileYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Aug 10 4:57 PM
It is not giving an error, but just shows blank. here is what I have

Const conForReading = 1

Dim objFSO, objReadFile, contents
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objReadFile = objFSO.OpenTextFile("\\Slxdemo\Documents\PicsText\TEXT\New\36104.txt", 1, False)
contents = objReadFile.ReadAll
objReadFile.close
memo1.Text = contents
Set objFSO = Nothing
Set objReadFile = Nothing
[Reply][Quote]
David Ogles
Posts: 51
 
Re: read and display text fileYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Aug 10 5:08 PM
Thanks. too late in the day. memo2 instead of memo1. duh.
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: read and display text fileYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Sep 10 9:33 AM
yea, it's a good thing I've NEVER done that......
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/6/2025 7:03:05 AM