Table doesn´t save data

Discussion in 'Questions (Windows Mobile)' started by JOTHA, Aug 28, 2008.

  1. JOTHA

    JOTHA Well-Known Member Licensed User

    Hello experts in the forum,

    I am a Newbie on B4P and I have a special problem, maybe some of you experts can help me ...

    I made a sample in which I want to save data in a table.

    In the first step it seems to work, but if I open the sample again, the data is not saved correct.


    I make the first dataset with the Firstname (Vorname) "Max" and the Lastname (Nachname) "Muster". The result should be "Max Muster".
    Then I make the second dataset with the Firstname (Vorname) "Paul" and the Lastname (Nachname) "Meier". The result should be "Paul Meier".

    When I close the sample, the data should be saved into a CSV-Table and into a XML-File.

    After that I open the sample again, the results are "Max Nachname" and "Vorname Muster".

    When I add a third dataset, the problem gets bigger ...

    The next problems are: I doesn´t save the value of the RadioButton "mit Partner" and "ohne Partner". And it doesn´t save the values from the CheckBoxes.

    Can someone help me please?

    I attached the sample, excuse me because it is in german, but I hope that doesn´t matter in understanding the code problems. Excuse me if my english isn´t good to explain the problem ... please have a look on the sample.

    Thank you in advance! :sign0085:
  2. Cableguy

    Cableguy Expert Licensed User

    I would suggest to create an extra "trouble shoot" form with a multiline textbox, and simultaneously to writing the files, send the files combinated string to the textbox, in order to preview the text...
    I think that your problem is that you are either jumping one header or miss-reading the rows...

    If you mean that the savecsv or savexml methods are not saving this info, that is because the method only retrieves the table content..
    My suggestion would be to create your own custom csv and xml files...

    Since your comments are in german and all control texts too, I cannot offer you any specific help, also your app does alot more than your simple problem...
    perhaps creating a simpler trouble-shoot project would make it easier to find a solutions for this problem...

    Again, sorry for my litle help, as I dont understand german...
  3. JOTHA

    JOTHA Well-Known Member Licensed User

    Hello cableguy,

    thank you for your reaction.

    I think it would be the best to translate the sample into english (as you said), so there is a better understanding.

    If there is someone who knows more german - it would be great ...
  4. Erel

    Erel Administrator Staff Member Licensed User

    Please try to save all data with SaveCSV instead of SaveXML and see if it solves this problem.
  5. klaus

    klaus Expert Licensed User

  6. Cableguy

    Cableguy Expert Licensed User

  7. specci48

    specci48 Well-Known Member Licensed User

    ...or using the google translator. That's my way to "read" portugese... ;)

  8. JOTHA

    JOTHA Well-Known Member Licensed User

    Thank You All

    Hello Erel, Cableguy, Klaus und specci48,

    thank you all for your answers!

    This is a great Forum for a great software !!!

    @ Erel: I tried this at first, but it didn´t help (see the answer from Klaus later).

    Klaus helped me in the german forum, so I think this problem is successfully solved.

  9. klaus

    klaus Expert Licensed User

    Hi specci48 and Cableguy,

    I use Google Translator too to read Protuguese, Spanish and Italian. I once even tried Chinese. Works not too bad. However sometimes you need a certain imagination to really understand the original text. But for shure it's much better than nothing.

    Best regards.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice