
此主题相关图片如下:2.png

请教老师我在弹窗信息输入后按确定能自动生成月租金明细

此主题相关图片如下:1.png

表如附件2那样
确定按钮
dim d1 as date = e.form.controls("起始日期").value
dim d2 as date = e.form.controls("结束日期").value
dim r as row
do while d1 <= d2
r = tables("表A").addnew
r("编号") = e.form.controls("编号").text
r("日期") = d1
r("租金") = e.form.controls("租金").text
d1 = d1.adddays(1)
loop