Table Field data type Best practices

gheyman

Well-known Member
Joined
Nov 14, 2005
Messages
2,347
Office Version
  1. 365
Platform
  1. Windows
I have a field in a table (table1) where I want to limit the users choices. I have a second table (table2) that has a field with those choices.

The Users will always being entering data via a form - never directly into the table (the db's are Split).

Is it better to make the field in the table1 a text field and limit the users choices on the form. Or is it better to make the field in Table1 a List/Combo Box?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I must be interpreting the question differently. Then again, I'm easily confused :confused:. On one hand you say users will always be using a form to enter data, and on the other, you mention having the combo box in a table.

If you use a form and combo it's easy to limit the choices based on the list, but you have to set the 'limit to list' property to yes otherwise users can either alter the bound value to something not in the list, or the list itself if the underlying query is updatable. I wouldn't complicate things by using a listbox unless maybe there's too many rows in the combo to comfortably search through.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,221,692
Messages
6,161,351
Members
451,697
Latest member
pedroDH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top