Please help me if you can with the following (I have struggled for over a week with this now):
1. I have a grid for contacts that is based on a MSSQL table with several other child tables linked to it.
2. I have a login processing page where I capture all the necessary session variables as per many videos on the subject.
3. I am able to to filter records in the contacts grid based on the logged in user successfully.
4. I have other fields (columns) in the contacts grid (based on the contacts table) that I want to base filtering on. These include the following: PrivateFlag that is a bit type that is handled as a logical field that saves a True or False value in MSSQL. I also have a SharedFlag with the same setup.
5. I have a another table linked to the Contacts table that is named SharedWith to specify that a record is shared with all users in the security or with certain users in the security.
6. I have setup the web security tables in MSSQL as per videos and it works.
7. I use a tabbed UI for all grids etc.
I need to do the following but do not seem to get any examples in the videos from Alpha or samples on this forum to do this type of complex filtering:
1. I need to be able to filter all entries in the contacts grid by the Logged in User. My current RegUserID field is numeric (bigint and a primary key). Filtering works when I setup it up in the Grid Query Section where my SQL Statement has a where clause that filters on the RegUserID = :RegUserID.
2. I also need any of the administrators to see all records when logged in. Do not seem to get this to work with samples given.
3. I need to have a complex filter to do the following. Logged in User sees only his records and those that he marked as private and those that he shared. The User must be able to choose who he can share records with based on a dropdown in the grid based on all the user in the web security or only specific users in the security. He must also only be able to see the full names of the users and not their usernames.
4. I need the same situation for administrators but they must not have the ability to see the records that are marked private by other users as these records are private to that user. The administrators must however be able to see their own private records and the records that are shared. They must also see who they are shared with. This means that all the users in the web security must be pulled into a drop down box or lookup. (and their full names must show)
5. I also need to ensure that there are no duplicate records in the contacts table as any specific records can be shared.
6. This is then a pattern that will be used throughout the rest of my application on other tables.
Hope that there is someone that can help me with this.
Thank you.
1. I have a grid for contacts that is based on a MSSQL table with several other child tables linked to it.
2. I have a login processing page where I capture all the necessary session variables as per many videos on the subject.
3. I am able to to filter records in the contacts grid based on the logged in user successfully.
4. I have other fields (columns) in the contacts grid (based on the contacts table) that I want to base filtering on. These include the following: PrivateFlag that is a bit type that is handled as a logical field that saves a True or False value in MSSQL. I also have a SharedFlag with the same setup.
5. I have a another table linked to the Contacts table that is named SharedWith to specify that a record is shared with all users in the security or with certain users in the security.
6. I have setup the web security tables in MSSQL as per videos and it works.
7. I use a tabbed UI for all grids etc.
I need to do the following but do not seem to get any examples in the videos from Alpha or samples on this forum to do this type of complex filtering:
1. I need to be able to filter all entries in the contacts grid by the Logged in User. My current RegUserID field is numeric (bigint and a primary key). Filtering works when I setup it up in the Grid Query Section where my SQL Statement has a where clause that filters on the RegUserID = :RegUserID.
2. I also need any of the administrators to see all records when logged in. Do not seem to get this to work with samples given.
3. I need to have a complex filter to do the following. Logged in User sees only his records and those that he marked as private and those that he shared. The User must be able to choose who he can share records with based on a dropdown in the grid based on all the user in the web security or only specific users in the security. He must also only be able to see the full names of the users and not their usernames.
4. I need the same situation for administrators but they must not have the ability to see the records that are marked private by other users as these records are private to that user. The administrators must however be able to see their own private records and the records that are shared. They must also see who they are shared with. This means that all the users in the web security must be pulled into a drop down box or lookup. (and their full names must show)
5. I also need to ensure that there are no duplicate records in the contacts table as any specific records can be shared.
6. This is then a pattern that will be used throughout the rest of my application on other tables.
Hope that there is someone that can help me with this.
Thank you.
Comment