DreamAwake
Registered User.
- Local time
- Yesterday, 22:18
- Joined
- Dec 13, 2007
- Messages
- 23
I've been staring at this for a while and have had no luck, anyone able to assist?
The error is point it too the end of the document
Thanks in advanced
Dim Conn As ADODB.Connection
Dim rs As ADODB.Recordset
Dim sql As String
Set Conn = CurrentProject.Connection
Set rs = New ADODB.Recordset
sql = "INSERT INTO COMMENTS (TXT,MODIFIED,PID,P_SCHEDULE,P_BUDGET,P_SCHEDUAL_COM,P_BUDGET_COM) Values (" & Forms!PROJECT_EDIT!comments & ", Now() , " & Forms!PROJECT_EDIT!PID & " , '" & P_SCHEDULE_VAR & "' , '" & P_BUDGET_VAR & "' , '" & Forms!PROJECT_EDIT!P_SCHEDUAL_COM & "' , '" & Forms!PROJECT_EDIT!P_BUDGET_COM & " '"
Conn.Execute sql
The error is point it too the end of the document
Thanks in advanced