I'm brand new to using Access Projects and SQL server data and need a little assistance.
I'm trying to create a list box control on a main form that links to another table to show some detail (Parent/Child related data). Example Parent = District, Child = Fees. I want the list box to only show fees for the current district displayed on the main form. In a normal Access database, as the recordsource for the listbox, I could limit the criteria simply by putting the where clause as [DistCode] = [Forms]![frmDistricts]![DistCode].
However with Access Projects, there are no longer any local queries, just SQL server views and stored procedures, and referencing a control on a form does not work. Do I need to create a stored procedure with parameters or something? How do I do this type of thing? I'm sure it's simple, just not sure where to start. Thanks!
I'm trying to create a list box control on a main form that links to another table to show some detail (Parent/Child related data). Example Parent = District, Child = Fees. I want the list box to only show fees for the current district displayed on the main form. In a normal Access database, as the recordsource for the listbox, I could limit the criteria simply by putting the where clause as [DistCode] = [Forms]![frmDistricts]![DistCode].
However with Access Projects, there are no longer any local queries, just SQL server views and stored procedures, and referencing a control on a form does not work. Do I need to create a stored procedure with parameters or something? How do I do this type of thing? I'm sure it's simple, just not sure where to start. Thanks!