Joel Lahey wrote:
> Jeff,
> I went to the site you listed, and downloaded the latest MDAC2.1 drivers (a 6.7
> meg executible named "mdac_typ.exe" which is pointed to by the link "MDAC
> 2.1.2.4202.3 (GA), installed them, and tried it.
> Result:= no change;
> Not knowing much about ODBC, I'm at an impass. I've removed the install of D5 (and
> D4, and D3), reinstalled D4 and still got the same thing.
> "Jeff Overcash (TeamB)" wrote:
> > D5 beta installs MDAC2.1 during its install for the ADO stuff. Part of that is
> > installing an updated ODBC driver for Access. There is a bug in the ODBC driver
> > and it returns double the size (IIRC, this is off the top of my head). You need
> > to goto MS's site and download a newer copy of MDAC, I beleive it is fixed in
> > that one but not positive. Sorry I can't be of more help on this one. Goto
> > http://www.microsoft.com/data/download.htm and get the latest release of 2.1.
> > Unfortunately the BDE is ODBC2.5 compliant and the ODBC drivers in MDAC2.1 are
> > 3.0 (or maybe 3.5 ?) so this might not fix it. If this does fix it how about
> > dopping a note saying so. This is going to be a common question I beleive and
> > it would be nice to make sure this fixes it.
> > Joel Lahey wrote:
> > > Would like to make an offering to the Delphi Gods, but I'm in Iowa and
> > > we're fresh out of {*word*269}s...so hopefully I can do this on good credit.
> > > Just call me Cain...
> > > Here's the situation. I have (had) a working program written in
> > > Delphi 4. Currently uses the BDE to connect to an Access 97 table
> > > (actually to 5 tables within one database). Using either my newly
> > > installed version of D5, or my old working copy of D4, I now get an
> > > error stating:
> > > {tablename}: size mismatch for field '{fieldname of first field in
> > > table}', expecting: 30 (which is right) actual: 60 (always is double)
> > > The program actually throws this up at runtime, and by stepping through
> > > the code I've found that it gets this error on the line that effectively
> > > reads:
> > > {datamodule name}.{table component}.activate;
> > > If I look at my table in the BDE, I find that all of my "text" fields
> > > have sizes that are doubled.
> > > Anyone have any ideas...? Has anyone else tried to "migrate" an
> > > existing working DB program from D4 to D5? Oh, point of note, I did
> > > allow the install to do the ADO "install", but that's the main reason
> > > I'm updating to D5, to use the ADO and try to get around the BDE...
> > > Joel T. Lahey
> > > lah...@ncs.com
> > --
> > Jeff Overcash (TeamB)
> > (Please do not email me directly unless asked. Thank You)
> > And so I patrol in the valley of the shadow of the tricolor
> > I must fear evil. For I am but mortal and mortals can only die.
> > Asking questions, pleading answers from the nameless
> > faceless watchers that stalk the carpetted corridors of Whitehall.
> > (Fish)
> > --