Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Oh Yes, also only occurs in a Compiled App, not in the DE.
>Hi All,
>
>Have a form (FORM1) which uses the Default DataSession with a Local View (Will Call VIEW1) in the Form's DataEnvironment with Alias Property Set to 'Source' and NoDataOnLoad set to .T.
>
>In the FORM1's LOAD Method there is Code similar to:
>
>SELECT Source
>{Create Indexes}
>
>USE VIEW1 AGAIN IN 0 ALIAS Selected
>{Create Indexes}
>
>Code works with no problem and no View Parameter Prompt
>
>
>Have a 2nd form (FORM2) with a Private Data Session, the same DataEnvironment & Load Method Code.
>
>1. If I run FORM1 first, then do something that Queries VIEW1 (Global Data Session), and then run FORM2 (Private Data Session), I have no problem.
>
>2. If I run FORM2 first and do something which queries VIEW1, and then attempt to run FORM1, the USE AGAIN Line in the FORM1's LOAD Method now asks for a View Parameter & I get an Error Message saying that 'ALIAS Source is Already In Use'...Looks like USE AGAIN with Views doesn't always respect Data Session Boundaries...
>
>Anyone seen this?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement