Access������--
ËùÊô·ÖÀࣺ ϵͳ°²È« ×÷Õߣº ¹²ïí ¸üÐÂÈÕÆÚ£º2003-11-13 10:53:18 ÔĶÁ´ÎÊý£º279

ÏÞÖÆÈí¼þ30ÌìÊÔÓÃ


Dim ReValue As Date 'ÉùÃ÷ʱ¼ä±äÁ¿
Dim name As String 'ÉùÃ÷×Ö·û´®±äÁ¿£¬Èí¼þÃû³Æ
Dim dd As Variant 'ÉùÃ÷ÊýÖµ±äÁ¿£¬ddΪÈÕÆÚ²î

name = "gggg" '¸ø±äÁ¿¸³ÖµÈí¼þÃûΪgggg


ReValue = GetSetting(name, "MainKey", "DateValue", Date) '¶Áȡע²á±íÈí¼þÃûggggµÄ¼üÖµ£¬Èç¹ûûÓÐÔòΪµ±Ç°ÈÕÆÚ
Me.Text1 = ReValue
dd = DateDiff("d", ReValue, Date) '¼ÆËãÈÕÆÚ²î
Me.Text2 = dd

If dd = 0 Then 'Èç¹ûÊǵÚÒ»ÌìÔËÐÐ
SaveSetting name, "MainKey", "dateValue", Date 'дע²á±í
End If
If dd > 30 Then

MsgBox "Èí¼þÒѹýÆÚ"
Else

MsgBox "Èí¼þ¿ÉÒÔÊÔÓÃ"
'DoCmd Quit

MsgBox "»¹Ê£ÏÂ" & 30 - dd & "ÌìÊÔÓÃÆÚ£¡"


End If


--------------------------------------------------------------------------------
Ïà¹ØÎÄÕÂ

Êý¾Ý¿âÉè¼ÆÖеÄÃô½Ý·½·¨ 2004-2-9 11:19:16
Á½¸öδ¹«¿ªµÄACCESS·½·¨µÄʹÓü¼ÇÉ 2003-12-30 14:59:33
¶Ô×¢²á±í²Ù×÷¼¼ÇÉ-½«³ÌÐòÔÚ¿ª»úʱÔËÐÐ 2003-11-18 9:24:59
ÏÞÖÆÈí¼þÊÔÓôÎÊý¼°Ê±¼ä 2003-11-13 10:54:17
ACCESSµÄÊý¾Ý¿â°²È«ÎÊÌâ½â´ð 2003-11-13 10:52:11
³ÌÐò´ò¿ªËٶȻºÂý 2003-10-14 8:29:22
ÈçºÎÇ¿ÖÆ Access ÏÔʾËÄλÊýÄê·ÝµÄÈÕÆÚ 2003-10-10 10:34:21
AccessÆô¶¯ÃüÁîÐÐÑ¡Ïî´óÈ« 2003-10-10 10:02:00


ϵͳÓÅ»¯
¿Ø¼þʹÓÃ
Êý¾Ý¿âÉè¼Æ
Êý¾Ý¿âÁ¬½Ó
ϵͳ°²È«
OLE×Ô¶¯»¯
³£¼ûÎÊÌâ
ʵÓôúÂë
ÊôÐÔÏê½â
ÍøÂçÏà¹Ø
ʵÓÃAPI
¾­Ñé·ÖÏí
¾«Ñ¡½Ì³Ì
×Ö·û´¦Àí
ADPÏà¹Ø



ÎÄÕÂËÑË÷



ÖÆ×÷ά»¤£ºÀîÑ°»¶     Mail:[email protected]

¹ØÓÚ±¾Õ¾ -- ÍøÕ¾·þÎñ -- °æȨÌõ¿î -- ÁªÏµ·½·¨ -- ÍøÕ¾°ïÖú
Access°®ºÃÕß°æȨËùÓÐ Copyright 2003-2005 All Rights Reserved δ¾­Ðí¿É²»µÃµÁÁ´