D drlebey New Member Licensed User Longtime User Sep 8, 2010 #1 Can someone please make a short csv app and an xml app showing how to use those files in the following way? Loading the files Assigning values from cells of file to labels or textboxes. Saving data from textboxes into the file. Parsing it for specific data from a textbox. Thank you very much. :sign0104:
Can someone please make a short csv app and an xml app showing how to use those files in the following way? Loading the files Assigning values from cells of file to labels or textboxes. Saving data from textboxes into the file. Parsing it for specific data from a textbox. Thank you very much. :sign0104:
M mjcoon Well-Known Member Licensed User Sep 8, 2010 #2 That's a bit needy! It's difficult to demonstrate CSV and XML reading without sample files (and knowing where they originate and thus what they contain). In particular, both files are liable to contain multiple data records, so they require to be processed in a loop. For the case of XML, there are demo programs and a sample XML file with Andrew Graham's XML.dll library. See http://www.b4x.com/forum/additional-libraries/3385-xml-library.html#post19094. Mike.
That's a bit needy! It's difficult to demonstrate CSV and XML reading without sample files (and knowing where they originate and thus what they contain). In particular, both files are liable to contain multiple data records, so they require to be processed in a loop. For the case of XML, there are demo programs and a sample XML file with Andrew Graham's XML.dll library. See http://www.b4x.com/forum/additional-libraries/3385-xml-library.html#post19094. Mike.
D drlebey New Member Licensed User Longtime User Sep 8, 2010 #3 Sorry about the neediness. Thank you for the reply. I have looked at the XML posts before I post. I am off using XML for now. I did find a post about CSV files being opened and got it working. Maybe someone can just post a small code snippet on how to save a CSV file that would be great. :sign0013: Added- I forgot about the samples given with basic. I found a good example in the samples. Last edited: Sep 8, 2010
Sorry about the neediness. Thank you for the reply. I have looked at the XML posts before I post. I am off using XML for now. I did find a post about CSV files being opened and got it working. Maybe someone can just post a small code snippet on how to save a CSV file that would be great. :sign0013: Added- I forgot about the samples given with basic. I found a good example in the samples.