1 Replies - 440 Views - Last Post: 25 September 2013 - 06:44 AM Rate Topic: -----

#1 sandrasan  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 24-September 13

error in railwayreservation form and do not how to proceed

Posted 25 September 2013 - 06:15 AM

error in railway[reservation form and do not how to proceed




Dim conn as new ADODB.connection

Dim rs As new ADODB.Recordset

Dim str as string

Dim rs As new ADODB.recordset

Private sub combo1_click()

Adodc1.recordset=”select * from train where source=’”+combo1.text+”’”

Adodc1.refresh

Datagrid1.refresh

End if

End sub

Private sub combo2_click()

If combo2.text<>””then

Adodc1.recordsource=”select * from train where destination=’”+combo2.text+”’”

Adodc1.refresh

Datagrid1.refresh

End if

End sub

Private sub command1_click()

Conn.open

Conn=”provider=microsoft.jet.OLEDB.4.0 datasource=c:\program files\microsoft visual studies\VB98\train detail.mdbl.persist security info=”false”

End sub

Is This A Good Question/Topic? 0
  • +

Replies To: error in railwayreservation form and do not how to proceed

#2 andrewsw  Icon User is online

  • Fire giant boob nipple gun!
  • member icon

Reputation: 3197
  • View blog
  • Posts: 10,730
  • Joined: 12-December 12

Re: error in railwayreservation form and do not how to proceed

Posted 25 September 2013 - 06:44 AM

Duplicate topic deleted.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1