Populating a pop-list with a coloumn from a table, on Forms 4.0
Date: 1997/08/07
Message-ID: <01bca32f$c4c27540$d3793ec2_at_naheed.abbas.ans.alcatel.co.uk>#1/1
[Quoted] I want to have the entries from a coloumn in a table populate a pop-list. It doesn't sound that difficult.......
- I've made a record group with two columns that are the same.
- I've placed a list down on the form.
I think i need to create a trigger to execute "populate_list", but all the triggers that I've tried have not worked. This is the layout of the trigger i have been using:
Declare
list_id Item := Find_Item('the_list'); recgrp_id RecordGroup := Find_Group('the_recgrp'); Begin do_key( 'Populate_List(list_id, recgrp_id)' );End;
If I attach this text to a when-button-pressed trigger, in run-time i get the message:
FRM-41004: Function key not allowed in this mode.
If I remove do_key from the trigger i get this message if i compile the text
Error 313 Populate_list not declared in this scope.
So, how do i get the values form the record group into the pop-list?
Thanx, Nahaad's friend. Received on Thu Aug 07 1997 - 00:00:00 CEST