volvomann Active Member Licensed User Longtime User Apr 25, 2012 #1 Hallo i have made an app ther ii do div calkulation, the answer is cominig out in sevreal edittextbox, My troubele are to save the result in a csv file so I can get them back in the edithboxes. Can any one give som hint how i can do that, my be a litel an litle test that i leran from.
Hallo i have made an app ther ii do div calkulation, the answer is cominig out in sevreal edittextbox, My troubele are to save the result in a csv file so I can get them back in the edithboxes. Can any one give som hint how i can do that, my be a litel an litle test that i leran from.
Erel B4X founder Staff member Licensed User Longtime User Apr 25, 2012 #2 Seems to me that a Map should be a better solution in this case: Code: Dim m As Map m.Initialize m.Put("EditText1", EditText1.Text) m.Put("EditText2", EditText2.Text) File.WriteMap(...) Upvote 0
Seems to me that a Map should be a better solution in this case: Code: Dim m As Map m.Initialize m.Put("EditText1", EditText1.Text) m.Put("EditText2", EditText2.Text) File.WriteMap(...)
volvomann Active Member Licensed User Longtime User Apr 25, 2012 #3 Erel said: Seems to me that a Map should be a better solution in this case: Code: Dim m As Map m.Initialize m.Put("EditText1", EditText1.Text) m.Put("EditText2", EditText2.Text) File.WriteMap(...) Click to expand... Ok thanks my app calculate bmi fitnesindex ++, if i do like this must I create a new file for evryone i test? or wil they be saved inn a sort off lits? Upvote 0
Erel said: Seems to me that a Map should be a better solution in this case: Code: Dim m As Map m.Initialize m.Put("EditText1", EditText1.Text) m.Put("EditText2", EditText2.Text) File.WriteMap(...) Click to expand... Ok thanks my app calculate bmi fitnesindex ++, if i do like this must I create a new file for evryone i test? or wil they be saved inn a sort off lits?
Erel B4X founder Staff member Licensed User Longtime User Apr 25, 2012 #4 I didn't understand that you have multiple values for each field (you didn't write it in your first post). Your best option is to use a database. Though you can use StringUtils.SaveCSV to create a CSV file. Upvote 0
I didn't understand that you have multiple values for each field (you didn't write it in your first post). Your best option is to use a database. Though you can use StringUtils.SaveCSV to create a CSV file.