Thanks for your answer, Manu.
But, if there are no Weights in DBMan SQL, what, in that case, means this sub (this is a part of GT::SQL::Table, sub new):
{ # Check for weights or file columns and set _file and _index accordingly
my ($found_file, $found_weight);
my $c = $self->{schema}->{cols};
for (keys %$c) {
if (!$found_file and $c->{$_}->{form_type} and uc $c->{$_}->{form_type} eq 'FILE') {
$self->_file_cols();
$self->{_file} = ++$found_file;
}
if (!$found_weight and $c->{$_}->{weight}) {
$self->{_index} = ++$found_weight;
}
last if $found_file and $found_weight;
}
}
..... and so on
There are 72 files with "weight" in "admin" directory of DBMan SQL package.
Hope, you now the answer.
Regards,
Paul
But, if there are no Weights in DBMan SQL, what, in that case, means this sub (this is a part of GT::SQL::Table, sub new):
Code:
{ # Check for weights or file columns and set _file and _index accordingly
my ($found_file, $found_weight);
my $c = $self->{schema}->{cols};
for (keys %$c) {
if (!$found_file and $c->{$_}->{form_type} and uc $c->{$_}->{form_type} eq 'FILE') {
$self->_file_cols();
$self->{_file} = ++$found_file;
}
if (!$found_weight and $c->{$_}->{weight}) {
$self->{_index} = ++$found_weight;
}
last if $found_file and $found_weight;
}
}
..... and so on
There are 72 files with "weight" in "admin" directory of DBMan SQL package.
Hope, you now the answer.
Regards,
Paul