
HELP! Trouble W/True DB Grid
Quote:
>Hello,
> Using TrueDBGrid prerelease from Apex Software Corp. 16-bit version
> with Visual Basic 4.0 Enterprise edition.
> I get an OLE AUTOMATION ERROR occur with the following code:
> Sub TDBGrid_LostFocus()
> if (TDBGrid.Columns(3).value <> "") then
> datacontrol.UpdateRecord
> end if
> End Sub
> This is what happens:
> If I am on the grid, I enter a new record, and in between, I decide
> to cancel my changes, I hit the Cancel button, which causes the Lost
> Focus event to occur for the grid and then I get hit with an OLE
> AUTOMATION ERROR (-214718342234 (-8c00f) ) etc...garbage I take it.
> The Value in Columns(3) is undefined, I have not gotten to it yet
> when I hit my cancel button.
> Can anyone help? All I wanna do is make sure that the 2 or 3
> fields I need filled, are filled in, and then I don't mind the
> record being added.
> Any help would be much appreciated..
> Thanks in advance.
>Deepak
Wow, we got the same message when we tried to do something relatively
different. Ours occured when we tried to pass a record source to a
data control on a remote client.
Silly us: we thought that distributed didn't mean ODBC configurations
on 250 remote workstations.
We called Redmond and I could tell right away that they had never
considered the possibility that we might want put a data control on a
remote client without having JET installed on each and every machine.
In other words, they were no help. The short of is that we figured
that the data control and DAO have a hard time being encapsulated. In
any event, go to WWW.APEXSC.COM (makers of dbgrid thingy) and download
a new version (16 and/or 32) and see if that helps.
Sorry I rambled.
Leighton