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 (this is
 working fine). Then it
 should fill the second popuplist with everything in the database (this is
not
 working). The
 problem that i am having is opening the database with the name from the
 list. According to 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
 (ie.. the name of the database),
 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. Also,
 DmFinddatabase will return a 0 if it could not open the database.
DmGetLastErr
 is supposed to retrieve the error code and shed some light into the
situation.
 Well the returned error code is 519, consistantly. What is 519??????? I
have
 looked into the DataMgr.h file , but none of the error codes defined equal
 519.

 I talked with code warrior because i thought it might be a compiler
problem,
 but they were no real help. The guy did say it may be something with the
palm
 os. I'm using a palm V with the os that came with it back in June?


 Any thoughts or help will be greatly appreciated..


 Alex










Reply via email to