Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

In forms on Do_key('List_values')

Posted on 1999-06-25
1
Medium Priority
?
5,418 Views
Last Modified: 2012-08-13
I have a text item which is associated to a LOV and in the trigger Key_Listval I wrote the code to handle the LOV. But the problem is I have a button on the same canvas and block for the When-Button-Pressed trigger I wrote
Do_key('List_Values'); but instead of raising the trigger I am getting an error "Field Doesnot Understand Operation". Why is it happening. It is happening when the cursor is in the text item I am pressing the button.

Any help is greatly apprciated.

0
Comment
Question by:lesa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
dslavin earned 80 total points
ID: 1087086
In your WHEN-BUTTON-PRESSED trigger, you should first navigate to the text item, and then perform the DO_KEY operation.  Something like this:

go_item('block1.item1');
Do_key('list_values');

The other possibility is that you can set the MOUSE NAVIGATE property of the button to FALSE. This is so when you press the button, you are not navigating to it, so that the cursor will remain at the text item and the LOV will work.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question