When I create an expression query, should I keep the parents fields?
e.g.: Expr = [First Name] & [Last Name]
should I keep the parent fields in the query I mean [First Name] and [Last Name]?
I have a table has two fields [First Name] and [Last Name], I want to create an expression in the query of both of them as single field.
The issue happened when I deleted the parents fields. Access starts to show up the "Enter the Parameter Message".
No. It is not necessary to keep the base fields in addition to the concatenated version. If Access started prompting for the original fields, you have used them somewhere. Did you check the order by property on the query?
From my point of view yes. Keep the original table fields as long as possible, and bring calculated fields into play as late as possible, and the composite field is a calculated field. Formats for viewing should only be created in a last step.
Simple reasoning: Raw table fields offer the possibility of index use, a calculated field definitely does not.
Index use sometimes offers significant performance advantages when sorting, grouping, filtering and joining.
What sensible person gives away potential performance early on without need or cause?
No. It is not necessary to keep the base fields in addition to the concatenated version. If Access started prompting for the original fields, you have used them somewhere. Did you check the order by property on the query?
Mr. Hartman was partially right, the issue was that in the report was a grouped by [First name], and that is why it was prompting for the field name every time I run it.
The issue is solved thanks for you help.