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 derfloh 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. chamira

    Error Using SQL Statements in ADODC's

    Hi Doug, thanks for your reply. I did try changing the single quotes to double quotes, but that didn't work. However, I was able to solve the problem. The problem was in the sql statement - I had to specify the table name in the WHERE clause: RecordSource: SELECT * FROM Customers WHERE...
  2. chamira

    Error Using SQL Statements in ADODC's

    I am trying to display data from an Access database using ADO Data Controls and the DataCombo + DataGrid controls. In the ADODC properties box, I setup up the following: ConnectionString: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\anyDB.mdb; RecordSource: SELECT * FROM Customers WHERE...
  3. chamira

    How to Create Excel Worksheets Using ADO

    Does anyone know how to set the number of worksheets in an Excel spreadsheet after connecting to it using ADO. This is how I've setup the connection: Dim xlConn As New ADODB.Connection xlConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\anyFile.xls;Extended Properties=Excel...
  4. chamira

    Problems Using VB to Transfer Data From Access to Excel

    I'm using VB to extract data from an Access database and create a spreadsheet using that data. I wrote the code and tried to run it. It starts to extract the data, but about half way through, it stalls. I have to press Ctrl+Alt+Del to quit out of it, and it stalls all my other programs that I'm...
  5. chamira

    Closing an Excel 2000 Workbook Using VB6

    Thanks for your help! I tried it again, and the reason it wasn´t working before was that I had the code for closing the connection in a different procedure, which for some reason wasn´t being called. I had them in the Form_Unload procedure, but for some reason, it doesn´t run when I click on...
  6. chamira

    Closing an Excel 2000 Workbook Using VB6

    I'm trying to manipulate Excel 2000 workbooks using little executables I'm creating in VB6. I can open, manipulate and save the spreadsheets with out any problems, but I cannot seem to close Excel, even after I've written the code to close out of Excel. I know this because when I press...

Part and Inventory Search

Back
Top