They don't use the log until the end of the day when they fill it out and submit it. The times are the same every day. There is no variation. They can't use the now() value because that would give them a time of about 3:45 pm when they are filling out the time sheet. Does that make sense?
In the database I'm working on, the user has a daily log on a continuous form that encompasses some routine activities. For example at 6am every morning they report to work and at 4 4pm every evening they check out; at noon they eat lunch etc. I want to have a button that autopopulates the...
Thanks Michael! Adding the reference in the library did the trick! Here is the final working code that sends the information on a form in html email format and attaches any attachments!
Dim oFilesys, oTxtStream As Object
Dim txtHTML As String
Dim appOutLook As Outlook.Application
Dim...
I needed a button to send information from the text fields in a form as the body of an email, and then attach the attachments that are in the attachment field "IssuePics." I have read hours of forums and found the code that turns the text fields into the body of the email, and I thought I found...
I have a bound continuous form that has a form filter on load that filters the control workerid that is set to "WorkerID = 2." I want to have a button that filters another control (StartTime) by today's date while still maintaining the initial filter. I thought the code would be
me.filter...
It works in the sample but when I copy it into the real DB it gives me an error that says Variable not defined then in the debug sends me to the line
Set mOlCalendar = mOlApp.GetNamespace("MAPI").GetDefaultFolder(olFolderCalendar)
and hightlights (olFolderCalendar).