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
-April Thunder
Posted on: 12:16 am on September 27, 2006
Storyman
Hi April,
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.
Posted on: 12:57 am on September 27, 2006
Alaska
April -
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.
Disclosure:
Our company's websites' content (including this website's content) includes advertisements for
our own company's websites, products, and services,
and for other organization's websites, products, and services.
In the case of links to other organization's websites,
our company may receive a payment, (1) if you purchase products or services,
or (2) if you sign-up for third party offers, after following links from this website.
Unless specifically otherwise stated, information about other organization's products and services,
is based on information provided by that organization,
the product/service vendor, and/or publicly available information - and should
not be taken to mean that we have used the product/service in question.
Additionally, our company's websites contain some adverts which we are paid
to display, but whose content is not selected by us, such as Google AdSense ads. For more
detailed information, please see Advertising/Endorsements Disclosures
Our sites use cookies, some of which may already be set on your computer. Use of our site
constitutes consent for this. For details, please see Privacy.
Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.