User Profile

Collapse

Profile Sidebar

Collapse
Rotor
Rotor
Last Activity: May 31 '07, 05:41 PM
Joined: Nov 14 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Seems more trouble than is worth. Plus it doesnt affect my functionality, was just trying to make it look purdy.

    I was using >L<???????????? ??

    Edit: Thank you for your time looking up those links.
    See more | Go to post

    Leave a comment:


  • Input mask upper case first letter of each word in field.

    Okay I know how to upper case the first word. However, how do I make it so first letter of each word in the same field is capitalized?

    Thxs.
    See more | Go to post

  • Rotor
    replied to Auto Populate fields from subform to form.
    [QUOTE=Rotor]

    Here is the code I placed in the form "FormAcftJobsCo mp":
    Code:
    Private intWOorWRI As Integer
    Private Sub Form_Open()
        intWOorWRI = Me.OpenArgs
    End Sub
    Okay after troubleshooting , the above code is the problem. If I eliminate the code, the form opens fine. Ofcourse the field data is not copied over. I tried a couple of things. But it seems every time I remove the code...
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    Hello,

    Sorry to comeback to this so late, but had a really busy week. Anyways, I tried the Debug code and nothing happens, still same error. Is this code supposed to print to a txt file?

    Thxs.
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    On Monday I'll try going back with the original suggestion (Now that the field name has changed) and see if that helps. Being an Access noob, is very possible I may have borked something in the DB, but dont know what to even look for hehehe.

    Also, the calling form is always open, so that wont be a problem if I try the other workaround. The only problem I see, is that with this code will it remember which record the user clicked?...
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    Thiking outloud here, but while working on parameters queries based on a form, I learned that [Forms]![FormName]![FieldName] instructs access to obtain teh value of the field control in the form from the Forms collection. This becomes the criteria for running the query.

    Can this not be done in like the OpenEvent of the form that I going into? LIke on open set focus to WOorWri, and then in the OnFocus event for WOorWRI put in the...
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    Disregard this statement, I was mistaken....
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    BTW, one question I did not answer is that WOorWRI field are number fields.
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    Sorry, no dice NeoPa....the only thing I noticed between your code and the initial iteration I tried is the brackets and quotations around the field name?...
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    Code:
    Private Sub WOorWRI_Click()
        DoCmd.OpenForm "FormAcftJobsComp", acNormal, , ,
        acFormAdd, acWindowNormal, Me.[WOorWRI]
    End Sub


    I am lost. I copy pasted the code you posted, I only changed the field name. The split in my post was just for posting purposes, in the editor the line is one continuous line. As such:

    Code:
    DoCmd.OpenForm "FormAcftJobsComp", acNormal,
    ...
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    Okay, I renamed all pertinent fields to "WOorWRI"

    Here is the code in the subform to open "FormAcftJobsCo mp":

    Code:
    Private Sub WOorWRI_Click()
        DoCmd.OpenForm "FormAcftJobsComp", acNormal, , ,
        acFormAdd, acWindowNormal, Me.[WOorWRI]
    End Sub
    Here is the code I placed in the form "FormAcftJobsCo mp":
    Code:
    Private intWOorWRI As Integer
    ...
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    Okay, I am going to eliminate this variable by changing the field names, then I'll get back to ya with the rest. That way we know for sure that is not the problem....
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Query "or" help needed.
    Okay, parenthesis fixed. Thxs.

    Now to deal with that other thread :). I am going to address the field naming issue foist, then get back to you with the rest....
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    Okay, subform "SubFormAcftWor ked" resides within "FormEntryP age" as a quick preview for my users of hull# and associated WO# recently worked. It displays the last 10 records from its correspoding table.

    By clicking field "WO/WRI#'s" form "FormAcftJobsCo mp" is opened where the user can enter a new job done. I would like for the field "WorkOrder/WRI" in form "FormAcftJobsCo mp"...
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    NeoPa, I appreciate all the help you all have given me for the past few weeks. I in no way expect immediate help, nor for you stay up into the wee hours of the morning on my account. Now, sleep well, and then work the next 48hrs straight until problem is solved ;). Just kidding. Again, thxs for your help....
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Query "or" help needed.
    Good Morning Neopa,

    I tried the above and I am getting a syntax error. Here is the SQL:

    Code:
    And ((tblAcftJobsComp.[Created Date Local])
    >Nz([Enter Date mm/dd/yy], DateAdd("d", -30, Date()));
    Hope I layed it out okay for ya, wasnt sure what you meant, so I assumed to mean to break it up in the window....
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Primary key relationship question.
    Thank you. You know the blind squirrel gets a nut once in a while. :)...
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    Okay, so I tried this:

    Code:
    Private Sub WO_WRI___s_Click()
        DoCmd.OpenForm "FormAcftJobsComp", acNormal, , , acFormAdd, acWindowNormal, "<WorkOrder/WRI>"
        
    End Sub
    
    Private Sub Form_Activate()
      Me![txtWO/WRI#'s] = Right(Me.OpenArgs, Len(Me.OpenArgs) - InStr(Me.OpenArgs, ","))
    End Sub
    It opens form, but the wo# is not autofilled, all...
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    Okay, back to these instructions. I know realize what that I was in the right spot all along, just got confuse by the terminology in VBA editor.

    Okay, so I am in

    Private Sub WO_WRI__s_Click () where I Put the following:
    Code:
    DoCmd.OpenForm "FormAcftJobsComp", acNormal,,, acFormAdd, acWindowNormal, "<WO/WRI#'s>"
    End Sub

    Now does the this code:
    Code:
    Private Sub Form_Activate()
    ...
    See more | Go to post

    Leave a comment:


  • Rotor
    replied to Auto Populate fields from subform to form.
    Okay, i think I know what I am doing wrong, or not doing for that matter.

    How do I get to this spot in the VBA editor?

    Code:
    DoCmd.OpenForm "FrmJobAccomplished", acNormal, , , acFormEdit, acWindowNormal, "<hull#>,<WO#>"
    I figured this one out:

    Code:
    Private Sub WO_WRI___s_Click()
    Me![txthull#] = Left(Me.OpenArgs, InStr(Me.OpenArgs, ",") - 1)
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...