Combo Box Record Issue - ms-access

I am just learning database design and using Access for a class project. I've created a form to track case notes, and I'm having an issue. I want to select a Name in a combo box, then above it select the date combo box that will list all of the notes created for that person, displayed by their dates. Simply click on the date, and the note appears in the Note field below. It's meant to be a read-only form so you can't edit the created notes, just view them.
Well it works fine, but when I have multiple notes that were created on the same day, you can only select the first note from that day, not the subsequent notes from the same day. Clicking on them does nothing, and the Note field continues to display the first days record. Even clicking the Date combo box and the later notes in the same day still brings up the first note of the day. Weirdly though, clicking on the drop-down arrow in the date combo-box and then using the arrow keys on the keyboard cycle through the dates just fine though. It just doesn't work when using a trackpad/mouse. What gives?
Thanks!!!

Related

Issue w/ Cascading Combo Boxes deleting field values from records they pull from for Form

My apologies if this question has been answered before but I've searched all day today and haven't been able to find the answer I seek. I'm building a database for requesters to submit requests to order paint using combo boxes that pull from a PaintCatalog table, broken down by ProductName, ProductColor, Nomenclature, UI, StockNumber, DuplFieldCd (I use this a unique key for paints with the same product name but come in multiple colors and Units of Issue.) I've been trying to set up a form to pull the data into cascading combo boxes from this PaintCatalog, with each selection reducing the dropdown choices until it reaches only 1 choice, at which point it autofills specific fields. Then the user clicks a command button and the values in the form fields are used to create a new record in the PaintRequests table. I've got most of that to work, however when I delete values from form's combo box fields when I'm retesting the form, one of the records in the PaintCatalog starts to get blank values. I need this issue fixed before I can progress any further. I've tried using a query instead of referencing the table directly, but the data is still getting edit, deleted, or overwritten. I'm getting that pencil icon every time I'm using one of the form combo box fields. Please advise.

MS Access - Subform Combo Box Filtered via Main Form

Good Morning,
I have an issue that just sort of popped up and it is stumping me to no end. I have an MS Access database we built to handle our small service department for golf carts. We have a form for service requests (fServiceRequest) that we input the customer (Customer) information (selected from a combo box based on another table), as well as the service information and also a subform (fServiceRequest_sfCarServiced) to select the golf carts to be worked on.
The subform has a combo box (SerialNumber) to select the cars serial number. In lieu of having the combo box list all 4k golf carts we have in the system it is filtered based on the customer. To do this I have a text box on the main form (txtCustNumber) that gets the customer number from the combo box on the main form. Until recently this has been working with absolutely no issue.
Yesterday I updated the subform, an update that has nothing to do with the filter, and now I get an error the first time I open the form after a fresh open of the database to input the parameter value that is set by the txtCustNumber. If I make a small change to the subform that requires me to save the subform due to a change and reopen it then my problem goes away and everything is back to "normal".
As soon as I close the DB and reopen it I have the same issue again.

Non-Index Value Display Issues in Combo Box

I am creating a data entry form for employee information in Access 2016, which contains a fairly standard subform for work history.
In this subform, I have a SQL query to limit the items being pulled. The query itself works fine and is returning the correct results.
It essentially chekcs if the job position is open, (i.e. does not exist in history without an end date), or if it is the same as the current record.
The problem I am having is that I cannot seem to make the desired text display consistently.
The combobox itself is pulling 3 fields; job_id (index), job_title, and shift (job_title and shift are a unique combination, with job_id just being an autogenerated number).
The actual value being stored is the job_id, but I would like for the combobox to display the job_title after being selected.
This displays correctly when it is first selected, but if I then select a new job_id on a different record (where an event to requery occurs), any item without an end date stops displaying.
I have an event to requery this combobox on getfocus. I am almost positive that the problem has to do with anything missing an end date re-querying, and then not finding itself in the list, and then displaying a blank.(The data itself is not being deleted, just the display)
If I allow the index-column to be displayed, it no longer shows up as a blank, but it only displays the ID number which is not inherently useful to the end user.
If there is anything I can do to clarify please let me know.

MS-Access database help needed

I am a beginner in using Access. In the past I used a database where I could select a beginning and ending date on a calendar, and the query would bring back all items that would "occur" during those dates. I would like to replicate that database.
The records would need to be pulled based on their frequency- for example I have items that occur on a monthly (on a certain date), weekly (on a certain day), bi-weekly (every other day of the week). (There are codes to represent this- for example PPBR would be every other Thursday; PPM23 would be the 23rd of each month; PPWT would be weekly every Tuesday). Like setting up a reoccurring appointment in outlook, these items would also continue for future dates so that I know when they need to occur next by just clicking on the calendar.
For example, on Tuesday June 23rd, all items that occur every other Tuesday, items for the 23rd and weekly on Tuesday should all be pulled into one report.
I have created a table for the main record info. I have also created a separate table listing all the variations of the frequency (code and day of week/date they occur) and have linked them.
I am stuck at this point as to how to create and incorporate the calendar function and would appreciate any assistance.
Thank you!
June7's comments direct you to ask a more focused question. I gather that you are simply asking how to incorporate "calendar functionality", but your detailed description muddles your intention.
Since you've create something like this before, I presume that the "calendar" you mean is simply the calendar-style date picker already available with the TextBox controls. In that case, you could add two unbound TextBox controls --one for the beginning date and one for the ending date-- and set the following properties in the Property Sheet:
Format: Short Date
Show Date Picker: for dates
After Update: [Event Procedure]
With the Show Date Picker property enabled, upon clicking inside the TextBox control a little Calendar icon is displayed. Clicking on that icon shows a pop-up date picker.
In the TextBox_AFterUpdate event handlers add code to update the Form's RecordSource with an appropriate query. (It would also be possible to refer to the TextBox values directly in a query, but your description of the date criteria sounds too complicated to handle in a single query directly.)

How do I show only the available options in a combo box on an Access form?

I'm making a reservation system on Access 2010 and I have a form that reserves a table for a customer. I just input the customer's Customer ID, date and time of reservation, and the table.
Originally, my form's layout is like this:
However my professor said it wasn't efficient because you'd have to check the database just to see if the table is still available. He suggested a dropdown list of the available tables left for reservation. Also, the tables have a format of D-# or L-# depending whether it's for lunch or for dinner.
I know how to put the dropdown list and stuff but I'm not sure if I know how to update it.
My table (database) for the reservation is just the list of the reservations made on that day.
I hope someone can understand my idea.
Take a look at the Microsoft help article here:
Basing one combo box on another
In your case the values in the combo box (for the table numbers) would be based on the current value of a text box (for the date), but the principle is the same:
The Row Source for your combo box is a query that filters the list of tables based on their availability on the date specified by the .Value of the "Date" text box. In the After Update event for the "Date" text box you tell the combo box to .Requery so it will list the available tables on the date in question.