Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

DataWindow issue ......Please help -- Urgent

$
0
0

When I click on the  Assurance button found on the Item screen, the  Assurance screen appears, but the cursor just spins. The only way I can stop it is to CTRL+ALT+DEL and get completely out of  the system. The dataobject of the Assurance screen returns data fine.

 

Below is the item screen  user event that calls the Assurance screens that just hung :

UE_ASSURANCE

 

pLEASE HELP

 

//-------------------------------------------------------------------

// Process any pending changes before moving onto the next screen.

// Get current comm_device and pass it to the comm_ids window.

//-------------------------------------------------------------------

Long  l_row;

 

 

dw_1.TriggerEvent("ue_processchanged")

 

 

IF message.returnvalue < 0 THEN

   RETURN 0

END IF

 

 

l_row = dw_1.GetRow()

IF l_row <= 0 THEN

          RETURN 0

END IF

 

 

i_str_pass.s_action = "RETRIEVE"

i_str_pass.s[1]     = dw_1.getItemString( l_row, "i_tax_item", PRIMARY!, FALSE )

 

 

//We need to understand how the message object works.  For whatever reason,

//  when the win_title is null, the screen uses it's original title.  We should

//  be able to clear the whole structure maybe before we load it.

setnull(i_str_pass.s_win_title)

message.fnv_set_str_pass(i_str_pass)

 

 

//open(w_assurance)

i_str_pass.s_win_title = "Assurance"

g_w_frame.fw_open_sheet &

          ("w_assurance", 0, 1, i_str_pass)

 

 

RETURN 0


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>