dand_dd
05-21-2008, 04:17 AM
Hi,
In my database I have one huge table (almost 65 Column and 25000 records). When I start the application I must enter a password and access know which user came into the application. I have a form (frmMain) where is a list with all data from the table (all fields and records). I want to make an option and I have no idea how to make this.
So, now I will write about my problem.
I want to make a button that opens another form (frmUserDefined) where the user can choose what he wants to see in the previous form (frmMain). Explicitly, in the frmMain the list contains all the columns and all the records from database table. In the frmUserDefined the user have the possibility to choose what to see in frmMain and he?s options will be saved into another table and when he starts his applications always he see in the frmMain the list with his options.
For example:
The normal list looks like entire table.
A?B?C?D?E?F ?G?H?I?J?K?L?M?N-- ?
??..
???
Where A, B, C, ??are fields name from the table.
The user chooses in the form frmUserDefined his options and save them (for example he wants to see only columns A, C, F, J). Now when he opens the frmMain instead to see the whole list (A?B?C?D?E?F ?G?H?I?J?K?L?M?N-- ?) he sees only his list (A, C, F, J).
My database is a multi-user database into a LAN network, where the user can access simultaneously the database. So, each user has his option list, each user can see only the data list with his desired columns.
In moment is one form for each user; bur now the users number is growing and I cannot work with 20 ? 50 different mask.
With this option, user defined (custom) I can resolve this complicated situation.
In the next days I will attach a example database with what I have made with this concept.
Please help me with any idea or example or code.
Thanks
In my database I have one huge table (almost 65 Column and 25000 records). When I start the application I must enter a password and access know which user came into the application. I have a form (frmMain) where is a list with all data from the table (all fields and records). I want to make an option and I have no idea how to make this.
So, now I will write about my problem.
I want to make a button that opens another form (frmUserDefined) where the user can choose what he wants to see in the previous form (frmMain). Explicitly, in the frmMain the list contains all the columns and all the records from database table. In the frmUserDefined the user have the possibility to choose what to see in frmMain and he?s options will be saved into another table and when he starts his applications always he see in the frmMain the list with his options.
For example:
The normal list looks like entire table.
A?B?C?D?E?F ?G?H?I?J?K?L?M?N-- ?
??..
???
Where A, B, C, ??are fields name from the table.
The user chooses in the form frmUserDefined his options and save them (for example he wants to see only columns A, C, F, J). Now when he opens the frmMain instead to see the whole list (A?B?C?D?E?F ?G?H?I?J?K?L?M?N-- ?) he sees only his list (A, C, F, J).
My database is a multi-user database into a LAN network, where the user can access simultaneously the database. So, each user has his option list, each user can see only the data list with his desired columns.
In moment is one form for each user; bur now the users number is growing and I cannot work with 20 ? 50 different mask.
With this option, user defined (custom) I can resolve this complicated situation.
In the next days I will attach a example database with what I have made with this concept.
Please help me with any idea or example or code.
Thanks