DBgrid (opening .mdb runtime)




Probably this question has been asked several times before but I can't
find
an answer in the whole internet, I've been searching for days.

I'm making an Admin. System in vb6.0 with the Data control, DBgrid, and
acce
ss .mdb databases, now... I have no problem with the databases that are
load
ed from the start, I just bounded some controls, and at edit time
specified
the database, and linked the grid to the Data1 control...

The problem is that I have a 'Backup Database View' control which is
suppose
d to load in a new form a Data control, a DB Grid and load the .mdb
database
and show it on the grid...

I can't load it, I maybe am able to get the database to load the .mdb
file i
n data1 in the new form, but I can't get it to show on the grid, there
is no
method of doing this without getting an error...

I cannot mess with the .datasource property at run-time for some
reason.

Any ideas?



--
miffe
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------



.



Relevant Pages

  • VB6.0 Data Grid (Run-Time)
    ... ss .mdb databases, now... ... and linked the grid to the Data1 control... ... The problem is that I have a 'Backup Database View' control which is ... d to load in a new form a Data control, a DB Grid and load the .mdb ...
    (microsoft.public.vb.general.discussion)
  • Re: Grid question
    ... MSFlexGrid Tips and Tricks ... The problem is the cells in the grid are locked. ... >> by definition an 'unbound' control is not bound to the records so you ... >> have to handle any editing and write back to the database in your code. ...
    (microsoft.public.vb.controls)
  • Crystal questions
    ... Using my VB.NET app I keep getting the error "can't load data" when I start ... learning how to load a database on another sqlserver instance. ... In the Crystal reports visual designer for the VS.NET IDE, ... the crystal reports control is looking for the database in ...
    (microsoft.public.vb.crystal)
  • Re: Ajax TabContainer behaviour like Windows TabControl?
    ... Database while Page load. ... There is a TabContainer control below the Menu Control. ... Now i want to add corresponding UserControl dynamically when user clicks on ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: GridView binding - how to stop initial binding
    ... and it didn't even send a database query. ... There's also a GridView control that is using a SqlDataSource control to ... If you want to populate the grid using the criteria from the drop downs you must ... To prevent the grid from filling the first time you load the page, ...
    (microsoft.public.dotnet.framework.aspnet)

Loading