>
>I can try the DBUSED() right away.
>
>My views are in the database. They are not cursors. I was not sure if the fact that the grids were on separate pages on a pageframe would make a difference in their ability to reference a view in the form. For example can the following code be placed any where in the form as long as vTotalGrid is a view in the form's DataEnvironment?
>results = requery("vTotalGrid")
>OR do I have to say something like ("Thisform.vTotalGrid")
>
>I am on a steep learning curve with foxpro, and I am not sure what you mean by DS, or even how I would create a login screen with the default DS.
>
>Thanks,
>Jeff
Hi Jeff,
Sorry about the lingo. DS = DataSession. A form can use either a private or the default DataSession. Default DataSessionID = 0 and forms have DataSessionIDs > 0. I use private DS for most forms and Default for most system functions. (most = there are exceptions to every rule)
A grid is a window to a view (no pun intended) if it is defined in the DBC. Check your DataEnvironment and look at the Alias propery and make sure it is the same as what you use in the grid. You don't reference the view as an object, unless you are reading/writing properties.
HTH
Matt McDonnell
...building a better mousetrap with moldy cheese...