Home » Developer & Programmer » Forms » Query Problem
Query Problem [message #84352] Sun, 07 March 2004 15:20 Go to next message
annie
Messages: 30
Registered: March 2000
Member
hi

In my module, i've 6 canvas and 1 horizontal toolbar. I put two push buttons in the toolbar named Enter Query and Execute Query, with the following code :

  • Enter Query --[>] Enter_query;
  • Execute Query --[>] Execute_query;


when i go to a form named 'Department' and press the enter query button, the following error message appears

  • "FRM-41003 - This function cannot be performed here"


How can this problem be solved?

Thank You
Re: Query Problem [message #84353 is a reply to message #84352] Sun, 07 March 2004 19:14 Go to previous message
sameer_am2002
Messages: 129
Registered: September 2002
Senior Member
When you are trying for enter-query mode your cursor is in Toolbar Block which is non - database block and you cannot query non-database block.So in-order to perform the operation make sure either you add go_block('Your database block name') then Enter_Query or you can make mouse navigation property of button to No.Same thing applies for Execute_Query.
Previous Topic: can anybody help me out...
Next Topic: 2 dimensional
Goto Forum:
  


Current Time: Fri Jul 05 13:58:39 CDT 2024