Hi all,
I have a few questions to ask regarding a database application that i am working on to use on a LAN network. I am using access as the database and vb2008 express as the UI.The database has only one table . the I have connected the db with the program using database connection wizard.
There are all together 5 different forms.Form1: this is a log in form(not db bound , just a set value based. it gives different access level to the main program.i.e enabling /disabling certain features depending on the password). there will be different users with two levels of permissions(supervisor/normal user) who will be using the software at the same time.if it is a normal user they will have the access to only the new record form(Form3)(all they will do is input the data into the form and then save the record ).Now the supervisor has access to the search form(Form4) to find out the saved records and open them then print out reports.
1.What i am looking for is, if i could alert the supervisor with an alert message when a record saved by a normal user.So a message box will pop up saying this user(user Id) saved this record. I am not quite sure how to go about this.
2.Secondly to deploy it in a LAN Network (where i need to centralize the database. so the database will be on a server and the front end will be installed to the workstations).What needs to be done at my end as a programmer. What i did is i build the program and then used inno setup to make a setup file. so it has the database in it. when i added the db using wizard i chose it to be inside my program(now it resides in the bin folder).Do i just give the setup file to the client or what should i do. The connection string for the db is the local directory of my computer. Do i need to change that before publish the software once again. I am not sure how to make the access db a back end and only install the program into different workstations.
3. How can I add a new column to an existing access db table without using codes, is it possible? when i added the data source i done it through the wizard. i am using binding source to query the db. I am not sure how to add a new column to the access table. I know the sql cmd to add new column. since i have not used any codes for the connection to the db, I am not sure where to put the ALTER TABLE cmd and also how it gonna work in my case..I need some examples pls.
any help is greatly appreciated.Looking forward to hearing from the experts. Thanks again.
I have a few questions to ask regarding a database application that i am working on to use on a LAN network. I am using access as the database and vb2008 express as the UI.The database has only one table . the I have connected the db with the program using database connection wizard.
There are all together 5 different forms.Form1: this is a log in form(not db bound , just a set value based. it gives different access level to the main program.i.e enabling /disabling certain features depending on the password). there will be different users with two levels of permissions(supervisor/normal user) who will be using the software at the same time.if it is a normal user they will have the access to only the new record form(Form3)(all they will do is input the data into the form and then save the record ).Now the supervisor has access to the search form(Form4) to find out the saved records and open them then print out reports.
1.What i am looking for is, if i could alert the supervisor with an alert message when a record saved by a normal user.So a message box will pop up saying this user(user Id) saved this record. I am not quite sure how to go about this.
2.Secondly to deploy it in a LAN Network (where i need to centralize the database. so the database will be on a server and the front end will be installed to the workstations).What needs to be done at my end as a programmer. What i did is i build the program and then used inno setup to make a setup file. so it has the database in it. when i added the db using wizard i chose it to be inside my program(now it resides in the bin folder).Do i just give the setup file to the client or what should i do. The connection string for the db is the local directory of my computer. Do i need to change that before publish the software once again. I am not sure how to make the access db a back end and only install the program into different workstations.
3. How can I add a new column to an existing access db table without using codes, is it possible? when i added the data source i done it through the wizard. i am using binding source to query the db. I am not sure how to add a new column to the access table. I know the sql cmd to add new column. since i have not used any codes for the connection to the db, I am not sure where to put the ALTER TABLE cmd and also how it gonna work in my case..I need some examples pls.
any help is greatly appreciated.Looking forward to hearing from the experts. Thanks again.