Search results

  1. J

    Moving/Hiding Multiple Controls with VBA

    I am creating a new module for our company database to track project cost vs budget. Our system is set up with multiple cost lines, each containing various cost codes. However, not all lines will be used on a project. Typically only 5-6 lines, but I need to set the form up to use the other...
  2. J

    Select Query keeps changing to Union Query

    That did fix it. Thanks again. :D
  3. J

    Select Query keeps changing to Union Query

    That would make complete sense. It just started doing this after I made some changes/additions to the query. [union] being on of the additions. It never even occurred to me. I'll give it a try. Sometimes it just takes another set of eyes. Thanks for the help.
  4. J

    Select Query keeps changing to Union Query

    I have a query that I have created as a Select Query. It will work fine for a little bit, but keeps converting to a Union Query on its own and then gives an error "Syntax Error (missing operator) in query expression 'Tanks.'." This is driving me nuts. I've gone through the Design View when it...
  5. J

    Syntax Error Missing Operator

    That's my thought too but wasn't really sure where to start with it. It only does it with select records. Just wasn't sure where to start looking. I have the same expression in another Form that seems to be working fine. May force one of the offending records to appear in that Form and see what...
  6. J

    Syntax Error Missing Operator

    Everything is right justified in the query. This indicates numeric, correct? Sorted ascending, the first value is 1. Sorted descending, the last value is 1620. Looks like the data type is numeric in both the table and query, correct?
  7. J

    Syntax Error Missing Operator

    Tanks is a table. The [Job_ID] is an Autonumber, Long Interger. The datasource for the form is a query. Sorry, but don't know how to check the datatype in a query?
  8. J

    Syntax Error Missing Operator

    Thank you for the replay. While this would avoid the error, it would defeat my purpose as I still wouldn't fetch the value. The field [Job_ID] contains a value. I can see it. For some reason it doesn't pull into the expression for some records.
  9. J

    Syntax Error Missing Operator

    I am attempting to perform a Dlookup to populate an unbound control with the following command: Me.txtad_Ship.Value = DLookup("[ad_Ship]", "[Tanks]", "[Job_ID] = " & Me.Job_ID) For some of the records, I get an error message of "Syntax error (missing operator) in query experssion '[Job_ID]...
Top Bottom