Hello, I have 2 popuplists on a form. The first list is filled from a database containing the list items. When a user selects an item the program should open a database that has the same name as the list item selected. Then it should fill fill the second popuplist with everything in the database. The problem that i am having is opening the database with the name from the list. According the SDK DmFindDatabase needs the card number and a character pointer. The card number is 0, and the CharPtr is retrieved from the list. If i display the CharPtr in a messagebox it displays the correct selection, but for some reason DmFindDatabase does not like it. If we hard code the database name into DmFindDatase it finds it and returns an ID. Any help will be greatly appreciated.. Alex
