home *** CD-ROM | disk | FTP | other *** search
- create apt proc strin_1() as
- begin
- useform sntr_3
-
- if storename:modified
- begin
- storename:modified = FALSE
-
- if storename is not NULL
- begin
- submit
- sqlbegin
- select storeid = stor_id, city, state, zip
- from stores
- where stor_name = {sqlexpr(storename)}
- sqlend
- end
-
- if $channel:count = 0
- begin
- print "Sorry, no such bookstore"
- storename:modified = TRUE
- positionform storename
- end
- end
- return
- end
-