I'm in the midst of my first Access to SQL Server migration, and I have a question about form data sources.
I have a form that is used for entering and updating orders. In its, all-Access incarnation, the datasource for the form was a fairly straightforward query that worked more or less exactly as it should.
I've taken that query and converted it to a SQL View, and it works for the most part, but there's one key difference.
With the old, in-Access query (which still works, but it seemed like I should move as much as possible to the server side, so I'm mucking about with something that isn't really broken), if I, for instance, select a given customer for the order, that customer's address, phone number, etc. all immediately populate on the form.
When I use the view, however - which is essentially identical to the query, referencing the exact same fields on the exact same tables - if I select a customer, none of that populates until the form is refreshed.
Now, this isn't a huge problem. I could script my way around this, no problem. However, I'm very interested in doing this not just in a way that "works", but in a way that is objectively correct, and it seems to be that I'm probably doing something wrong here, and that scripting a refresh into the form would merely be a bandaid fix to a bigger problem.
Any help?
I have a form that is used for entering and updating orders. In its, all-Access incarnation, the datasource for the form was a fairly straightforward query that worked more or less exactly as it should.
I've taken that query and converted it to a SQL View, and it works for the most part, but there's one key difference.
With the old, in-Access query (which still works, but it seemed like I should move as much as possible to the server side, so I'm mucking about with something that isn't really broken), if I, for instance, select a given customer for the order, that customer's address, phone number, etc. all immediately populate on the form.
When I use the view, however - which is essentially identical to the query, referencing the exact same fields on the exact same tables - if I select a customer, none of that populates until the form is refreshed.
Now, this isn't a huge problem. I could script my way around this, no problem. However, I'm very interested in doing this not just in a way that "works", but in a way that is objectively correct, and it seems to be that I'm probably doing something wrong here, and that scripting a refresh into the form would merely be a bandaid fix to a bigger problem.
Any help?