Hi! For some reason, I can't get the FILEREAD command to work the way it's supposed to. I've posted this question under the discussion thread "Populate a form from a file", but so far, no one has seen my posting. I'd really appreciate it if someone could help me with this.... I'm about to finish a new ebook, but I need this feature to work before I can come out with it
You've probably already double checked your code, but check it again against the help file. Usually it's an error in the coding that prevents it from working correctly.
It's odd that your post doesn't show up in the chronological listing. Don't know why...
Here is a link to a zipped ebook project; the ebook reads and writes a file; it doesn't use the FileRead function, as FileRead reads in the entire contents in one long string, and you have to parse it, or use multiple files.
But, if I recall, the FileRead syntax is available to read in the demo file, to be helpful - I just didn't use it... I wrote to and read a .js file instead.
With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.