Hi,
is it possible to use the old DBGrid to display the data of an Access 2000 database? I am trying to do that but I am receiving an error message that says that the format is invalid.
Thanks.
Printable View
Hi,
is it possible to use the old DBGrid to display the data of an Access 2000 database? I am trying to do that but I am receiving an error message that says that the format is invalid.
Thanks.
You ain't trying to use a data control are you hoss? Load the grid programmatically like a real programmer:D
After that, save your code and put it in a class so that you won't have to make one everytme you have a new project. Make it reusable. Also, Jethro's right throw away the DCs. Its just gonna make you less of a programmer.Quote:
Originally posted by Jethro
You ain't trying to use a data control are you hoss? Load the grid programmatically like a real programmer:D
yes you can but what connection r u using?
Come on tell the truth! Dont be frightened of Jethro!
Get the Service Pack 5 for VB from the MS website!
Be afraid, be very afraid. No one can hear you scream in cyberspace:DQuote:
Originally posted by Beacon
yes you can but what connection r u using?
Come on tell the truth! Dont be frightened of Jethro!
Get the Service Pack 5 for VB from the MS website!
ok, ok, ok...I know data bound controls are the hell on earth!! But in this case I think they can be used. It is a simple desktop application with some screens to manipulate data and nothing more. By the way, I solved the problem installing the Jet Service Pack 5.
And...you already tried to populate an unbound DBGrid?? I have seen for a long time people having trouble with this task!!
Thanks for the help.
I have added your name to the list buddy:rolleyes:Quote:
Originally posted by Robert Scheer
ok, ok, ok...I know data bound controls are the hell on earth!! But in this case I think they can be used. It is a simple desktop application with some screens to manipulate data and nothing more. By the way, I solved the problem installing the Jet Service Pack 5.
And...you already tried to populate an unbound DBGrid?? I have seen for a long time people having trouble with this task!!
Thanks for the help.
Use the other grid thing that MS ship, (yes l know both of them are crap), and programmitically fill the rows. The sort feature is pretty cool.
Which is MS Flexigrid! for clarification!
DBgrid is possibly harder to use especially if you are doing it programmatically! It's easy if ya use it with DC's though. Not that i would advise you to do that of course because.....well you know why!
quote:
--------------------------------------------------------------------------------
Originally posted by Robert Scheer
ok, ok, ok...I know data bound controls are the hell on earth!! But in this case I think they can be used. It is a simple desktop application with some screens to manipulate data and nothing more. By the way, I solved the problem installing the Jet Service Pack 5.
---------------------------------------------------------------------------------
As i said it would!
:)
The only real program l have found with MS grids is clearing them of data, every now and again they issue an error when you do that. We use sheridon's controls, hence don't have any p[robl;ems.