You Are Here:

Community: Developer Discussion Boards

#1 Old How Do I Save Fields in Appuifw.Form to File? - 2008-05-17, 18:50

Join Date: May 2008
Posts: 8
cw2ebm's Avatar
cw2ebm
Offline
Registered User
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!
Reply With Quote

#2 Old Re: How Do I Save Fields in Appuifw.Form to File? - 2008-05-17, 19:25

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Online
Forum Nokia Champion
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
Reply With Quote

#3 Old Re: How Do I Save Fields in Appuifw.Form to File? - 2008-05-18, 09:28

Join Date: May 2008
Posts: 8
cw2ebm's Avatar
cw2ebm
Offline
Registered User
croozeus ; Thanks you.

I will ask very question


Master Coder!
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Carbide Build PKG file to SISX - Phone says: "Can't Install" mikedeklerk Carbide.c++ IDE and plug-ins 6 2009-05-19 09:23
PED and signing. IX Python 11 2008-04-21 02:15
Error with makesis.exe and creating the .pkg file gramya87 Symbian Tools & SDKs 7 2007-10-10 14:53
how to save file & how to save settings? MGvision Mobile Java General 2 2007-06-13 14:56
Contacts fields order?? timatima General Symbian C++ 1 2007-06-08 14:51

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia