version 1.107, 2007/04/02 09:48:13
|
version 1.108, 2007/04/02 12:34:51
|
Line 409 class ZSQLExtendFolder(Folder,Persistent
|
Line 409 class ZSQLExtendFolder(Folder,Persistent
|
#print "wrote: %s"%fn |
#print "wrote: %s"%fn |
|
|
|
|
def importXMLFileFMP(self,table,dsn=None,uploadfile=None,update_fields=None,id_field=None,sync_mode=False,replace=False,redirect_url=None,RESPONSE=None): |
def importXMLFileFMP(self,table,dsn=None,uploadfile=None,update_fields=None,id_field=None,sync_mode=False,replace=False,redirect_url=None,ascii_db=False,RESPONSE=None): |
''' |
''' |
Import FileMaker XML file (FMPXMLRESULT format) into the table. |
Import FileMaker XML file (FMPXMLRESULT format) into the table. |
@param dsn: database connection string |
@param dsn: database connection string |
Line 443 class ZSQLExtendFolder(Folder,Persistent
|
Line 443 class ZSQLExtendFolder(Folder,Persistent
|
options.sync_mode=sync_mode |
options.sync_mode=sync_mode |
options.replace_table=replace |
options.replace_table=replace |
options.lc_names=True |
options.lc_names=True |
|
options.ascii_db=ascii_db |
importFMPXML(options) |
importFMPXML(options) |
|
|
os.remove(filename) |
os.remove(filename) |