| | |
error with database
![]() |
I made a database project. when I run it another pc and press the
Add New button (in my project) it show this msg.
Run time error - 91
Object variable or with block variable not set.
I connect the backend database by data sources(ODBC)> system DSN.
I write code in Add New button, "adodc1.recordset.addnew"
anybody help me.
another error:
when I select a date from dtpicker and then press a button for show
report then show this error.
run-time error 713
Application-defined or object-defined error
Add New button (in my project) it show this msg.
Run time error - 91
Object variable or with block variable not set.
I connect the backend database by data sources(ODBC)> system DSN.
I write code in Add New button, "adodc1.recordset.addnew"
anybody help me.
another error:
when I select a date from dtpicker and then press a button for show
report then show this error.
run-time error 713
Application-defined or object-defined error
>>for 1st error
Private Sub chameleonButton1_Click(Index As Integer)
Adodc1.Recordset.AddNew
End Sub
>>for 2nd error
Private Sub chameleonButton11_Click(Index As Integer)
Load DataEnvironment1
With DataEnvironment1
If .rsCommand1.State <> 0 Then .rsCommand1.Close
.Command1 Format(DTFr.Value, "dd-mm-yyyy"), Format(DTTo.Value, "dd-mm-yyyy")
End With
DataReport1.Show
End Sub
Private Sub chameleonButton1_Click(Index As Integer)
Adodc1.Recordset.AddNew
End Sub
>>for 2nd error
Private Sub chameleonButton11_Click(Index As Integer)
Load DataEnvironment1
With DataEnvironment1
If .rsCommand1.State <> 0 Then .rsCommand1.Close
.Command1 Format(DTFr.Value, "dd-mm-yyyy"), Format(DTTo.Value, "dd-mm-yyyy")
End With
DataReport1.Show
End Sub
![]() |
Similar Threads
- "Couldn't find Installable ISAM" error (Visual Basic 4 / 5 / 6)
- Writing to an Access Database (Visual Basic 4 / 5 / 6)
- write Database error.. (C++)
- java runtime error for database connection (Java)
- please help syntax error (ASP)
- 'Database is not in insert or edit mode' (Pascal and Delphi)
- Linker error in Database connectivity.. (C++)
- There appears to be an error with the database. (MySQL)
- Invision Power Board mysql error when trying to view newly created forums (PHP)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: VB6.0 WITH ORACLE8i
- Next Thread: Computer name
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows






