no luck with dadabik and msde or sybase

joeharth

New member
Is there a list of steps to make dadabik work with msde 2000? I tried 4.1 and 4.2 with msde 2000a from unix using freetds and from widows using apache 2 and php 4.4.6. the first errors where the inserts in identity fields but now i dont get any values in the pulldowns for the field lists. does dadabik 4.0 work with msde better can i get i copy?
 

joeharth

New member
Not sure why this happened, the debug log wont show much helpful information but it looks like the bug is comming from the driver.

I added a MetaColumn function to the mssql driver, slightly modified from the sybase driver version. Got the insert and searchs working but still have a couple of bugs to work on.

function &MetaColumns($table,$upper=false)
{

$false = false;
if (!empty($this->metaColumnsSQL)) {

$rs = $this->Execute(sprintf($this->metaColumnsSQL,$table));
if ($rs === false) return $false;

$retarr = array();

while ($row = $rs->FetchRow()) {


$fld =& new ADOFieldObject();
$fld->name = $row[0];
$fld->type = $row[1];
$fld->max_length = $row[2];
$retarr[strtoupper($fld->name)] = $fld;

}

$rs->Close();
return $retarr;
}
return $false;
}
 
Top