ryr1990 发表于 2014-07-27 08:57

informix如何用语句批量建form?

informix如何用语句批量建form?

3sane 发表于 2014-07-30 11:46

回复 1# ryr1990
[ $# -lt 1 ] && { echo "Usage: crtforms database"; exit; }
dbname=$1
echo "Get table information..."
isql -s $dbname << ! |awk '{print substr($0,4)}'>/tmp/tabnames
select "isql -s $dbname -fg "||tabname||' '||tabname||" -t" c from systables where tabid>99 and tabname matches "*"
!
echo
echo "Creatting forms..."
. /tmp/tabnames
echo
rm -f /tmp/tabnames
echo "OK!"

v1623 发表于 2015-04-14 21:21

页: [1]
查看完整版本: informix如何用语句批量建form?