heartbeat
5th August 2016, 06:07
stpapi.put.field("tccom4130s000","tccom130.cadr",str$(p.cadr))
stpapi.put.field("tccom4130s000","tccom130.nama",str$(f.addr.nama))
stpapi.put.field("tccom4130s000","tccom130.ccty",str$(f.ccty))
stpapi.put.field("tccom4130s000","tccom130.pstc",str$(f.pstc))
stpapi.put.field("tccom4130s000","tccom130.cste",str$(f.cste))
stpapi.put.field("tccom4130s000","tccom130.ccit",str$(f.ccit))
stpapi.put.field("tccom4130s000","tccom130.tzid",str$(f.tzid))
stpapi.put.field("tccom4130s000","tccom130.telp",str$(f.telp))
stpapi.put.field("tccom4130s000","tccom130.tefx",str$(f.tefx))
stpapi.put.field("tccom4130s000","tccom130.vatl",str$(f.vatl))
stpapi.put.field("tccom4130s000","tccom130.coaf",str$(f.coaf))
stpapi.put.field("tccom4130s000","tccom130.ln01",str$(f.ln01))
stpapi.put.field("tccom4130s000","tccom130.ln02",str$(f.ln02))
stpapi.put.field("tccom4130s000","tccom130.ln03",str$(f.ln03))
stpapi.put.field("tccom4130s000","tccom130.ln04",str$(f.ln04))
stpapi.put.field("tccom4130s000","tccom130.ln05",str$(f.ln05))
stpapi.put.field("tccom4130s000","tccom130.ln06",str$(f.ln06))
result = stpapi.insert("tccom4130s000",true,error.msg)
if result = 1 then
result = stpapi.enum.answer("tccom4130s000","tccom4130.1",tcyesno.yes)
else
result = stpapi.recover("tccom4130s000",error.msg)
endif
I want to add new address but the telephone is duplicate. Please recommend click ok for dailog.
stpapi.put.field("tccom4130s000","tccom130.nama",str$(f.addr.nama))
stpapi.put.field("tccom4130s000","tccom130.ccty",str$(f.ccty))
stpapi.put.field("tccom4130s000","tccom130.pstc",str$(f.pstc))
stpapi.put.field("tccom4130s000","tccom130.cste",str$(f.cste))
stpapi.put.field("tccom4130s000","tccom130.ccit",str$(f.ccit))
stpapi.put.field("tccom4130s000","tccom130.tzid",str$(f.tzid))
stpapi.put.field("tccom4130s000","tccom130.telp",str$(f.telp))
stpapi.put.field("tccom4130s000","tccom130.tefx",str$(f.tefx))
stpapi.put.field("tccom4130s000","tccom130.vatl",str$(f.vatl))
stpapi.put.field("tccom4130s000","tccom130.coaf",str$(f.coaf))
stpapi.put.field("tccom4130s000","tccom130.ln01",str$(f.ln01))
stpapi.put.field("tccom4130s000","tccom130.ln02",str$(f.ln02))
stpapi.put.field("tccom4130s000","tccom130.ln03",str$(f.ln03))
stpapi.put.field("tccom4130s000","tccom130.ln04",str$(f.ln04))
stpapi.put.field("tccom4130s000","tccom130.ln05",str$(f.ln05))
stpapi.put.field("tccom4130s000","tccom130.ln06",str$(f.ln06))
result = stpapi.insert("tccom4130s000",true,error.msg)
if result = 1 then
result = stpapi.enum.answer("tccom4130s000","tccom4130.1",tcyesno.yes)
else
result = stpapi.recover("tccom4130s000",error.msg)
endif
I want to add new address but the telephone is duplicate. Please recommend click ok for dailog.