in reply to Re: Tk::DBI::Table problem, is it me or a bug??
in thread Tk::DBI::Table problem, is it me or a bug??
I assume that RTFSing is reading the f... Source. If that is true then I have to admit that is something I did not do. I got this back from the developer, confirming what you said:
I then modified my sql to include the 'id' which is a unique autoincremented value - it worked. It might be buggy, but heck, if I can use this module then it will really save my bacon on a Windows job I have in hand right now.Good Morning John, you need a first field with a unique content to adress a row for the c +ommand callback. Ok, here a little trick: sub doDBItable { my $top = MainWindow->new; my $tkdbi = $top->DBITable ( -sql => 'select CONCAT(name,pseudonym,age),* from user', -dbh => $dbh, -display_id => 0, # --- dont display the merged id! -debug => 1,)->pack(expand => 1, -fill => 'both'); } I hope this helps.
Thanks for your help, I will go and look at the source when this job is out of the way.
...john
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Tk::DBI::Table problem, is it me or a bug??
by Courage (Parson) on Aug 07, 2003 at 12:52 UTC | |
by TonyDonker (Novice) on Feb 18, 2005 at 10:00 UTC |