close all create database vistar_views create connection vistar datasource vipsw userid "dba" password "sql" nHandle = sqlconnect('vistar') x=SQLTABLES(nHandle, 'table') go bottom GO TOP SCAN MTABLE = ALLTRIM(TABLE_NAME) ? mtable, time() create sql view &mtable remote connection vistar as select * from &mtable select 2 use &mtable go bottom ?? reccount(), time() wait window 'pausing for 5 seconds' timeout 5 use select 1 endscan