Search results

  1. K

    Form based on table/query to select a recordset ID for inclusion as a FK in table

    Trying to use a form based on a table to choose a recordset of values, and pick the ID of that recordset to include in another table as a foreign key. I am not sure how to even search for what I'm trying to do, though I've tried all the variants I can think of anyway. The idea being that there...
  2. K

    FileSystemObject (fso.copyfile) copying file in memory, or on the drive?

    I'm attempting to set up a locked excel file to be used as a framework that has a command button with vba code attached that will save the edited file as a new file name. The code seems to work, insofar as it does time stamp and rename the file as I intend. The problem I'm encountering, is that...
  3. K

    Combine successive records in query based on common field value

    I am currently attempting to import a CSV data file that lists information in a top down format that I need to convert to a compacted flat file form for further calculations and manipulation, but cannot figure out how to to do so. I believe I'm missing something basic in how I'm doing my select...
  4. K

    Using an update/append query to populate a table based on a formula

    I haven't even been able to find the right criteria to search for in the forums to get meaningful information, so I'll pose this question, and hopefully someone can answer, or point me to the correct keywords. I wish to make an update query which would populate a table based on the number of...
  5. K

    Sum in Report Footer, by year, data by quarter and year

    My data comes into the database from an outside source, grouped by Quarter for the first two years, and by year after that. I'm able to summarize data in the various footers (6 at present), for various time periods and criteria, as they're just straight vertical sums. However, when I reach the...
  6. K

    BeforeUpdate and Cancel keep getting Messagebox though

    I have a series of checkboxes, used to classify query criteria, such that you can run a report for 1st Quarter, 2nd Quarter etc, or by year. These are located on a form; however, when choosing a start and end date, I'm wanting to restrict the check box selection such that if your start period is...
  7. K

    Delete Query in VBA based on Combobox gives error, but runs in SQL query

    When attempting to run a Delete query via VBA based on a combobox, I'm getting the following error: "Object does not support this property or method" I'm unable to find anything via search that says this is, or is not possible. I currently have a simple form, with a combobox and a command...
  8. K

    Spec file losing data and spec fie location?

    Three questions actually: I've created and saved my spec file for importing my space delimited files, however the last column is truncating to the first letter only, when run manually or via VBA. Spec file contains 7 spaces for the field, and using an editor on the txt file shows 7 spaces...
  9. K

    Variable input, field sometimes present, sometimes doesn't exist

    I'm not certain how to handle this one. The data import procedure in my database is simply a set of VBA/command buttons that allow the user to browse the network and select a CSV file. The code deletes the existing table, and imports the new CSV file as a new table, and proceeds to append/update...
  10. K

    Date Range within a Date Range

    I'm trying to figure out how I can set a parameter on my query to search for any activity that occurs within a month, that falls within a date range. Specifically: Criteria TextBox: 4/2006 Activity Start: 3/6/2006 Activity End: 5/5/2006 I want this activity to show in my query because the...
  11. K

    Print multiple copies of a report with varying criteria from one command button?

    Is it even possible to programatically change the criteria and resend a report? At present if I want to run a report for every month of the year, (not summarize, but a detailed report for each month in sequence) then I have to manually change my time period and click the command button to run...
  12. K

    One-to-Many export to new Database, and retain structure.

    What I'm attempting to do is create a database storage of fixed information. This is the current situation: Monthly, a user enters forecast information which is eventually finalized, and reports are generated. Then modifications are made, and new reports are generated, but the problem is that...
  13. K

    Repeat a report but with different criteria on same report page

    I'm not sure if I'm looking at this problem correctly, but here's what I have set up (as close to 3NF as I can manage using generic names for simplicity below) tblDatatype1 & subtblDetails1 tblDatatype2 & subtblDetails2 tblDatatype3 & subtblDetails3 tblDatatype4 & subtblDetails4 tblDatatype5 &...
  14. K

    Select Case won't update all fields

    I'm attempting to put in some VBA code to simplify data entry, by updating controls on a subform based on prior entries. In essence, as the user enters values going from left to right, these values can in some cases, modify values further along the list accordingly. However, my problem seems to...
  15. K

    How do I use DAO to compare text box on form to query result?

    I have created a query with one row of data, and six columns in this layout: Month/Year in Question, Location, Criteria1, Criteria2, Criteria3, Criteria4 This layout could change to two rows at some point in the future, though I could create a second query where the Location is unique so that...
  16. K

    Permanent filter on form based on unbound text box on another form

    I'm not sure I can find anything quite like this elsewhere with the search function, following examples in other threads it's like my filter is being completely ignored, gives an error, or shows no records. Here's the situation: This database contains forecast information by month, so upon...
  17. K

    "Error #0" and "Resume without Error" looping from error handler.

    Within my VBA code I was attempting to input some error handling, but I'm getting a looping effect I can't get out of without Ctrl-Alt-Del and killing the process. I also am unable to determine what the error is that's occuring, so therefore, am unable to repair. Here's the VBA sub in question...
  18. K

    Dlookup or ? to compare windows login to a table of allowed accesses

    Perhaps this isn't the most appropriate method of verifying user identity, as someone could use an existing login on some server, or login with someone elses password, but I believe that shouldn't be an issue to deal with here. I've spent the past 8 hours poring over the boards, and can't quite...
  19. K

    Running total calculation for Month to Date value for every day in the month

    I've been unable to find anything in the archives about this so far, but what I'm attempting to do is create a query based on tables with three columns; for the express purpose of creating a graph on a report. The first field is the day/month/year. Second field is forecast month to date...
  20. K

    Don't want it Filtering Before Macro Runs

    I have a form linked to a table, What I'm attempting to do is open the form and filter the data. At present I have the form set up so that the On Activate function calls a macro with unbound boxes that merely asks for the month, and year for which you are going to manipulate data. This macro...
Back
Top Bottom