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 wOOdy-Soft 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. gillianleec

    Excel VBA in Access to format spreadsheet

    I have a series of queries that I transfer to a workbook and then format using VBA. My problem is the section of code below that only works correctly on the first spreadsheet. Dim xlApp As Excel.Application Dim objExcel As Object Dim xlBook As Excel.Workbook Dim xlSheet As Excel.Worksheet Set...
  2. gillianleec

    Concatenate and write to a new table

    I have a dataset that I import and then need to concatenate. The dataset comes in the form of two record sets that then need to be parsed into one record. There is no connecting id, the only thing that I can do is grab them in two record groups and then concatenate that into one. I have...
  3. gillianleec

    Standing Order date calculation

    I am having trouble getting started on this project and would appreciate some direction. I have a table for Standing Orders where the user enters a client and the timeframe for which their orders should be generated. For example, they want their order bimonthly, the user would select...
  4. gillianleec

    Columns in subreport

    I have a report that prints for a location and has a subreport that prints the people associated with that location in columns. I have written code into the subreport that changes the fontsize depending on the recordcount in the subreport. I would also like to change the number of columns and...
  5. gillianleec

    Subreport Events within a report

    I have a subreport that has an On Activate event that changes the fontsize depending on the number of records. It works great when I run the subreport but does not work when I run the report. Private Sub Report_Activate() Select Case Me.Countrec Case Is > 4 Me.txtdocname.FontSize = 5 Case...
  6. gillianleec

    Use one parameter or the other but not both

    I hope this is a simple question. I am writing a query where I want it to check for the first parameter and if it does not exist, then choose the second parameter. My query returns results for both. I have tried as my parameters: 1. "High" OR "SMH" 2. IIf(ismissing([Prsched]="High")...
  7. gillianleec

    Make a new table to normalize data

    I am pulling data into reports from a program where the tables are not normalized. I would like to pull data into a new table in order to simplify reporting. The original table has fields like: ID#, Order#, Orderdate, Test1, Test2, Test3, ...Test19, AOtest20, AOtest21...AOtest59. The fields...
  8. gillianleec

    Loop query needed??

    I have a table with the fields: ID, OrderID, Test0, Test1, Test2, Test2, ...Test40 I know this is not normalized but I don't have control over that part. What I need to do is build a report that is grouped by ID that displays each test (matched to another table by testname (Billrules) for the...
  9. gillianleec

    Date/Time field

    I want to run a query that captures records that have a date and any time during that day. I am currently using >=Date(). I would like to use a between statement but not sure what to write. Any ideas?
  10. gillianleec

    Multiple Subreports

    I have a main report and am trying to insert 3 subreports. For some reasons, when I save and close the report, the second and third subreport revert back to the first subreport inserted. Am I doing something bizarre? I don't think I had this problem before.
  11. gillianleec

    Module to loop through fields and print on report?

    I am trying to print the results of a query in a textbox on a report. There are 99 fields for each record that may or may not have data. The fields are named test_id1, test_id2 and so on through test_id99. I would like to build a Function that would loop through the fields and then...
  12. gillianleec

    loop query

    I need to write a function (or nested query if that is easier) for a table with 39 fields: component(n) where n=1 to 39. I want to compare each field against another database and include if criteria is met. Where do I start?? Gillian
  13. gillianleec

    Displaying multiple fields in a row

    I have a record that has 39 fields of test results, I would like to display the ones that are not null in a row with commas. I have thought of arrays or for next loops (the field name is "fieldname(n)" with n=1 to 39 but am not sure of the correct code. Please help!! Gillian

Part and Inventory Search

Back
Top