获取损失报告有助于访问 [英] Gains loss report help with access

查看:68
本文介绍了获取损失报告有助于访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是这个论坛和微软Access的新手,所以说我确定这是一个简单的解决办法。


我为我做了一个数据库单位,我被困在我的收益损失报告上。我尝试过使用下面的代码但是,我只得到30天内的结果,但这一年并不重要。我也需要结果来参加年度比赛。例如:


现在我在代码中查找损失日期,在接下来的30天内,我的结果将包括:

29 Jan 1985

2007年2月3日

2002年2月12日


我想要的是显示未来30天的日期:03 2007年2月


最终我想要报告将在损失之前执行30,60,90,120天。但是如果你帮我30天,我应该能够弄清楚。


继承我正在使用的代码。在此先感谢您的帮助。

<跨度类= codeLink 的onclick =模糊(此,this.parentNode.parentNode,的getChildren (this),true);>展开 | 选择 < span class =codeDivider> | Wrap | 行号

解决方案
看看DateDiff的()


我是这个论坛和Microsoft Access的新手,所以说我确定这是一个简单的解决方案。


我正在为我的单位制作一个数据库,而且我的收益损失报告仍然存在。我尝试过使用下面的代码但是,我只得到30天内的结果,但这一年并不重要。我也需要结果来参加年度比赛。例如:


现在我在代码中查找损失日期,在接下来的30天内,我的结果将包括:

29 Jan 1985

2007年2月3日

2002年2月12日


我想要的是显示未来30天的日期:03 2007年2月


最终我想要报告将在损失之前执行30,60,90,120天。但是如果你帮我30天,我应该能够弄清楚。


继承我正在使用的代码。在此先感谢您的帮助。

<跨度类= codeLink 的onclick =模糊(此,this.parentNode.parentNode,的getChildren (this),true);>展开 | 选择 <跨度类= codeDivider> | <跨度类= codeLink 的onclick = 自动换行(在此);>裹 <跨度类= codeDivider> | <跨度类=codeLinkonclick =LineNumbers(this);>行号


我查看了DATEDIFF,但仍然遇到了一些麻烦。其实我觉得自己更加困惑。谢谢你的帮助。 :)

I''m new to this Forum and to Microsoft Access, so that being said I''m sure this is an easy fix.

I am making a database for my unit and I am stuck on my gains loss reports. I''ve tried using the code below but, i only get results that are within 30 days but the year doesn''t matter. I need the results to take in to cout the year also. for example:

right now I put in the code looking for dates of loss with in the next 30 days, my results would enclude:
29 Jan 1985
03 Feb 2007
12 Feb 2002

where all i want is to show the dates in the next 30 days: 03 Feb 2007

eventually I want to have reports that will do 30, 60, 90, 120 days till loss. but I should be able to figure it out if you help me with the 30 days.

heres the code i am working with. thanks in advance for your help.

Expand|Select|Wrap|Line Numbers

解决方案

Hi, take a look at DateDiff()


I''m new to this Forum and to Microsoft Access, so that being said I''m sure this is an easy fix.

I am making a database for my unit and I am stuck on my gains loss reports. I''ve tried using the code below but, i only get results that are within 30 days but the year doesn''t matter. I need the results to take in to cout the year also. for example:

right now I put in the code looking for dates of loss with in the next 30 days, my results would enclude:
29 Jan 1985
03 Feb 2007
12 Feb 2002

where all i want is to show the dates in the next 30 days: 03 Feb 2007

eventually I want to have reports that will do 30, 60, 90, 120 days till loss. but I should be able to figure it out if you help me with the 30 days.

heres the code i am working with. thanks in advance for your help.

Expand|Select|Wrap|Line Numbers


I looked at DATEDIFF and am still having some trouble. Actually think I confused myself more. thanks for the help though. :)


这篇关于获取损失报告有助于访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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