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
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
have you created the DSN in the target system to connect to database ?
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
I dont understand your ......... I think I told it. or please make me understand
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
>>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
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
I write it above. in 1st post I think I write. Please
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
1st error
Run time error - 91
Object variable or with block variable not set.
2nd error:
run-time error 713
Application-defined or object-defined error
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
any body can help me please
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78
abu taher
Practically a Posting Shark
845 posts since Jul 2008
Reputation Points: 14
Solved Threads: 78