I just found out, that you even't can't use DBI::Table, if 2 (or more) identical rows in your database...
HELP!!!
element "18-02-2005 09:45:10" already exists at E:/Perl/site/lib/Tk.pm line 228.
at E:/Perl/site/lib/Tk/Derived.pm line 467 | [reply] |
The way Tk::DBI::Table currently works, is that the first column selected is assumed to be a primary key, and so it must be unique. If you have no unique columns, then you're out of luck. I have an idea how the module should be patched, but no time to work on it. I've also emailed the author but have not heard back yet.
And to answer your earlier question, no, I can't sort on the first column either.
| [reply] |