Hi Dave,
Found it !
I've been playing around with the views stuff this afternoon and this is
what I found out:
There is a View object in the catalog catLocal which can be accessed like
so
Dim viewTemp As View
For Each viewTemp In catLocal.Views
szString = viewTemp.Command.CommandText()
app.LogEvent "SQL : '" & szString & "'\n\n"
Next
and ya get something like this:
'SELECT myTable.myField1, myTable.myField2, myTable.myField3, etc etc FROM
myTable
WHERE (((MyTable.Fieldn)="whatever"));
Hope this helps with the view stuff, (starting to get the hang of VB :>)
Regards, Brett
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com