General information
Category:
Coding, syntax & commands
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only