User Profile

Collapse

Profile Sidebar

Collapse
Becker
Becker
Last Activity: Oct 16 '14, 03:59 PM
Joined: Jul 13 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Becker
    replied to Identify the current record number
    Have you used the code on that site before? I think it looks like exactly what I want to do.

    I created the table and pasted the code in but it doesn't work. It says that the field me.customerid could not be found (in the unload event). Is there something else I was supposed to do to make this code work?
    See more | Go to post

    Leave a comment:


  • Becker
    replied to Identify the current record number
    Thanks. Also I just found out I can refer to the record as me.currentrecor d. I didn't think it would be that easy.
    See more | Go to post

    Leave a comment:


  • Becker
    started a topic Identify the current record number

    Identify the current record number

    I want my database to open automatically to the last record that was being viewed on a form when it was closed. I was thinking of having the current record number saved to a textbox in a table so that the number could be recalled and I could use the gotorecord command to go there. I don't know how to have access determine and save the current record number to a text box though. Any ideas on how to do this would be lovely. Thanks.
    See more | Go to post

  • Becker
    replied to Add data into a table
    The form is already bound to a query that doesn't have the table of interest in it. There are multiple records on the one table for each record in the query so it was messing up my query having them together.
    See more | Go to post

    Leave a comment:


  • Becker
    started a topic Add data into a table

    Add data into a table

    Is it possible to add the values from text boxes on a form into a table other than the one the form is bound to? For example: I have a text box "production id" on form "data" which is bound to the query "info". When a button is clicked I would like the user entered value in the text box "production id" to be saved as a new record in the table "labor". I hope that makes sense what I am thinking.
    See more | Go to post

  • Becker
    replied to Entering data into table
    So I went and changed around my recent addition to my table and split it into two tables linked together in a query by their primary keys. I think it is normal now. IDK for sure because I am so new. It made it look nicer though and I can see some areas in the future where is will make things easier.

    Sometimes it is hard for me to explain what is in my head haha. Basically if I can figure out how to add text to the next empty field...
    See more | Go to post

    Leave a comment:


  • Becker
    started a topic Entering data into table

    Entering data into table

    I am trying to track the order in which products are completed by their surface finish. We have 6 finishes. I have for each finish a button to specify that finish has been completed. Currently on the table I have a field for the date and one field for each finish. I am successfully adding the total number of each kind of finish per day. There is automatically a new record created each day. I just added fields labeled 1-99 into the table. I...
    See more | Go to post

  • Becker
    replied to Query Criteria
    That works perfectly. Thank you.
    See more | Go to post

    Leave a comment:


  • Becker
    replied to Query Criteria
    Thanks. That helps for finding the previous date. Now how can I specify times to use it at? I want the current date from 6am to midnight and the previous date (using the datadd() function) for midnight to 6am.
    See more | Go to post

    Leave a comment:


  • Becker
    started a topic Query Criteria

    Query Criteria

    Is it possible to set criteria for a query that would make it go to the current date except for the hours of midnight to 6am go to the previous date?
    See more | Go to post

  • Becker
    replied to VBA to create a new record
    Thanks for that. It didn't matter on this portion, but when I started adding more changes for other times it did matter.
    See more | Go to post

    Leave a comment:


  • Becker
    replied to VBA to create a new record
    Thank you so much. Not sure I still understand why new-record not being the current record would matter, or why that would fix that problem, but it works.
    See more | Go to post

    Leave a comment:


  • Becker
    replied to VBA to create a new record
    My apologies. I had accidentally replaced "or" with "and" on line 9 in that code. When you change it back to "or" then I get the error and 140 new records.
    See more | Go to post

    Leave a comment:


  • Becker
    replied to VBA to create a new record
    I changed it a little. I am not getting an error or hundreds of new records. Now it just doesn't do anything. Here is the code I am using.

    Code:
    Private Sub Processed_Hoods_Day_Click()
    Me.a.Value = Format(Now(), "hhmm")
    If IsNull(Me.Shift) = True Then
    Me.Shift.Value = "Day"
    End If
    If Me.a.Value > "1749" And Me.a.Value < "1759" And Me.Shift.Value = "Day"
    ...
    See more | Go to post

    Leave a comment:


  • Becker
    started a topic VBA to create a new record

    VBA to create a new record

    I am trying to create a button to create a new record on the open form. Using the navigation buttons at the bottom I can go to a new record. For my users I would like to create a button, though. I have tried using the following 2 commands separately:
    Code:
    DoCmd.GoToRecord , , acNewRec
    recordset.addnew
    With either method I get an error saying I cannot go to the specified record, but then when I go to the table which contains...
    See more | Go to post

  • Got it fixed. Sorry I have just been freaking out because of my deadlines. I did make it in time though! Now I can celebrate and relax! Thanks for all of your help.
    See more | Go to post

    Leave a comment:


  • Sorry I forgot the back end. Here is the file with what I have accomplished so far. All I have left is (under the submit button code) I want the email to be sent to the person listed under purchaser for the monument that is selected. I tried a dlookup as you can see but I am not sure what I did wrong there. It works fine if I just type an email in, but that email isn't always going to be the same.

    The other thing I need to do is...
    See more | Go to post

    Leave a comment:


  • Becker
    replied to Calendar not working
    Haha I tried removing the locks (so they are always unlocked) but it still didn't work.
    See more | Go to post

    Leave a comment:


  • Multiple Criteria to be met before saving form data.

    Sorry for all of the questions the last couple of days and much thanks to those who have helped me. I have only 5 hours to finish this database.

    I was just told that they want much about this database redone. Attached is a zipped access file with the parts that I need help with.

    Open the form "Enter Inventory" and choose a monument. Users should enter in the current stock. When they hit submit I want it...
    See more | Go to post

  • Becker
    replied to Calendar not working
    They are not because I can type in the box. The calendar still shows up, but when I pick a date it does not go into the box.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...