以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 2月份红枣入库数量200斤,如何自动分配到每一天? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=161379) |
-- 作者:jxkqf -- 发布时间:2021/3/15 18:22:00 -- 2月份红枣入库数量200斤,如何自动分配到每一天? 2月份红枣入库数量200斤,如何把入库数量自动分配到每一天? |
-- 作者:有点蓝 -- 发布时间:2021/3/15 20:40:00 -- dim day as integer = Date.DaysInMonth(date.today.year,2) dim d as double = 200 / daydim r as row
for i as integer = 1 to day r = tables("a").addnew r("日期") = new date(date.today.year,2,i) r("数量") = d next |