not show record after clear_form(no_validate) [message #165725] |
Fri, 31 March 2006 22:32 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
mfa786
Messages: 210 Registered: February 2006 Location: karachi
|
Senior Member |
|
|
hi master
sir first i press add button with under blow code
create_record
after this i press cancel button with this code
clear_form(no_validate);
execute_query;
first_record;
but sir my system not show record when i press view button then show all record why sir i think system show all record after cancel button becuase i give execute_query command
please sir give me idea
thank's
Aamir
|
|
|
Re: not show record after clear_form(no_validate) [message #165851 is a reply to message #165725] |
Mon, 03 April 2006 01:39 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/67467.jpg) |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Aamir,
Which block are you in when you do your 'execute_query'? I believe that you have two blocks in your form - one for data, and one for buttons and other controls. If you have mouse navigation set 'true' for your button you will have 'moved' from your data block to your control block before the 'execute_query' is executed.
So, either have mouse navigate set to 'false' for the button or have a 'go_block' to take you back to the data block before doing the 'execute_query'.
David
|
|
|