User Profile

Collapse

Profile Sidebar

Collapse
Vasago
Vasago
Last Activity: Sep 3 '15, 08:17 PM
Joined: Mar 12 '14
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Vasago
    started a topic Run Time Error '3075' Syntax error (comma) in Query

    Run Time Error '3075' Syntax error (comma) in Query

    I have narrowed it down to [Field Trip Selection log].Driver) =" & Me![Employee]. My employees do have a comma in their names. Thank you for your help.


    Error Code says:
    Run-time error '3075'

    Syntax error(comma) in query expression '(((Field Trip Selection log].Driver )= Thomas, Bob)And (([Field Trip Selection Log].[Yes]=False) And (([Field Trip Selection log]/[No] = False))'.

    ...
    See more | Go to post

  • I do not have "pro" installed on my computer. If needed I will pick up a version of it.

    I have Access 2013.

    I'm going to say no to the digital certificate for file signing. I'm not sure what this is exactly. I don't need to ability to sign the documents but just a box where my clients can sign.

    Thank you zmbd for the help. I couldn't find much at all on this subject.
    See more | Go to post

    Leave a comment:


  • Vasago
    started a topic Exporting to PDF that contains a Digital Signature

    Exporting to PDF that contains a Digital Signature

    Is there a way to export a form to PDF and have it contain a box for a digital signature?
    See more | Go to post

  • Vasago
    started a topic Run-time error '3075' with dlookup

    Run-time error '3075' with dlookup

    I can't seem to get this dlookup to work correctly. I have double check all the spellings.

    This is the error I'm Receiving.

    Run-time error '3075':
    Syntax error in query expression '[Trip Date] = #7/8/2014# and School = 'The A Group' and Amount =$409.78'.

    Here is the code:
    Code:
    [Invoice #] = DLookup("[Invoice #]", "Invoices", "[Trip Date] = #" & Forms![charter
    ...
    See more | Go to post

  • Adding * to the left of a field to fill a certain number of characters

    I am working out my payroll system and would like * to the left of the field that has the check amount in "words"

    example:
    (Currently Showing)
    one thousand and five hundred dollar and 12 cents
    (Would like it to show)
    one thousand and five hundred dollar and 12 cents*********

    Another example
    (Currently Showing)
    ten dollars
    (Would like it to show)
    ten dollars******** *************** *************** ********...
    See more | Go to post

  • Vasago
    started a topic Dsum with Syntax Error

    Dsum with Syntax Error

    I have a Dsum that worked until I added the " And [Trip Sign Off] <=8:45:00 AM" . I am now getting this error:

    Syntax error (missing operator) in query expression '[Week] = 6 And [Trip Sign Off] <= 8:45:00 AM and DatePart('d',[Date]) <= 3 and [Employee]='Batson, Leroy''.

    Code:
    DSum("[time]","Profit Breakdown 1","[Week] = " & [week number] & " And [Trip Sign Off]
    ...
    See more | Go to post

  • Vasago
    replied to Query Running Sum with no Values
    I have found the issue. I need to run Dsum in a new Query.
    See more | Go to post

    Leave a comment:


  • Vasago
    replied to Query Running Sum with no Values
    Update:

    I was able to get it to calculate correct with this

    Code:
    Running Total: (DSum("[time]","Profit Breakdown 1","[Week] = " & [week number] & " And  DatePart('d', [Date]) <= " & [ddate] & " And [Employee]='" & [Employee1] & "'")/60)
    But it only Calculating it for about 1/2 of the entries. I double checked the empty ones to...
    See more | Go to post

    Leave a comment:


  • Vasago
    started a topic Query Running Sum with no Values

    Query Running Sum with no Values

    I have a query that I am trying to get my employees weekly hours running sum. That way I can seperate the overtime hours and properly calculate profits. I am using a dsum() to add employee time if it is the same week number.

    I am not getting any results for Running total.

    Code:
    Running Total: DSum("[time]","Profit Breakdown 1","[Week] = " & [week number] & " And  DatePart('d',
    ...
    See more | Go to post
    Last edited by zmbd; Apr 30 '14, 03:56 PM. Reason: [z{placed required URL tags}]

  • Vasago
    started a topic Compile error: End Select without Select Case

    Compile error: End Select without Select Case

    I am getting a this compile error on line 22 and I do have the Select case and End Select.

    Code:
    Select Case [Booking Status]
    Case 1
        DoCmd.OpenReport "Charter Order Form", wherecondition:="Bookings.ID='" & Forms![Charter Order Form]![ID] & "'"
    Case 2
        If [Invoice #] = 0 Then
           tempinvoiceid = (DMax("Invoice #", "Invoices") + 1)
    ...
    See more | Go to post
    Last edited by zmbd; Apr 29 '14, 02:17 PM. Reason: [z{Stepped code without inserting any corrections. Placed continuations at logical points for easier reading}]

  • Vasago
    replied to Dcount getting runtime error '2471'
    ZMBD,

    Thank you again for your help. Problem is solved and I feel extremely embarrassed. [Bookings ID] is suppose to be [Booking ID].

    Thank you,
    Vasago
    See more | Go to post

    Leave a comment:


  • Vasago
    replied to Dcount getting runtime error '2471'
    Zmbd,

    I can't thank you enough for you time, lesson, and knowledge. My debug print for strSQL is Your criteria = [Bookings ID] = 2113. This is the correct Bookings ID.

    I am getting the error below on line 9.

    Error:
    Run-time error '2471':
    The expression you entered as a query parameter produced this error: '[Bookings ID]'

    Code:
    Private Sub Form_AfterInsert()
    Dim db As Recordset
    ...
    See more | Go to post

    Leave a comment:


  • Vasago
    replied to Dcount getting runtime error '2471'
    ZMBD,

    I can't thank you enough for you time, education and knowledge. I have included the code below. My debug print for strSQL is Your criteria = Bookings ID = 2110. This is the correct Booking ID number.

    Error Code on line 9:
    Run-time error '2471':
    The expression you entered as a query parameter produced this error: '[Bookings ID]'

    Code:
    Private Sub Form_AfterInsert()
    Dim db As Recordset
    ...
    See more | Go to post

    Leave a comment:


  • Vasago
    replied to Dcount getting runtime error '2471'
    Booking ID's type is a number along with ID
    See more | Go to post

    Leave a comment:


  • Vasago
    started a topic Dcount getting runtime error '2471'

    Dcount getting runtime error '2471'

    Bookings ID is number
    ID is autonumber
    Error says:
    Run-Time error '2471':
    The expression you entered as a query parameter produced this error: '[Bookings ID]'

    Code:
    If DCount("[Click ID]", "Access Click log", "[Bookings ID] = " & Forms![Roll Out CRM]![Royal Rollout AM Routes]![ID]) = 0 Then
    Thank you for the help!
    Vasago
    See more | Go to post

  • Dlookup using a expression builder getting a syntax error

    I have a dlookup i am using in a query to pull in a field. My expression builder has this code.

    Code:
    Scheduled: DLookUp("[Hourestformatted]","Week and Estimated Hours","Driver='" & [Week and Actual Hours]![Employee] & " ID='" & [Week and Actual Hours]![ID] & "'")
    Error:

    Syntax error (missing operator) in query expression 'Driver=' ID='3'' <-----(these...
    See more | Go to post

  • Vasago
    replied to Access form not opening
    Thank you for your help. I tried all of the above with no luck. Load a backed-up version and haven't had a problem since
    See more | Go to post

    Leave a comment:


  • Vasago
    replied to Access form not opening
    Running into the same issue if I use my created button or navigation pane to open.
    See more | Go to post

    Leave a comment:


  • Vasago
    started a topic Access form not opening

    Access form not opening

    I recently changed my code from Dlookup to opening a recordset. This is my first time using a record set and having issues opening the form now. When I click to open the form nothing happens. No errors and it doesn't load

    Here is the opening code

    Code:
    Private Sub Form_Load()
    Dim db As DAO.Database
    Dim rst As DAO.Recordset
    Dim strRst As String
    Dim strCriteria As String
    
    strCriteria
    ...
    See more | Go to post

  • Vasago
    replied to Dlookup not returning correct value
    Seth,

    I can't thank you enough for your help and for the "access VBA Class".

    Sincerely,
    Vasago
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...