Alerts showing before rows are bounced to screen..... [message #78450] |
Mon, 25 February 2002 07:20 |
nik
Messages: 55 Registered: January 2002
|
Member |
|
|
I am showing an alert in a key-nxt-item in 4.5, here is my code;
declare
alert_button number;
begin
validate_referral;
next_block;
execute_query;
next_block;
execute_query;
go_item('entry_blk.referral_id');
fire_al; /* here i call procedure which invokes an alert */
----------------------------
But it SEEMS to call the alert before the execute queries even though call to fire_al is after next_block, execute_queries. In my alert I ask user whether details are correct, but even though the form has executed the query it only populates the fields on the screen AFTER acknowledging the alerts. This seems strange to me. Generally i am asking user to confirm details that are not showing on screen. If i insert a PAUSE; before FIRE_AL, then rows are retrieved before alert is shown, which is exactly what I want. Hope this seems clear i would like to send a screenshot to clarify...... any ideas anyone please?
end;
|
|
|
|
|
|