Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. 07sprint

    Using VB 6.0 to write & update to FoxPro database

    I get a Error Message when I get to intRecordAffected. The Error Message is Syntax Error. Here is the code for Update: Dim cmd As ADODB.Command Set cmd = New ADODB.Command cmd.ActiveConnection = cn 'cmd.CommandText = strSQL 'Declare and Set the RecordSet Dim rs As...
  2. 07sprint

    Connect FoxPro Database with VB 6.0

    Thank ZEMP for your help. That code help me connect to the database.
  3. 07sprint

    Updating foxpro database with VB 6.0

    I'm check to see if the record is update or not. when I step through it, I get to the code cmd.Execute intRecordAffect then I get the error message. what else do you want to knew.
  4. 07sprint

    Updating foxpro database with VB 6.0

    The ERROR MESSAGE is between the ************ ************ Set cn = CreateObject("ADODB.Connection") cn.ConnectionString = "Provider=vfpoledb.1;Data Source =D:\PerCap1\percap2.dbf" cn.Open 'Formatting Date strSTR =...
  5. 07sprint

    Connect FoxPro Database with VB 6.0

    No it not, but use message box to check the information. It like it connect to the database, but it not show the information in the database.
  6. 07sprint

    Connect FoxPro Database with VB 6.0

    Set cn = CreateObject("ADODB.Connection") cn.ConnectionString = "Provider=vfpoledb.1;Data Source =D:\PerCap1\percap2.dbf" cn.Open 'Create a SQL String strSQL = "Select * from percap2 where Name Like " strSQL = strSQL & "'" &...
  7. 07sprint

    Connect FoxPro Database with VB 6.0

    'Create a SQL String strSQL = "Select * from percap2 where Name Like " strSQL = strSQL & "'" & Trim(cboNAME.Text & "%") & "'" 'Declare and set the Command Dim cmd As ADODB.Command Set cmd = New ADODB.Command cmd.CommandText = strSQL...
  8. 07sprint

    Connect FoxPro Database with VB 6.0

    Access foxpro database with VB 6.0. I get error message when I get to this code: Set rs = cmd.Execute The error message is: The connection cannot be used to perform this operation. It is Either closed or invalid in this context. This is the code to connect: Dim cn As New...
  9. 07sprint

    Connection to foxpro databases use

    I still get the same error message
  10. 07sprint

    Connection to foxpro databases use

    Connection to foxpro databases use vb 6.0. I'm getting a error message: The connection cannot be use to perform this Operation. It is either closed or invalid in this context. This is the code: Dim cn As New ADODB.Connection cn.Open "Provider=vfpoledb.1;" & _...
  11. 07sprint

    Problem installing vfpoledb.exe

    Problem installing vfpoledb.exe
  12. 07sprint

    ACCESS FOXPRO DATABASE WITH VB6

    How do you connect by using connect property. new to this
  13. 07sprint

    ACCESS FOXPRO DATABASE WITH VB6

    I get Error Message: Provider cannot be found. It is in C:\Program files\common files\system\ole db
  14. 07sprint

    ACCESS FOXPRO DATABASE WITH VB6

    I keep getting error message
  15. 07sprint

    ACCESS FOXPRO DATABASE WITH VB6

    I even try this code: Dim strFilePath As String strFilePath = "Data Source =D:\PerCap1\PerCap2.dbf" Set cn = New ADODB.Connection cn.Open "Provider = Microsoft.Jet.OLEDB.4.0;" & _ "strFilePath" & ";" & _...
  16. 07sprint

    ACCESS FOXPRO DATABASE WITH VB6

    I still get this error message: [Microsoft][odbc.driver manger] data source not found and no default driver specified
  17. 07sprint

    ACCESS FOXPRO DATABASE WITH VB6

    I have version 2.8 MDAC
  18. 07sprint

    ACCESS FOXPRO DATABASE WITH VB6

    ACCESS FOXPRO DATABASE WITH VB6 I get a error message: [Microsoft][odbc.driver manger] data source not found and no default driver specified. Set cn = New ADODB.Connection cn.Open "Driver={Microsoft dBase Driver(*.dbf)};" _ & "DriverID=277;" _ &...
  19. 07sprint

    Using VB6.0 and need to access FoxP

    Error Message: could not find installable ISAM
  20. 07sprint

    Using VB6.0 and need to access FoxP

    I'm MDAC 2.8 and version is 4. What code should I use then. My database is .dbf.

Part and Inventory Search

Back
Top