Share via

MS Access Form text box

Anonymous
2024-07-15T13:25:33+00:00

Good day. I sit possible to change a current text box on a form that requires a data entry to a new field that allows you to select a listed entry from a drop down. Would that be a combo box or list box? Basically, I am populating a table via form text box right now. The name of field is status, and the selections would be 1 0f 5 different ones that appear to select from. Thanks in advance, CP.

Microsoft 365 and Office | Access | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2024-07-15T13:37:06+00:00

Firstly, you will need a referenced Statuses table with a single column, Status, which should be the table's primary key.  Create a relationship between this table and you current referencing table to which your form is bound, ensuring that referential integrity and cascade updates are enforced in the relationship.

In the form change the text box to a combo box and set its RowSource property to:

SELECT Status FROM Statuses ORDER BY Status;

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful