General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>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 && GetLocationInfo
so in this code, is myForm the name of the form using the view to view the data or the name of the small form used to get the value for city?
Previous
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