var mystring='insert into FileDetails(FD_Comment,Location_Id, FD_Date,FD_Purpose,PD_Location,PD_Cost,File_Id) values("'+fdcomment+'",{0},"'+fddate+'","'+fdpurpose+'","'+fdlocation+'","'+fdcost+'",{1})';
var vvlocationid=getApp().globalData.CurrentLocation;
var vvfileid=this.data.File_Id;
AV.Query.doCloudQuery(mystring,format(vvlocationid,vvfileid)).then(function (data) {
报错
format is not defined;