Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataEnvironment
Message
De
05/12/1997 13:25:12
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
 
 
À
05/12/1997 10:32:48
Jeff Tucker
Mackinac Center For Public Policy
Midland, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00064017
Message ID:
00064072
Vues:
20
>
>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...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform