且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

会员历史

更新时间:2022-06-16 10:03:21

嗨马

我正在查看你的数据,想在开始考虑一个程序之前检查我是否理解正确。这将是乏味的,但没有必要做错。
Hi Horse
I''m looking at your data and want to check that I understand properly before starting to think about a program. This is going to be tedious but there is no point doing it wrong.
  1. 第一条记录表明1072在2003年2月4日被暂停,所以大概是他的会员资格在此之前预订,但这些天不会包括在内,因此只能计算DaysOut。 (对于DaysIn来说,运行一个总数来检查是非常好的。)
  2. 在2003年2月21日,记录表明会费是通过但是2003年3月31日的日期是什么?这两个日期中的哪一个将被使用?第一次约会很容易,但提取第二次约会将会更具挑战性。
  3. 2004年10月31日,这个家伙被暂停,但2005年7月31日的记录显示他是再次暂停,没有中间会员记录。他终于于2005年9月30日被驱逐出去,直到2005年10月17日(或截止日期为31年12月?)才成为会员。在2015年10月31日至10月17日(截至2003年12月31日)期间,TotalDaysOut计算得出,或更难的事情?
  4. 您的数据是否足够一致,描述的第一个字母是D,S还是E?所以这些可以用来解释''ins''和''outs''?

S7



Hi Horse

我正在查看您的数据,并希望在开始考虑某个程序之前检查我是否理解正确。这将是乏味的,但没有必要做错。
Hi Horse
I''m looking at your data and want to check that I understand properly before starting to think about a program. This is going to be tedious but there is no point doing it wrong.
  1. 第一条记录表明1072在2003年2月4日被暂停,所以大概是他的会员资格在此之前预订,但这些天不会包括在内,因此只能计算DaysOut。 (对于DaysIn来说,运行一个总数来检查是非常好的。)
  2. 在2003年2月21日,记录表明会费是通过但是2003年3月31日的日期是什么?这两个日期中的哪一个将被使用?第一次约会很容易,但提取第二次约会将会更具挑战性。
  3. 2004年10月31日,这个家伙被暂停,但2005年7月31日的记录显示他是再次暂停,没有中间会员记录。他终于于2005年9月30日被驱逐出去,直到2005年10月17日(或截止日期为31年12月?)才成为会员。在2015年10月31日至10月17日(截至2003年12月31日)期间,TotalDaysOut计算得出,或更难的事情?
  4. 您的数据是否足够一致,描述的第一个字母是D,S还是E?所以这些可以用来解释''ins''和''outs''?

S7



Hello S,


感谢您的快速回复。


1.是的,他的AdmitDate早于2003年2月4日。我在一张桌子中有一个字段,该字段在某个特定日期之前已经有他之前的总DaysOut。这是一项庞大的工作。如果事情有效,总DaysIn是一个好主意。


2. 2003年2月21日,会员缴纳了会费。这是相关日期。他的会员资格活跃于2003年3月31日,即第一季度末。会费可以按季度支付。因此,日期字段中的日期是我们需要使用的日期。


3.描述中的数据是一致的。这些数据来自

一个较大的组,其中包括常规会费付款和收据编号的描述性历史记录。我使用了通配符*非*和*是*用于一致的''ins''和''outs''但是其他通配符可以工作。


这家伙有一些健康问题所以我们让他滑倒另一个季度然后驱逐他(看看我们不是底特律的硬核!)是的,TotalDayOut计算在2004年10月31日到2005年10月17日之间


我写这段代码并不是很懒。

在尝试了几个访问功能,比如日期差异和日期最大值后,我碰壁了。


再次感谢,


UH


Hello S,

Thank you for your quick response.

1. Yes, his AdmitDate pre-dates 4-Feb-2003. I have a field in a table that already has his previous total DaysOut as of a certain date. This was a huge job done by hand. A total DaysIn is a good idea if things work out.

2. On 21-Feb-2003 the member paid his dues. This is the relevant date. His membership was active thru 31-Mar-2003 which is the end of the first quarter. Dues can be paid by the quarter. So, the dates in the Date field are the ones we need to use.

3. The data in the Description is consistent. This data was culled from
a larger group which includes a descriptive history of routine dues payments and receipt numbers. I used the wildcard *non* and *was* for consistent ''ins'' and ''outs'' but other wildcards could work.

This guy had some health problems so we let him slide for another quarter before expelling him (see we are not that hardcore in Detroit!) Yes, the TotalDayOut are calculated between 31-Oct-2004 and 17-Oct-2005

I am not being lazy writing this code.
After trying several access functions like date difference and date maximum I hit a wall.

Thanks again,

UH


您好再次

感谢您回答这些疑问。我总是更喜欢在前面问这些愚蠢的问题。


我本质上知道需要什么,如果没有人在你的池塘旁边,我会尝试将一些代码放在一起打败我吧!


S7
Hi again
Thanks for answering those queries. I always prefer to ask the silly questions up-front.

I know in essence what is needed and will try and put some code together tomorrow if no one your side of the ''pond'' beats me to it!


S7