• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Repopulating LOV with Record group created at runtime

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Jennifer Bhamoo
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bueller....
Bueller....

No one can assist me? hints?
I've read the help in Form Builder on all the built-ins, and it appears I am doing everything fine. Based on my readings, you can repopulate an LOV with a record group, and the record group I'm using has the same structure as the initial rg, so that can't be the problem there. I'm still stumped.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic