How to execute query on insert mode [message #224638] |
Wed, 14 March 2007 20:40 |
|
When I press F6 and insert new data, I validate the it and if I found that it already exist I have to display the details on my details block. So I have to get out of insert mode and go to query mode instead. how shoul I do?
I put these codes but it's just work as query all, not by the two fields I have specified values.
clear_form(no_validate);
:clm_usr.user_no := :parameter.user_no;
:clm_usr.username := :parameter.username;
execute_query(no_validate);
[Mod-edit: corrected closing /code-tag]
[Updated on: Thu, 15 March 2007 03:18] by Moderator Report message to a moderator
|
|
|
|
|