Quote:
|
Originally Posted by Toyo Am trying to link an existing microsoft access database to a visual basic interface.How is this done?
On the menu of the system there is a statistics button that is supposed to get data from the database and display it in a form of a graph to show the overall school performance.I can't seem to work out that part of the system.Any help would be highly appreciated.
P.s I also have a database which stores usernames and passwords.Users can not change their passwords.How can i enable them to do so without changing the username or adding on more users? |
sounds like you want us to code the entire Application for you :rolleyes:
you will need to make a connection between the database & the application
to link the database -here's some sample code- :D
====
Me.OleDbConnection1.ConnectionString = "Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry Path=;Jet OLEDB:Database L" & _
"ocking Mode=1;Data Source=""C:\Program Files\TechIMO\sample0101.mdb"";Je" & _
"t OLEDB:Engine Type=5;Jet OLEDB:Global Bulk Transactions=1;Provider=""Microsoft.J" & _
"et.OLEDB.4.0"";Jet OLEDB:System database=;Jet OLEDB:SFP=False;persist security in" & _
"fo=False;Extended Properties=;Mode=Share Deny None;Jet OLEDB:Create System Datab" & _
"ase=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without" & _
" Replica Repair=False;User ID=Admin;Password =techimo;Jet OLEDB:Encry" & _
"pt Database=False"
====
also remove the update code & hide the add users command from the GUI
****it all depends on how you got it setup****
send the .frm via pm or something
also you should post which version of ACCESS you are using..
:cool: