×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    8

    How Do I Save Fields in Appuifw.Form to File?

    How Do I Save Fields in Appuifw.Form to File?

    My English Bad.

    I research this but i can't find

    Please Tell me..
    Master Coder!

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,801

    Re: How Do I Save Fields in Appuifw.Form to File?

    Quote Originally Posted by cw2ebm View Post
    How Do I Save Fields in Appuifw.Form to File?

    My English Bad.

    I research this but i can't find

    Please Tell me..
    Hi and welcome to the Python DiBo !

    Please have a look at the below mentioned article in the Wiki.

    http://wiki.forum.nokia.com/index.php/How_to_use_Forms

    In the same code you could add few lines in the main to record the items to a text file.

    Suppose f is your file handler, then you could use
    Code:
    a=myForm.getMobile( )
    b=myForm.getModel( )
    c=myForm.getAmount( )
    d=myForm.getDate( )
    e=myForm.getTime( )
    
    FORM_FILE = #Your path here
    
    f=open(FORM_FILE,'wt')
    f.write(a)
    f.write(b)
    f.write(c)
    f.write(d)
    f.write(e)
    f.close()
    Just made it simpler and elaborated so that you can understand.

    Hope that helps,

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    8

    Re: How Do I Save Fields in Appuifw.Form to File?

    croozeus ; Thanks you.

    I will ask very question
    Master Coder!

Similar Threads

  1. Carbide Build PKG file to SISX - Phone says: "Can't Install"
    By mikedeklerk in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 6
    Last Post: 2009-05-19, 08:23
  2. PED and signing.
    By IX in forum Symbian
    Replies: 11
    Last Post: 2008-04-21, 01:15
  3. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  4. how to save file & how to save settings?
    By MGvision in forum Mobile Java General
    Replies: 2
    Last Post: 2007-06-13, 13:56
  5. Contacts fields order??
    By timatima in forum Symbian
    Replies: 1
    Last Post: 2007-06-08, 13:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×