Search results

  1. A

    How to delete all records in a table

    No problem. Know that if you're dealing with a table of considerable size, deleting the table often will cause the size of the database to balloon and become potentially unstable. Make sure you're performing proper maintenance via Compact/Repair.
  2. A

    Combine two IIF

    Sorry, I misunderstood. vbaInet's solution works.
  3. A

    Combine two IIF

    Assuming you're talking about a query, why not use this: Count: Sum(IIf([status]="Acceptable",1,0))
  4. A

    How to delete all records in a table

    DoCmd.RunSQL "Delete * From [TableName]"
  5. A

    Date Formula Help Please

    Glad to help
  6. A

    Date Formula Help Please

    Does it need to actually change the data in the table to which it's querying or just display in the query a "1" if contains 9, else display "0" Does this mean the query needs to figure out what the last day of the month passed is and pull all records that fall between the first and last day of...
  7. A

    Date Formula Help Please

    And Trim([OMNI_Status1])>"?9?",1,0) I think what you're trying to do here is trim the leading/trailing spaces from your data. In that case Trim([OMNI_Status1]) gets the job done as it does an LTrim and RTrim. If you adjust your query to read: Sum(IIf([CORRESPONDENT_PURCHASE_DATE] Between...
  8. A

    1-pg report now prints on 2 pgs; 2nd blank

    Check your visible area. If you have your workspace dragged way down or right then it assumes that you're intending on that blank space to be visible. Tighten up your workspace by dragging the visible area in closer or expand your margins to include the larger size. I had the same problem on...
  9. A

    Backup Button on Form

    Try This, I've highlighted the changes I made: Private Sub Backup_Button_Click() Dim str As String Dim buf As String Dim MD_Date As Variant Dim fs As Object Dim source As String Const conPATH_FILE_ACCESS_ERROR = 75 On Error GoTo Backup_Button_Backup 'buf = Back Up Folder 'buf is created if it...
  10. A

    Story

    "HOLY CRAP!!!". Paperclip
  11. A

    Go from "waiting" mode to "running" mode

    To anyone wondering, this is the solution I came across when I open a form (in this instance informing the user of a process that has started) just before running an import. Sometimes it will open the form but not display the contents until after the import, which makes a "hey we're importing...
  12. A

    Go from "waiting" mode to "running" mode

    Thanks, Bob. That's exactly it -- All I could remember is it started with a "D" :) I was just starting to run down the list in my index to try to find it. G
  13. A

    Go from "waiting" mode to "running" mode

    I seem to remember a method of telling Access to continue accepting/running commands while an import or some other activity is going on in the background. Unfortunately, I dont have the database I used it in anymore and cannot remember the code. Anyone know what I'm talking about and know the...
  14. A

    Story

    End. Great Story.
  15. A

    User-Level security example, please review

    Thanks for the input, Bob. I'll take note for the next example I post : )
  16. A

    User-Level security example, please review

    HK1 kind of beat me to the punch of uploading something similar, but this is something i've been working on for a week or so now when I have free time at work. In a nutshell, I was developing a solution to having user-level security without using the one integrated within Access. After some...
  17. A

    Story

    I saw one...
  18. A

    Blank field from second query table

    SQL looks good... My guess is you've got a problem with your Employee names on the Personnel table. If you'd like to upload the database I can take a closer look. I'm no expert like a lot of the guys around here, but there seems to be something basic missing somewhere.
  19. A

    Blank field from second query table

    Could you post the SQL statement for your query? To do this, open your query in design view, then change it to SQL View.
  20. A

    Blank field from second query table

    How are your two tables related to each other? Do you have an employee# (or some other identifying field) that links the 'laborused' and 'personnel' tables? A little more information on your database would greatly help diagnose the problem. Guy
Back
Top Bottom