I'm putting a query into a subform on a form. The query filters records from my main table (which also has records on the form) and shows a list of records. The filter parameters are entered in controls on the form above the subform. One is a date and the other a name.
The date is ok - I used a text box, set the format to date and it automatically shows the date picker.
The name is giving me some problems. I'm using a combobox and want to point it at a list of names in tblnames, the name field is lastname. My main table is called tblappointments and contains a numeric field called nameid which is linked to the ID field in tblnames.
The name selection is a free choice from the list and independent of any of the records being displayed on the main form.
I'm not quite sure what to set the properties to, including control source and row source. I thought I would need record source but it's not offered in properties.
Should the combobox be bound or unbound and if so how and why?
I'm getting across a lot of the complexities of access but I must admit I'm finding this bit the trickiest so far...
The date is ok - I used a text box, set the format to date and it automatically shows the date picker.
The name is giving me some problems. I'm using a combobox and want to point it at a list of names in tblnames, the name field is lastname. My main table is called tblappointments and contains a numeric field called nameid which is linked to the ID field in tblnames.
The name selection is a free choice from the list and independent of any of the records being displayed on the main form.
I'm not quite sure what to set the properties to, including control source and row source. I thought I would need record source but it's not offered in properties.
Should the combobox be bound or unbound and if so how and why?
I'm getting across a lot of the complexities of access but I must admit I'm finding this bit the trickiest so far...