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 TouchToneTommy 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: EdAROC
  • Content: Threads
  • Order by date
  1. EdAROC

    Default Value - Calculate Date Using If... --> #Name?

    I'm attempting to optimize the user interface on a form that prompts for a date for which a report will run. Normally the employee will run the report using yesterday's date. So, I set the default to = Date()-1. This works fine. I want to take this a step further. There is usually no activity...
  2. EdAROC

    Retrieving a unique number

    Help! I looked at FAQ700-184 on how to retrieve a unique number (vs using AutoNumber). Problem I'm having is getting from the current design to a new design. The need for the change is that we are adding a 2nd PC/printer to generate labels and need to avoid duplicate numbers (NextNum - unique #...
  3. EdAROC

    How Do I Lock A Record, and other associated tasks

    Requirements: Retrieving a Next Number. Similar to a PO# scenario, except this one's for a few customers requesting a unique ID on each pallet. This is NOT an autonumber situation. There is a table CustLabelData with fields CustomerID and NextNum. One record for each customer requiring this...
  4. EdAROC

    How do I Manage Record Locking

    I hope I provide enough information here. I am revising a program that gets info from ERP data source and prints labels that go on shipment pallets. Here's the key issue - a unique number assigned to each label for some customers. A few customers require this, no problem. There is a table...
  5. EdAROC

    Combine two queries into one

    Situation: Select for vendors who (1) had PO activity in 2006 or (2) vendor record created in 2006. So far my technique has been to create a Totals query (design view) to get the last PO date and then use that query in another to get the desired records. Here are the SQL Views of the queries...
  6. EdAROC

    Title to contain parameters from form

    When I started this report I thought I had the skills. Oops. :-) Want the 2nd line of the title to read the date range specified by the user. The values are coming from the form, txtDate1 and txtDate2. Line Example: 12/01/06 - 12/31/06 I tried the following in a text box on the report...
  7. EdAROC

    "Hiding" Form When Report Runs?

    Darn! I was doing so well, now I forgot how... Have a form that gathers parameters for a report that will display on the screen. When the report runs the form remains displayed and on top, covering the report. I would like the report to be on top when it is displayed. I'm thinking to keep the...
  8. EdAROC

    Setting Default Dates To Prior Month

    I'm working on a form to prompt for report parameters and run a report. The report has Begin and End dates (and uses popup calendar learned here, thank you). I know that accounting will usually run this report as part of their closing process (the first few days of the next month), therefore...
  9. EdAROC

    How Do I ... Criteria "A" and ("B" or "C") in Grid

    Creating a report to print labels (to go on manilla folders) for "active" vendors. Our criteria for an "active" vendor is: 1. Status is "A" 2. Last PO activity on/after 1/1/2005 or Vendor record was created on/after 1/1/2006. (The "created on/after" criteria is to catch vendor records recently...
  10. EdAROC

    Bug - A dialog box appears showing a value

    Using Access to query an ERP (SQL) database. After a variety of queries to pull the data together it ultimately generates a report. Anyway, what appears to be a dialog box now pops up. It looks like one of my debugging tricks - displaying the value of a variable. In this case the strSQL value...
  11. EdAROC

    How do I check if any records were selected?

    After the statement: Set rs = db.OpenRecordset(strSQL) executes I would like to check to see if any records were selected, if not (no records selected) then display an appropriate message and exit. What is the statement to check if any records were selected? If records were not selected what...
  12. EdAROC

    Dim db As Database ... I don't understand

    Working on a project to take checks written (ERP SQL database) for a specified date range and create a text file which will be sent to our bank. In the VBA Coding I used: Dim db As Database *This works in other files. When I run this app/file get the error message: "Compile Error...
  13. EdAROC

    Thanks! For your help through 2006.

    This goes out to the many people who have responded to my many questions. Your knowledge, time and effort is greatly appreciated. I just finished a project which required a variety of techniques that have been learned thanks to you. In short, using a form to get user report criteria including...
  14. EdAROC

    Changing ODBC connection of a file

    We have an Access file where all tables are links to our (ERP) database, SQL 2000. We gave the file to another company using the same ERP app and SQL 2000. They are having a problem: Our ODBC connection name is SQLBase_300 (a carryover from using SQLBase). Their ODBC connection name is not the...
  15. EdAROC

    Creating a text type output file

    New territory for me ... I need to create a text file of information about A/P checks we create. The file will be FTP'd to the bank. Created a query to retrieve the checks produced for a specified date. Now I'm stuck. Didn't see an example in Tek-Tips, nor in the "Access 97 Developer's...
  16. EdAROC

    Is there a way to eliminate redundant formula snippets

    Is there a way to use a calculated value rather than having to re-use the formula in each column of a query? For example... Need the following calculations: Layman's Terms: Maximum Quantity is the allowed quantity over quantity ordered we may ship and bill. Example - Overrun is 5% (.05)...
  17. EdAROC

    Between functionality with time stamp misses last date transactions

    I know this has been asked before... Created a report which includes a totals query with Max on a time stamp field (transactions entered during the business day) - objective is to 'consider' all transactions for the group to be as of the last transaction date. Example: Multiple shipments of an...
  18. EdAROC

    How do I return to form if an input error?

    Got a form for user to enter begin and end dates and click a "Run Report" button. This initiates code to check for valid dates and display an appropriate message. If a date is invalid, what is the best way to exit the sub and return to the form? Here's the code for checking, displaying, then it...
  19. EdAROC

    Run-time error '3075' - Need help diagnosing

    When SQL statement executes get an error. This is the command executing the SQL statement: Set rs = db.OpenRecordset(strSQL) ------- This is the error message: Run-time error '3075': Syntax error (missing operator) in query expression 'dbo_orders.spec_no = specs.spec_no inner join combo_specs...
  20. EdAROC

    Can a "tab" (or functionality) be used in a text box?

    I have two text boxes on a report: Grs Sht WxL 25.00 x 26.00 Net Sht WxL 25.00 x 24.00 Ariel 8 (all report items are in Ariel). The "problem" is that Grs and Net differ so slightly in size that the dimensions are not exactly lined up. Is there functionality, like a tab, to replace the 3 spaces...

Part and Inventory Search

Back
Top