[AccessD] Fw: [dba-OT] CurrentView property

Susan Harkins harkins at iglou.com
Wed Aug 13 20:36:31 CDT 2003




> Set obj = Application.CurrentProject.AllReports(str)
>      intView = obj.CurrentView
>
> The CurrentView property applies only to the Form and DataAccessPages
> objects and the AccessObject object. So, I used the above to get the
> CurrentView property of the current report and it works fine. I tried it
> with a table and query, and both return an "object doesn't support this
> property" error.
>
> I know I can use SysCmd to tell me a table or query's open, dirty or
new --
> but how about the current view? I was surprised the above code didn't work
> for AllTables and AllQueries.
>
> Susan H.
>
> _______________________________________________
> dba-OT mailing list
> dba-OT at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-ot
> Website: http://www.databaseadvisors.com
>
>



More information about the AccessD mailing list