从下面的信息能得到什么?
从网上搞了一个程序,自己没弄明白它的datawindow是怎么写的,source在这,大家帮我分析一下。谢谢~
release 8;
datawindow(units=1 timer_interval=0 color=1073741824 processing=0 HTMLDW=no print.documentname="" print.orientation = 0 print.margin.left = 24 print.margin.right = 24 print.margin.top = 24 print.margin.bottom = 24 print.paper.source = 0 print.paper.size = 0 print.prompt=no print.buttons=no print.preview.buttons=no )
summary(height=0 color="536870912" )
footer(height=0 color="536870912" )
detail(height=104 color="536870912" )
table(column=(type=char(84) updatewhereclause=yes name=tm dbname="tm" )
)
htmltable(border="1" )
htmlgen(clientevents="1" clientvalidation="1" clientcomputedfields="1" clientformatting="0" clientscriptable="0" generatejavascript="1" netscapelayers="0" )
[解决办法]
这个数据窗口对象的语法就是这样写的呀,
processing=0,所以是freeform或n-tab之类的
通过在pb的帮助查询processing可以看到关于取值的说明
由于语法中没有明确的select语句,所以可以判定为外部数据源
你在editsource方式下对比一个外部数据源和一个SQL数据源就知道了;