Home > database >  Why destroy the code behind the error PB
Why destroy the code behind the error PB

Time:09-15

Uo_zfb_wx_pay luo_pay
Luo_pay=create uo_zfb_wx_pay
If luo_pay. Uf_zfb_sf (dec (sle_2. Text), trim (sle_fkm. Text))=1 then//pay treasure payment success

Gstr_wxzfb. Ewm=trim (sle_fkm. Text)
Destroy luo_pay

The Else//pay treasure payment failure
Destroy luo_pay
Gstr_wxzfb. Ewm='
Enclosing enabled=true
Sle_fkm. Enabled=true
Sle_fkm. Text='
Cb_no. Enabled=true

Return
ENd the if

When the function returns to either 1 or fail, go into this. Enabled=true will collapse, the code is written in cb_1 clicked, say what object reference is empty?

CodePudding user response:

And this enabled has nothing to do, to check your uf_zfb_sf code inside, see if it has received the return value but not enough space to initialize a string

CodePudding user response:

This is not to create

CodePudding user response:

reference 1st floor pb8 response:
and this enabled has nothing to do, to check your uf_zfb_sf code in it, and see if it has received the return value but not enough space to initialize the string
went to the line fault, UO for there is no problem, just like in the code. This enabled=true is replaced by cb_1. Enabled=true good, because the code is written in the click event of cb_1 of,
  • Related