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 SkipVought 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. BRIANVH

    Basic VBA Question - Adding a field

    dhookom, Thank you, your suggestion worked. Problem solved.
  2. BRIANVH

    Basic VBA Question - Adding a field

    Below is the sql code for the query, but the trouble I am having is with the VBA code in the associated report. I am not having any trouble with the query. SELECT [SYSADM_CUST_ORDER_LINE]![CUST_ORDER_ID] & "/" & [LINE_NO] AS JOBORDER, IIf([CUSTOMER_TYPE] Is...
  3. BRIANVH

    Basic VBA Question - Adding a field

    Yes, [USER_2] has always existed in the tables, but I added it to the query to make it usable in the report.
  4. BRIANVH

    Basic VBA Question - Adding a field

    I just added a field that already existed to a query. The query runs off our ERP system tables. The code is pretty simple, it just controls whether a logo is printed or not on a label. I just need to change the code so it will use the field I added to the query. The following is the code...
  5. BRIANVH

    Basic VBA Question - Adding a field

    I am attempting a minor modification to VBA code used in an Access 2000 report, but I know little about VBA code. I added a field to a query used in the report, and I attempted to modify the VBA code in the report to use the new field. In this case, the VBA code just controls whether a logo is...
  6. BRIANVH

    Intermittant ODBC Connection error

    I have an Excel 2000 spreadsheet that gets external data from an MS Access 2000 query. The MS Access query gets some data from Access tables and some data from an ODBC data source with tables linked to Access. This all works fine some of the time. However, some of the time we get the...
  7. BRIANVH

    On-Open Macro in Excel 2000

    I'm working on an Excel Template that gets external data via an ODBC query. That part is working fine. I'm trying to make the template refresh the ODBC data (run the query) automatically when the Excel file is first opened. I am thinking I need an Excel macro that is set up to run when the...
  8. BRIANVH

    USING MS QUERY IN EXCEL

    Is there a way to have a cell in Excel control the criteria used in Microsoft query to pull data into Excel from a MS Access table (Office 2000)? In this case, only one record (row of data) is needed from the Access table for each Excel file. There will be many Excel files, created by copying...
  9. BRIANVH

    Descending Sort with Positive and Negative Numbers - Access 2000

    Thanks Duane, you got me headed in the right direction, and now I found a workaround that seems to work ok. I am now using =[TotalSales]+25000 in the sorting and grouping dialog box, which in this case is large enough to eliminate the negative numbers for sorting purposes and then the report...
  10. BRIANVH

    Descending Sort with Positive and Negative Numbers - Access 2000

    I believe the data type of the field is decimal, and I don't beleive I can change the type since it is being pulled from an ODBC linked table. When I tried either CCur or CDbl functions, the query starts running but then I get the "This expression is typed incorrectly or it is too complex to be...
  11. BRIANVH

    Descending Sort with Positive and Negative Numbers - Access 2000

    I did not have any luck with the suggestion to use a CDbl([field name]) function in the sorting and grouping dialog box. I could not get the function to work here (syntax problem?) I did try putting [field name]*[field name] in the sorting and grouping dialog box, but that yielded a sort order...
  12. BRIANVH

    Descending Sort with Positive and Negative Numbers - Access 2000

    For some reason, my report is putting negative numbers at the top of the list in a column that is sorted descending and contains both negative and positive numbers. This is a sales by customer report sorted so the customers with the highest sales come at the top of the report. I modifed the...
  13. BRIANVH

    Form Header Data Entry

    Is there a way to allow data entry into the header of a form, or is the header strictly for printing?
  14. BRIANVH

    ODBC Link Table in Access - Changing Database

    Access 2000 I have a new server that will be dedicated to our ERP database (sqlbase), and I have a test copy of my database functioning on the new server. Now I am trying to get my existing Access Reports working off the test database on the new server. I tried changing (and also deleting and...
  15. BRIANVH

    RUNNING TOTAL

    Thank you, that does the trick.
  16. BRIANVH

    RUNNING TOTAL

    I need more than a simple total or sum. Each row of data needs a running balance (total) which would total up all of the prior rows of data, but not include subsequent rows. I hope I am making sense.
  17. BRIANVH

    RUNNING TOTAL

    Is there any way to calculate a running total in a query or report? My data has a beginning balance, planned usage by job, and planned purchases by Purchase order, that are unioned to a "Quantity" field. Somehow I need to calculate the projected inventory balance as of each date...
  18. BRIANVH

    Space character in Code 39

    Anyone know of a font you can buy that would work with a space character, or alternatively how I can use some type of formula in Access to convert the spaces in the raw data to another character?
  19. BRIANVH

    Space character in Code 39

    I am a barcode novice trying to get a code 39 font to work in an Access Report. Everything seems to be working OK, except I can't read any barcode that contains a space character (there is a blank gap in the printed barcode). The report pulls from a large existing database that contains space...
  20. BRIANVH

    CONDITIONAL PRINTING OF OLE UNBOUND OBJECT

    I'M TRYING TO CREATE A REPORT TO GENERATE LABELS. THE COMPANY LOGO (AN OLE UNBOUND OBJECT) MUST ONLY BE SHOWN IF SPECIFIED CRITERIA ARE SATISFIED, OTHERWISE I WANT TO PRINT A TEXT FIELD (THE DEALERS NAME). IF THAT IS NOT POSSIBLE, HOW CAN I MAKE THE LOGO ONLY BE VISIBLE IF SPECIFIED CRITERIA...

Part and Inventory Search

Back
Top