Create EXE From Database And Have Several Project Using Same Database
Oct 24, 2013
I created a database with forms, querys, etc. Now I was thinking of creating a exe so everyone can use this database without having access to all the design functions.
the only problem I see about doing this is if we need to use the same database for different project, we need to always create a new exe for each project.
Is there a way to make a empty database exe with just the layout, querys etc but with no data on the tables and have a save, open and save as option. So we can have several projects using the same database?
I was thinking to create a VB code for the database to delete all data on the tables when the database is open.
and before closing the database exporting all the data to a txt file or something.
Then the next time someone opens the database goes to the main form which has a open bottom which imports the txt file into the tables.
This way we can have several txt file for several project and use always the same exe database.
I have extensively searched the forum to try and find an answer.
Im trying to develop a Project tracker database which will track the progress of my ongoing projects, does anyone out there have an example or another link to get me started.
I know MS Project would be the answer but we do not ned it in as much detail as this and they definately want it written in MS Access.
I am in need of assistance in producing a database. The database is simply a "log" or "record" which i need to work in the following ways:
> a user enters a password to log onto there own little area of which they can fill out forms asking thing such as: how many hours done, what they have done etc.
> an administrator can then log on and look at everyones accounts and print off reports etc.
I have had ago at this and made some progress but i am very stuck so any help is greatly appreciated.
I'm having a problem that I have been trying to sovle for a while.
I have two tables. What I want to do is to have the user tick a box in one of the fields on table 1 and for it to mirror that change on table 2 in a specified field. I really don't know how to go about doing this. Any ideas? :confused:
I am testing the security of my DB X on Acccess 2007. I could create a new database Y and linked to the database X. Unfortunately i could change the records on the tables. I don't want other DB that make connections to my DB to change my tables!
Hello. This might sound silly but I am totally lost and confused. I have been given an assignment to create a Project Mahours database. This is a place where the project managers can go in pull up information about an employee from a list box or combo box it then pops open a subform that has all the projects and manhours by percents this employee is working during any given week. I was thinking that I could use cascading Comboboxes to pull the employee information and the week information but unsure how to do that since they are on two separate forms. Also, they would like to have each week calculated for a total of time to equal a total of 100% of time.
The would also like to do this with the Projects where is lists what employees are working on each project and for how many hours each week.
They would also like to query the information and print reports to be taken into meetings for an overview. Eventually they would like to use the database as a way to do a cost analysis of what to charge the client for with regards to manhours on the job. There is a lot and the file is 4MB and attached.
You can see that I have created 5 tables and a couple of forms - one of the forms is complete data entry but I have no clue how I did that. And I have not made any subforms because it is all very confusing to me. I am unsure if my relationships are okay and I can't seem to get a query to work by pulling information from 2 tables. Please if you can help, I am in desparate need of it. Thank you.
I seem to be missing an understanding of the difference between a project and a database. I am using a .mdb and writing code with success until I try to use the recordset feature which I took from my "VBA programming" book.
My code is simple...
Dim db As Database Dim rec As Recordset Dim strSQL As String Dim intCount As Integer Dim listEmails As String
strSQL = "SELECT Email from Member"
db = CurrentDb() rec = db.OpenRecordset(strSQL, dbOpenSnapshot)
Do Until rec.EOF listEmails = listEmails & Chr$(10) & rec(Email) Loop
rec.Close
MsgBox listEmails
But when I run it I get a compile error because in line 1 the term 'database' is only a class in "a project".
Can anyone explain the issue and better still the solution.
I'm kinda lost in here so I'd appreciate some help in pointing me in the right direction please. I've no doubt the answers are out there but I'm having trouble finding what I need, probably because I don't know how to frame my questions!
Basically the story is this - there are three guys covering various aspects of the business, they each visit three separate locations - all guys visit all locations. We have made a "big plan" that has 14 key deliverables in the locations as a "region" .
For each Key Deliverable there will be Actions, some Actions will be done in all locations, some might only be needed in one location. Each owner will describe the Action and link it to the Key Deliverable it supports.
What we want to do are things like Take Location 1 and Guy A and show all the things he is doing to support Key Deliverable X.
or
Show all the Actions in Location 2 that are being done to deliver Key Deliverable Y by all Guys.
That sort of thing - progress reporting and identifying where we have nothing happening to support a Key Deliverable or too many actions in one Location etc
We have all our plans in Excel spreadsheets at the moment, each guy fills in a sheet and at present the idea is that we copy and paste it into the mother of all spreadsheets to present to the Gods - it's not happened yet because it's clumsy and well, it's my job to present it and I thought "there's gotta be a better way!" I can import the sheets into Access but then it all gets a little tricky and I run out of tallent.
OK so if you've read this far you're wondering if I have any idea what I'm talking about when it comes to Access! Well I am pretty much self taught and rusty but I can see that Access could help us get organised and
My limitations - I'm using standard Access 2007, I doubt corportate IT security would allow me to add in any useful plug ins or upgrades etc.
Am I using the right tools? I'm limited to MS Office really so I mean should I stick to Excel or carry on pursuing an Access solution?
I built a database application, and I need for more than just myself to use it at the same time. I have just learned that I should have built a project instead. Can I change my application "Maintenance.mdb" to a project or do I have to start over?
I am finishing an Access database for a customer that may want, in a later stage, to have a website(probably ASP) that would connect on the same database. Is that possible? I mean can an Access project on a pc connect to remote database(mdb or SQL server) used by the website?
If so can you give me some quick steps to do so or a good article on it?
I need to create a database for students going on work experience.
Each of the students will have a rating from 1-6 depending on behaviour, effort and attainment. Each of the work placements also has a rating from 1-6. Each student chooses 6 work placements that they would like to attend (one of each rating)
If all the data for the students and the workplacements are entered into the system is it possible to match appropriate students to appropriate workplacements using MS Access 2003?
I was wondering if there was a way to log all the modifications made to a database in a table with user name and time of modification. I have been searching this for quite a long time but no use. Please help if you know the solution.
I'm trying to create my own database from queries. the queries retreive data from and ODBC data source. How do I create table from query but I don't want any old data from table to be deleted whenever there's a change of data in ODBC data source. I just want to keep pushing in new information without deleting the old ones, even though those old information have been deleted from the ODBC source.
Hello everyone. I am a magician entertainer in Las Vegas. I am trying to create a database that will help me access (pun intended) information in my books and dvds.
I need to be able to search for a specific trick or balloon sculpture from among my vast library.
I have gone through the MS tutorials, but when I actually tried to create the forms--maybe I'm doing it backward-- to input data and retrieve data it just didn't work.
Any help would be welcome. I realize from reading the posts that this is a serious forum and that a newbie question like this can be annoying. I assure you that on the entertainer forum that I post regularly I try to help even the most newbie of questions, so please be kind.
I have Access 2013, part of office pro, and for some reason it now cannot create a new database, ie nothing is created where i told it to It then comes up with "cannot open a database created with a previous version etc".This is NOT a previous version, it physically does not exist.This did work, well last week.Tried doing an office repair, no differance, tried delting system.mdw.If i click OK on previous message, i do get "Close ole server and restart it outside of access"
I have been tasked with creating a database but I have no previous experience using access. I will be using version 2007. I have to create a database of vendors. These are vendors from all round the world who sell my company different products. So far I have 9 spreadsheets with lists of hundreds of vendors from different sections of the company.
I need to create a database that allows someone to search for a vendor and all the details will appear. The excel sheets have columns for vendor name, country based in, commodity type, address, contact name, phone number, email address and which part of my company use the vendor (an abbreviation). Not all of the information is available for each vendor.
Ideally I would be looking for something with search buttons, filters and the option to just show all vendors.
I have a form which a user selects an activity from a combo box. On some occasions a user may need to enter the same activity a number of times. I want to add a text box/combo box that a user can enter or select a number. When the user hits the submit button i want the records created in the database to match the number specied fied in the text/combo boxes.
I think i may need to use an INSERT statement but totally confused how to do this.
I want to create a simple database so that I can enter childrens names and then add dates to these that they will be attending our Breakfast Club. Out of this I want to be able to create a daily register of children.
An ancient application I'm working with came with .ini file which looks like an instruction set to create an access database. A sample few lines look like:
TABLE, USER, 13 FIELD,USRID,LONG,2,NODUP,ID,False,0,AUTO FIELD,USRFNAME,TEXT, 50, NO, , True, 1
I've read instructions for making a multi-user Access 2007 database. Summary is:
1) Split the database 2) Put back-end part of the split onto shared drive 3) Make copy of front-end of the split and give to each user of the database 4) Open Tools, Options, Advanced Tab. Set the default open mode to shared and the default record locking to edited record. While in options area, go to general tab and turn off compact on close and name autocorrect.
These instructions were posted by an Ms-Access MVP.My questions is about step 4. How do these settings get saved to the particular database that I am trying to make multi-user? None of these settings are in the Current Database Tab for Ms-Access 2007. Since they are in the general tab, does that mean all database I open with my copy of Ms-Access will take on these multi-user settings?