Gar,
PMI, but were you aware that the keyword "SQL" is optional? You could simple use "CREATE VIEW lv_test AS ... "
create database test
open database test
set database to test
create table test (rule_id i, rule c(10))
create sql view lv_test as select * from test
use lv_test
do eview
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05