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 Westi 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. vambam

    Inserting BMP image stored in sql database into Excel

    Hi, Using the following code I can get the logo to appear in Excel. This same logo is stored in a SQL Server database as a general type column for each company and I would like to issue from within foxpro, a SQL select statement to retrieve the value and insert it into Excel. The application...
  2. vambam

    Excel - MS Query - How to use Cell Value in SQL Select statement

    Hi, I have a question related to Geoff's example for refreshing of an excel sheet which worked great. Similar question re: Pivot Table usage with the same concept. Following code for refreshing an excel list shown below: With Sheets("Sheetname").Querytables(1) .commandtext = mSQL...
  3. vambam

    Excel - MS Query - How to use Cell Value in SQL Select statement

    Skip, Awesome! Thanks Doug
  4. vambam

    Excel - MS Query - How to use Cell Value in SQL Select statement

    Hi, I've added a button to allow refresh using the criteria and it works well, except it prints on the report. What I'd prefer to do is insert the code currently behind that button into the Refresh Data button click, but I don't know where that is? Any would be great! TIA, Doug
  5. vambam

    Excel - MS Query - How to use Cell Value in SQL Select statement

    I'm on my way now with the vba tips and your assitance is greatly appreciated! Thanks to all who responded, Doug
  6. vambam

    Excel - MS Query - How to use Cell Value in SQL Select statement

    I could certainly modify the sql code; but the person using the spreadsheet would be challenged, frustrated and very well may goof it up. I'm in the early stages of learning some vba code; so I wanted to determine what could be done with the cell values in the sql code. I suspected that it...
  7. vambam

    Excel - MS Query - How to use Cell Value in SQL Select statement

    Hi, Is it possible within MS Query select statement to use a cell value as part of the sql select statement where clause without using Add Criteria/parameters (which becomes disabled in commplex sql select statements) and without using VBA coding? TIA, Doug

Part and Inventory Search

Back
Top