参数太多
m_noinf=val(thisform.txtnoinf.value)m_nosup=val(thisform,txtnosup.value)
if m_noinf>m_nosup
messagebox("编号1不能大于编号2!",16,"错误")
return
endif
select tblcustom
locate for val(no)>=m_noinf and val(no)<=m_nosup
if found()
report form rcustom for val(no)>=m_noinf and val(no)<=m_nosup preview
else
messagebox('没有符合条件的记录可以打印。',16,'错误')
endif
运行上面的代码时会提示参数太多是怎么回事呢?