Please help me. I have spent two days searching this forum and others looking for the answers to the following questions. This is driving me nuts.
Environment: Access 2003 frontend with MS SQL 2005 backend
Questions:
1. Using VBA, how do I use a server-side query to control a form?
2. Using VBA, how do I set the recordset of a form so that users can edit the values?
2. How do I pass a variable from Access (such as a text box or combo-box value) to SQL so SQL can use the value in a query?
3. Is there a way to have a form controlled by a query (or something else) that is dynamic? Meaning, depending on the user logged in, the form displays a different recordset.
If someone could provide me sample code of the above, and some good advice on best practices, I would be grateful beyond words.
Thanks
Environment: Access 2003 frontend with MS SQL 2005 backend
Questions:
1. Using VBA, how do I use a server-side query to control a form?
2. Using VBA, how do I set the recordset of a form so that users can edit the values?
2. How do I pass a variable from Access (such as a text box or combo-box value) to SQL so SQL can use the value in a query?
3. Is there a way to have a form controlled by a query (or something else) that is dynamic? Meaning, depending on the user logged in, the form displays a different recordset.
If someone could provide me sample code of the above, and some good advice on best practices, I would be grateful beyond words.
Thanks