cherokee
21st January 2005, 21:31
Hello everyone,
I am haveing problems with this session timrp1101m000, even the record key does not exits(item,date), it gives back error "Record already exist" and does saves.
stpapi.put.field("timrp1101m000","timrp001.item",t.item)
stpapi.put.field("timrp1101m000","timrp001.cntr",dummy.cuni)
stpapi.put.field("timrp1101m000","timrp001.fdat",str$(t.date))
stpapi.put.field("timrp1101m000","timrp001.fqan",str$(fqan))
stpapi.insert("timrp1101m000",true,error)
if not isspace(error) then
stpapi.recover("tiitm1101m000",error)
endif
stpapi.end.session("timrp1101m000")
Can you see any problem with this coding?
Thanks in advance,
Carlos
I am haveing problems with this session timrp1101m000, even the record key does not exits(item,date), it gives back error "Record already exist" and does saves.
stpapi.put.field("timrp1101m000","timrp001.item",t.item)
stpapi.put.field("timrp1101m000","timrp001.cntr",dummy.cuni)
stpapi.put.field("timrp1101m000","timrp001.fdat",str$(t.date))
stpapi.put.field("timrp1101m000","timrp001.fqan",str$(fqan))
stpapi.insert("timrp1101m000",true,error)
if not isspace(error) then
stpapi.recover("tiitm1101m000",error)
endif
stpapi.end.session("timrp1101m000")
Can you see any problem with this coding?
Thanks in advance,
Carlos