Hey guys,
I'm still new at moving from MS access to using Visual Studio 2010 and SQL Server 2008.
In my Access DB I had a public function that I used as a filter for my sql queries. I can not figure out how to duplicate that in Visual Studio. I want to have the user only see records that they added and I created a module that stores a variable and a function (getUser()), but SQL doesn't like it.
It says that getUesr is not a recognized build-in function name. So how do I create the function for it?
Any advice?
Thanks,
Nick
I'm still new at moving from MS access to using Visual Studio 2010 and SQL Server 2008.
In my Access DB I had a public function that I used as a filter for my sql queries. I can not figure out how to duplicate that in Visual Studio. I want to have the user only see records that they added and I created a module that stores a variable and a function (getUser()), but SQL doesn't like it.
It says that getUesr is not a recognized build-in function name. So how do I create the function for it?
Any advice?
Thanks,
Nick