error with database

Reply

Join Date: Jul 2008
Posts: 471
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 24
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

error with database

 
0
  #1
Nov 19th, 2008
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
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,086
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 125
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: error with database

 
0
  #2
Nov 20th, 2008
have you created the DSN in the target system to connect to database ?
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 471
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 24
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

Re: error with database

 
0
  #3
Nov 21st, 2008
ya I did.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 471
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 24
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

Re: error with database

 
0
  #4
Dec 6th, 2008
anybody help me please
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 304
Reputation: aktharshaik is an unknown quantity at this point 
Solved Threads: 37
aktharshaik's Avatar
aktharshaik aktharshaik is offline Offline
Posting Whiz

Re: error with database

 
0
  #5
Dec 6th, 2008
Plz post the procedure u have coded for the AddNew button.

and for the other error also for the Show button
Regards
Shaik Akthar
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 471
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 24
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

Re: error with database

 
0
  #6
Dec 14th, 2008
I dont understand your ......... I think I told it. or please make me understand
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 304
Reputation: aktharshaik is an unknown quantity at this point 
Solved Threads: 37
aktharshaik's Avatar
aktharshaik aktharshaik is offline Offline
Posting Whiz

Re: error with database

 
0
  #7
Dec 15th, 2008
I asked to post your code here which u have written for Addnew Button. and also the rror u get for ur show button.

just copy the vb code and paste it here in the reply to the thread.
Regards
Shaik Akthar
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 471
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 24
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

Re: error with database

 
0
  #8
Dec 15th, 2008
>>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
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 304
Reputation: aktharshaik is an unknown quantity at this point 
Solved Threads: 37
aktharshaik's Avatar
aktharshaik aktharshaik is offline Offline
Posting Whiz

Re: error with database

 
0
  #9
Dec 16th, 2008
u didn't post the error msg. plz post the error msg also.
Regards
Shaik Akthar
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 471
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 24
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro in Training

Re: error with database

 
0
  #10
Dec 16th, 2008
I write it above. in 1st post I think I write. Please
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC