Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
BROWSE command problem
I'm trying to perform what should be a simple browse of a filtered database. My syntax is
IF !EMPTY(Thisform.propertyname)
SET FILTER TO fieldvalue = Thisform.propertyname
GO TOP
ELSE
SET FILTER TO
GO TOP
ENDIF
IF !mupdate
BROWSE NOAPPEND NOEDIT NODELETE LAST
ELSE
BROWSE LAST
ENDIF
I get the message "Object is not contained in a FORM" before the browse window opens and my filter condition is ignored.
When I suspend, the debugger shows that the error is occurring at the BROWSE command line.
I'm using tables and not databases. If I comment out the SET FILTER commands and just issue the BROWSE command by itself, the browse window opens without the error message.
Any ideas?
TIA
Richard W. Bates
Suivant
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