在日期开始和结束日期将值分配到多个字段 [英] Distribute the value into multiple field base on date start and date end

查看:69
本文介绍了在日期开始和结束日期将值分配到多个字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想向我的访问数据库寻求帮助。我想在日期开始和结束日期结束时将价值(货币格式)分配到多个字段中。


例如:

如果字段花费金额价值是 - $ 10,000

如果现场开始日期是 - 2018年1月

如果现场结束日期是 - 2018年4月


那么Jan字段将是2,500美元

和2月字段应该是$ 2,500

Mar字段也是$ 2,500

4月字段也是2,500美元


基本上应根据开始月份和月末类别平均分配金额


感谢您的帮助,请

I''d like to seek help with my access database. i would like to distribute value (format on currency) into multiple field base on date start and date end.

for example on:
if field Spend Amount value is - $10,000
if field start date is - Jan-2018
if Field end date is - April-2018

then the Jan field will be $2,500
and Feb field should be $2,500
Mar field also $2,500
april field also $2,500

basically the amount should be equally divided base on start month and end month category

appreciate your help please

推荐答案

10,000

如果字段开始日期是 - 2018年1月

如果字段结束日期是 - 2018年4月


然后Jan字段将是
10,000
if field start date is - Jan-2018
if Field end date is - April-2018

then the Jan field will be


2,500

和Feb字段应
2,500
and Feb field should be


2,500

Mar field也
2,500
Mar field also


这篇关于在日期开始和结束日期将值分配到多个字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆