![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Populate DBE list Topic Summary: How to... Created On: 3-Jan-2008 12:42 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I'm trying to create an user form to create new users,
What i need to know is how to populate a list box using the code attached. I'm new at this. |
|
![]() |
|
![]() |
|
Looks like you got it right. Your code works for me.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
I know it's right, thanks. I need someone to help me modify this one so the list populate the USERS in my database.
|
|
![]() |
|
![]() |
|
The insert command is used to put items in a list DBE. Just loop through the userList as we've previously shown you, inserting the name of each user.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
|
![]() |
|
Ok I did what you said and is not working. Can you help. Thanks!
|
|
![]() |
|
![]() |
|
On this line:
insert(listCopyUser,noElems(listCopyUser),name u) "name()" is a function to return the name of say, a module. To get a user's name, do: u.name But I think you'll have to assign it to a string instead of using it directly in the function call. You're also missing a close brace in the uList() function, and you probably want to call it! See attached. Take heart! DXL can be tricky to learn, but stay with it and it'll make more sense as you go. Hope that helps, Chris |
|
![]() |
|
![]() |
|
Hi,
I've tried the script and I've got: -R-E- DXL: <Line:10> An unexpected error has occurred: doors.exe caused an EXCEPTION_ACCESS_VIOLATION in module doors.exe at 001B:005A9827 Backtrace: <Line:19> -I- DXL: execution halted |
|
![]() |
|
![]() |
|
Take out the call to loadDirectory().
You only need to do this if you are going to update the user directory, and you only want to load it once! ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Thank you Tony
|
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Populate DBE list
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.