Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>
>And how do you know to issue NODATA when opening the view? The parameter, even if defined in the offending routine, would not be in scope in the error method.
always open views with NODATA
the code snippet would look something like
SELECT ViewName
luParameter=SomeValue
requery()
the error is trapped in the SELECT and thus the view if open before the requery
or if it the view is a recordsource or controlsource - this is trapped when the page or form is initiated
Arnon
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