PROCEDURE GetLocationInfo LOCAL City City = "" *-- Get the desired city value from the user, *-- using our form with the desired title *-- NOTE: This form -must- be modal (WindowType = 1) *-- NOTE: This form -must- RETURN the desired value *-- of City in its Unload() event DO FORM MyForm ; TO City *-- If the City value is not blank, *-- get the location information IF !EMPTY( City ) = REQUERY( "MyView" ) ENDIF && !EMPTY( City ) ENDPROC && GetLocationInfoNow, whenever you need to query the view, just "DO GetLocationInfo" (without the quotes, of course) and, assuming the user has provided a city, the view will be updated based on the desired value of City. If any controls on another form have their RecordSource as this view, you may need to Refresh() those controls as well.