Hello~
I'm trying to repopulate an LOV with a new record group created at runtime.
What I have working:
Created LOV and initial record group with LOV wizard. (just something basic: select department_id, department_name from department).
Created a button on my form with a when-button-pressed trigger to display this LOV.
ok, now I created a second button with a when-button-pressed trigger and this is where I am trying to create a new record group using create_group_from_query and then populate the above mentioned lov with this new record group using set_lov_property built-in.
Here's my code:
(I realize this doesn't have any practical sense, I am just trying to learn.)
I don't know where I am going wrong. This code compiled fine, and I tested the select statement, and it returned a department. The error I am receiving is "Cannot Create group Department 2".
Thank you for any tips/suggestions.

[ June 19, 2002: Message edited by: Jennifer Bhamoo ]