»¹ÊÇVBºÍSQLµÄÎÊÌâ
ÎÒÓÃVB¶ÁÈ¡WinCCµÄ¹ý³Ì±äÁ¿A£¨¶þ½øÖÆ£©µ½text16 ÖÐ £¬Ö»Òªtext6ÖÐΪ1£¬¾ÍÏòSQLÊý¾Ý¿â×öÒ»Ìõ¼Ç¼¡£
ÏÂÃæµÄ´úÂëÊǵ±Ìõ¼þÂú×ãʱ£¬Óð´Å¥command1Ìí¼Ó¼Ç¼µÄ£¨Õâ¸öÒѾʵÏÖ£©¡£
Private Sub command1_click()
If Text16.Text = "1" Then
Adodc1.Recordset.MoveLast
Adodc1.Recordset.AddNew
Text1.Text = Text19.Text ¡®SQL×Ö¶Î1
Text2.Text = Text5.Text ¡®SQL×Ö¶Î2
Text3.Text = Text17.Text ¡®SQL×Ö¶Î3
Text20.Text = Date ¡®SQL×Ö¶Î4
Text4.Text = Time ¡®SQL×Ö¶Î5
Adodc1.Recordset.UpdateBatch
Else
End If
End Sub
ÎÒµÄÎÊÌâÊÇ£¬ÔõÑùд£¬¿ÉÒÔÈÃVB¸ù¾Ý±äÁ¿AΪ1ʱ×Ô¶¯×öÒ»Ìõ¼Ç¼¡£ÉÏÃæµÄÌõ¼þÓï¾ä·Åµ½Ê²Ã´ÑùµÄ¹ý³Ì»ò·½·¨ÖÐÈ¥£¿
Ìí¼Ótimer¿Ø¼þ£¬È»ºóÈçÏ£º
VB code:
Private Sub Form_Load()
Timer1.Enabled = 1000
End Sub
Private Sub Timer1_Timer()
Timer1.Enabled = False
If Text16.Text = "1" Then
Adodc1.Recordset.MoveLast
Adodc1.Recordset.AddNew
Text1.Text = Text19.Text 'SQL×Ö¶Î1
Text2.Text = Text5.Text 'SQL×Ö¶Î2
Text3.Text = Text17.Text 'SQL×Ö¶Î3
Text20.Text = Date 'SQL×Ö¶Î4
Text4.Text = Time 'SQL×Ö¶Î5
Adodc1.Recordset.UpdateBatch
Else
End If
Timer1.Enabled = True
E
Ïà¹ØÎÊ´ð£º
´ó¼ÒºÃ£¬ÇëÎÊÔÚ±íMÖÐÓÐ×ֶΣºa b c d e
ÎÒÏë²é³öÆäÖÐÂú×ãÏÂÃæÈÎÒâÒ»ÏîµÄÊý¾Ý£¬1.×Ö¶Îa µÄÖµ²»ÊÇ ¡®Êé»ò±Ê»ò±¾¡¯ÖÐÈÎÒ»£¬2.aΪÊéµÄʱºò×Ö¶Îb,cÊÇ¿Õ;3.µ±aֵΪ±ÊµÄʱºòdÊÇ¿Õ;4.µ±aΪ±¾µÄʱºòb,d,e¶¼ÊÇ¿Õ;5.È ......
»·¾³£º1.win2003server+oracle9i
2.oracle9i×Ö·û¼¯ÎªAMERICAN_AMERICA.WE8ISO8859P1
3.oracle sql developer°æ±¾ 1.5.5
ÏÖÏóÃèÊö: 1.ÔÚsql developer ÖвéѯoracleÖеÄij¸ö±í£¬ÖÐÎÄÈ«²¿ÏÔʾΪÂÒÂë¡£
......
ÔÊý¾Ý
ÉÌÆ· Ô¼Û ´òÕÛ·½Ê½1 ÕÛ¿Û1 ´òÕÛ·½Ê½2 ÕÛ¿Û2
±Ê¼Ç±¾ 10000 NULL 0 NULL&nb ......
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jas ......
Çë½ÌһϣºÎÒÓÃvbдÁËÒ»¸öµ÷ÓÃIllustratorµÄ²âÊÔ³ÌÐò£¬´úÂëºÜ¼òµ¥£ºPrivate Sub Command1_Click()
Dim app As New Illustrator.Application
Dim doc As Illustrator.Document
Dim thislayer As Illustrator.Layer ......