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 Chriss Miller 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: *

  • Users: CJwater
  • Content: Threads
  • Order by date
  1. CJwater

    Round up over to 49 to 100 and under to 0

    Can anyone explain how to or give me a "simple" example I need to create a SQL query for a report that rounds down to 0 in the tens if the value is under 50 and Up to 100 if it's fifty and over. Thanks CJ
  2. CJwater

    What reference/import doI need for stdole.IUnknown

    I'm converting VBA script code to .net and am not all that familiar with it. My class contains Public ReadOnly Property NewEnum() As stdole.IUnknown Get NewEnum = m_Terms.GetEnumerator End Get End Property I'm getting an error: Error 11 Type 'stdole.IUnknown' is...
  3. CJwater

    Access 97 can I export query to CSV file? how?

    Can I export a query from Access 97 to a .csv file? If so does anyone have an example? Thanks CJ
  4. CJwater

    Crystal rpt export to Excel in VB code not getting Column Headers

    Hi, I'm Exporting a crystal report to Excel and I need to include the column headers. The follow code does the report export but I don't get any header (It does gives me all report totals). Anyone have an idea what I'm doing wrong? missing? Set report =...
  5. CJwater

    VB- Crystal 8.5 export to Excel need Column Headers

    Hi, I'm Exporting a crystal report to Excel and I need to include the column headers. The follow code does the report export but I don't get any header (It does gives me all report totals). Anyone have an idea what I'm doing wrong? missing? Set report =...
  6. CJwater

    Need example of Editing Datagridview in code

    Hi! I trying to figure out the datagriview events and getting nowhere. I'd like to update the SQL database on the cell change. Does anyone have a simple example? Thanks CJ
  7. CJwater

    Query on row field and display as columns

    Hi, My table has a field AccType and it can contain 1 of 4 values on each record with an Amount for each. I need to create a table with those 4 columns and matching Amount. I'm sure this can be done but I can't picture how. Table1 has 3 or 4 possible value CB, TL, PA and PAC it also has the...
  8. CJwater

    VBA breakpoint not clearing in execution mode

    Has any one ever had an issue with "Breakpoints" not clearing and in code execution stopping at an old breakpoint? I cleared all breakpoints and recompile but in execution mode it still stops at an old breakpoint that I use for testing. I compacted and repaired same results. I'm at a lost...
  9. CJwater

    Passing ListBox multiselect to Gridview using Store Proc

    I'm trying to populate a gridview depending on 3 listboxes using "multi selection" to call a stored proc that expects 3 parameters that can be nulls if there's no data. (This works in ACCESS and I'm convering this application to the ASP.net and having trouble.) Stored Proc Info: CREATE...
  10. CJwater

    Insert into Linked table Query that won't excute in code

    Hi! I'm converting an app that had internal Access tables to SQL tables. I'm having a problem with an "Insert Into" query that inserts into a new SQL table. I added public permissions on the table for everything. When I run the code in debug mode and leave the query open, I see the query...
  11. CJwater

    Can I import a SQL view in Access 2000?

    Hello! I'm rebuilding an older Access app and it appears to me the original app has a SQL View used as a linked table. Is this possible? If so how do I go about creating/importing this table? In my ODBC import I only have a table option. Thank You CJ
  12. CJwater

    Passing comma delimited strings in an SP for a where in ('")

    Hi, I'm having trouble creating/running an SP that accepts two string parameters that will be used in a where in clause. Below is how I'm going about it and the error I'm getting. Would like to resolve the error but if someone has a better way to do this I'm all for it! (I try to avoid string...
  13. CJwater

    Access 2000 Query (access not SQL) with Parameter Need help

    Not really sure how to call an Access query and pass parameters in ADO. My query works, my VBA code does not. Here's my code any help would be greatly appreciated! Dim db As Database Dim rst As Recordset Dim qdf As QueryDef Set db = CurrentDb Set qdf = db.QueryDefs("qry_GetWorksheetFlag")...
  14. CJwater

    SQL 2000 TEMP table Invalid column name uisng SQL string

    I've tried this 50 different ways and am not getting anywhere... I tried not using Temp table and it WORKS. I'm not sure but I believe my users won't be able to execute delete table with out me changing permissions to DB owner? I'd rather resolve this temp table issue. (Insert into didn't work...
  15. CJwater

    CASE in a where clause for Stored proc

    Hi!, I'm passing in an optional parameter to a store proc and would like to add it to the were clause if the optional parameter is not NULL. (This case does not work) /* @Allowance is my optional parameter WHERE dateYY Between @StartYr And @EndYr and ACC_No Between '25000000' And...

Part and Inventory Search

Back
Top