[Gambas-user] gb.db.form driver missing
tobias
tobiasboe1 at ...20...
Wed Feb 16 21:43:49 CET 2011
good evening,
i'm testing gb.db.form for some time now and got some confusing (in fact
it is not that confusing, i can imagine the situation): i have a simple
form form->datasource->databrowser
and my code is as follows:
PUBLIC hConn AS NEW Connection
PUBLIC SUB Form_Open()
hConn.Type = ...
hConn.Name = ...
hConn.Host = ...
hConn.Open()
END
and this results in an error "driver missing" even before Form_Open() is
raised, right? if i change the code to initialize the connection in
Form_Open() everything works... i don't know if it is much trouble to
change this behavior and i don't think it is neccessary but i haven't
found anything about this. i think to make a notice or something in the
Database example would save people some time of figuring this out?
regards,
tobi
More information about the User
mailing list