Problem with read/update of a selected entry [message #2617] |
Fri, 27 August 2010 07:56 |
dsstanescu
Messages: 12 Registered: August 2010
|
Junior Member |
|
|
Hello,
I created a subsystem, imported the database and the tables, created the tasks/menus, everything was fine.
Now I have the following problem.
In one of the task menus, the listing (list1) of the related table is working fine, but when I select a row (any one, doesn't matter) I cannot access either read or update and I receive the error message "Nothing has been selected yet.".
This happens on only one task menu (table), in all the rest the select followed by read/update works fine.
Best regards,
Dan
|
|
|
Re: Problem with read/update of a selected entry [message #2618 is a reply to message #2617] |
Fri, 27 August 2010 09:04 |
AJM
Messages: 2371 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
I cannot possibly tell what is wrong from such a vague description, especially as this problem does not occur in any of my tests. You will have to step through with your debugger to see what selection string is constructed in the LIST1 task which is passed to the child (ENQ1, DEL1 or UPD1) task. Either a bad string is being constructed, or it is being mangled by the receiving task.
I assume that your database table does have a primary key?
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
|
|