hi,
Found a way to avoid "MSys" tables using DAO.
Set MDB = OpenDatabase(App.path & "\db1.mdb"

Dim ctr As Integer
ctr = 0
Do While MDB.TableDefs.Count <> ctr
If MDB.TableDefs(ctr).Attributes = 0 Then
'//// THESE ARE THE TABLES WE WANT
MsgBox MDB.TableDefs(ctr).Name
Else
'//// THESE ARE THE 'MSys' TABLES
MsgBox "NOT ZERO " & MDB.TableDefs(ctr).Name
End If
ctr = ctr + 1
Loop
'============== ;-) One more help ====
I have posted a question for Help with DBGrid. I run a query by using
DataControl.Recordsource = "SQL stmt."
DataControl.Refresh
DBGrid.Reresh '//// This DBGrid is bound to DataControl.
Now i check if no rows are returned. if so then the DBGrid should show two empty columns like it does when placed on the form.
I use ClearFields method to di this but it does not work. It just shows all the headings from the query.
Can u put ur Expertise on this please.
Again very URGENT.
Cheers!!!
Niraj >

:O> E-mail:- kniraj@hotmail.com