Access 'project' Versus 'database'

Apr 5, 2005

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.

Thanks

Phill

View Replies


ADVERTISEMENT

Changing A Desktop Database To A Access Project

Dec 17, 2007

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?

View 5 Replies View Related

Connect An Access Project With A Remote MDB Or SQL Server Database

Jan 28, 2007

Hi,

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?

Thanks.

View 6 Replies View Related

Project Database

May 4, 2007

Hi all

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.

Many thanks for any help

View 4 Replies View Related

Database Project Help

Jan 20, 2008

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.

Thankyou!

View 7 Replies View Related

Help With A Database Project!

Oct 9, 2005

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:

Thanks Guys

Andy

View 1 Replies View Related

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.

View 4 Replies View Related

Help With Project Manhours Database

Feb 15, 2005

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.

View 1 Replies View Related

Guidance Needed For A Text Database Project Please

Oct 30, 2007

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?

Thanks for reading this far :-)

View 14 Replies View Related

Combo Box Versus List Box?

Sep 9, 2006

This might be a silly question - I appologize in advance if it is. - let me know! :) I have searched a bit and found nothing quite along the same lines.

I have realized that I only use Combo boxes, avoiding List boxes entirely. I had some early difficulties with List Boxes that I can't recall now, yet a lot of my combo boxes are limited to list. Most posts I read on this forum seem to mention Combo rather than List boxes (I may have a bias here?).

It looks like a combo box that is limited to list is pretty much a list box. If this is right, is there ever any advantage to using a list box that I am missing out on?

From Access help:
List boxes: What they are and how they work
In many cases, it's quicker and easier to select a value from a list than to remember a value to type. A list of choices also helps to ensure that the value that's entered in a field is correct.

The list in a list box consists of rows of data. In a form, a list box can have one or more columns, which can appear with or without headings. If a multiple-column list box is bound, Microsoft Access stores the values from one of the columns. In a data access page, a list box has one column without a heading.

You can use an unbound list box to store a value that you can use with another control. For example, you could use an unbound list box to limit the values in another list box or in a custom dialog box. You could also use an unbound list box to find a record based on the value you select in the list box.

On a form, you can use a combo box instead of a list box; it takes up less room, and you can type new values in it, as well as select values from a list. Learn about combo boxes on forms.

On a data access page, you can use a drop-down list box instead of a list box; it takes up less room; however, you can't type new values in it. Learn about drop down list boxes on data access pages.


Combo boxes: What they are and how they work
In many cases, it's quicker and easier to select a value from a list than to remember a value to type. With a combo box, you can do either without using too much space on a form. A combo box is like a text box and a list box combined.

When you enter text or select a value in a combo box, if the combo box is bound, the entered or selected value is inserted into the field that the combo box is bound to.



The list in a combo box consists of rows of data. Rows can have one or more columns, which can appear with or without headings. If a multiple-column combo box is bound, Microsoft Access stores the values from one of the columns.

You can use an unbound combo box to store a value that you can use with another control. For example, you could use an unbound combo box to limit the values in another combo box or in a custom dialog box. You could also use an unbound combo box to find a record based on the value you select in the combo box.

Combo boxes have a LimitToList property that you can use to control whether any value can be entered in the list, or only text that matches one of the values in the list can be entered.

If you have room on your form and you want a list to appear at all times, or if you always want to limit data entries to values in the list, you might want to use a list box instead of a combo box. For more information on list boxes, click .

Is the last para from above:
If you have room on your form and you want a list to appear at all times, or if you always want to limit data entries to values in the list, you might want to use a list box instead of a combo box. For more information on list boxes, click the only advantage?

View 3 Replies View Related

Modules & VBA :: Database Project - Update Entire Column Of Subform

Oct 31, 2013

I am working on a database project where I will Select a record on a subform

See the picture attached.

I know that using DAO recordset, i can update the checkbox one by one, but it become way too long when I have thousands of record...

May I know if there is a way to Select entire column of the subform?

View 1 Replies View Related

How Do I Complete This Project? Need A Few Answers To Finish DB Project.

Apr 25, 2005

I have tables and forms setup but I have 3 general questions on how to finish the project.

1. Should I create a folder where all the files reside for instance, create a phone log folder, put the DB file into the folder and export XML's into the same folder?

2. How do I get the form to launch as a self-contained form without the Access application in the background?

3. How can I get this form and table to automatically update an XML spreadsheet whenever records are added?

4. How can I get the form to sort all records according to time logged? The time will be entered in manually and we need all the records to sort automatically by time in ascending order.

View 5 Replies View Related

Queries :: DAO RecordCount Versus Count Query

May 21, 2013

For small tables (<10,000 rows), which technique is faster, more efficient ?

View 11 Replies View Related

Deploying Access 2003 Project In Different Access Versions

Dec 28, 2005

Hello,

I have two questions related to deplying an Access project I have been working on.

1. I started developing the project in Access 2000, but midway upgraded to Office 2003 and so the remainder of the project has been developed in Access 2003. Things seem to be fine, except that in the top most title bar, after the project name, there appears the following text:

xxxxx: Database (Access 2000 file format)

where xxxx is the name of the .mdb file.

Why is this appearing and should I have done something or do something to make it a Access 2003 format?

2. I am at the point of deplying the db to a small group of users (about 5). Some of them may have Access 2000 or Access 2002. Should I be doing something in particular to make sure things work in their machines.
Any pointers to what may be problems or what I should do will be much appreciated.

Thank you.

View 2 Replies View Related

Converting Access To Access Project Query Problem

Sep 18, 2007

Hello All,

I am working on a project that was started in access, but needs to be moved into an Access project so that It can be integrated with other forms. When I did this I realized that my database queries needed to be changed from Access to SQL code. for example instead of representing a date as #DATE# it needed to be represented as 'DATE'.

However I have one issue that I am having issues with.

I have a query that determines a few collumns by running information through a vb function and returning the result.

The issue is I do not know how to convert this code from Access to SQL so that it will work.

The code is

SELECT Action_Indef([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER]),[LOG_NO]) AS [Action], TESTSTAT.*, Action_date([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER])) AS Action_Date_Field, IIf([DUE]<[WAIVER],[WAIVER],[DUE]) AS Later
FROM TESTSTAT
WHERE [LOG_NO] LIKE '*'
ORDER BY Action_Indef([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER]),[LOG_NO]);

Can someone provide me with a sutible sql equvalent to this code

Thank You
Mike

View 7 Replies View Related

Converting Access To Access Project Query Problem

Sep 18, 2007

Hello All,

I am working on a project that was started in access, but needs to be moved into an Access project so that It can be integrated with other forms. When I did this I realized that my database queries needed to be changed from Access to SQL code. for example instead of representing a date as #DATE# it needed to be represented as 'DATE'.

However I have one issue that I am having issues with.

I have a query that determines a few collumns by running information through a vb function and returning the result.

The issue is I do not know how to convert this code from Access to SQL so that it will work.

The code is

SELECT Action_Indef([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER]),[LOG_NO]) AS [Action], TESTSTAT.*, Action_date([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER])) AS Action_Date_Field, IIf([DUE]<[WAIVER],[WAIVER],[DUE]) AS Later
FROM TESTSTAT
WHERE [LOG_NO] LIKE '*'
ORDER BY Action_Indef([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER]),[LOG_NO]);

Can someone provide me with a sutible sql equvalent to this code

Thank You
Mike

View 2 Replies View Related

Quick Question Re:form Versus Table Properties

Jan 26, 2008

Hi

I know this is probably a silly question but I had a number of checkboxes in a table and had set their default value to be 0 however I did not do this in the table properties of these fields.

I can understand some things like formatting dates in a form but storing it differently in the table but why did access not automatically input 0s in all the fields where I did not check the box?

View 6 Replies View Related

Reports :: Cross Tab Report Versus Dynamic Columns

Apr 22, 2014

I have made a cross-tab query which works fine. I also have made a report which is based on this cross-tab query. Due to nature of the cross-tab query the Value column(s) is dynamic. The report I made is based on all available data types (columns). The report works if all data type is available but the report fails if some of the data types are not available (i.e columns are missing due to not having any value or data). I hope I am explaining this correctly,

Is there a way I can use expressions in the report to place a conditional clause that if the Control Source doesn't exist place a Null or 0 in the report or in its place.

View 2 Replies View Related

Please Help Me. With A Access Project.

Nov 27, 2005

Ok first off thank you for anyone who even reads this.

Iv been assigned a project in using Access 2003 and only Access 2003. Im stuck and getting frustrated and was wondering if anyone would mind helping me.

What my Prof wants is a Access database with a form to do the following

HE wants us to have menue with

5 sandwitch combinations
5 Side (combinations)
3 drink Combinations
2 desert combinations.

Ok he wants us to input 1 of each category as if we were ordering

then he wants us to order it and print out a Recipte with the following info.

Sub total
Tax
Total Purchase
How many Calories the entire order is.

Im attaching a .mdb file with what i have come up with but im not sure if its even going in the right direction. I would forever be in debt if someone would help me.

rename the wendys.txt in the zip file too wendys.mdb

View 1 Replies View Related

Please Help Me. With A Access Project.

Nov 27, 2005

mods could you please del this thread. thx

View 14 Replies View Related

Access DB Project

Feb 13, 2007

Hey guys,

I am a total NOOB when it comes to access....i am currently taking an access class at my college and its time for our first project. I really need help getting started cuz alot of the terminology is so new to me... I have been provided with a sheet of information and have to create a DB based on said information.

if anyone out there is feeling super generous with their time and is willing to help me through it...just to get me started..my aim is NIPPONLIFE86.ive found that its getting everything going that is the hardest...especially when im creating a database not just inputing data.:confused:

thanks so much for your time guys!

Kin

View 3 Replies View Related

Access Project

Apr 3, 2007

Does Access database support muliple users on the same data update, if so how many. What will be the best way to avoid locking up a field when somebody else is trying to update a different field within the system. It run on server:

confused: .

View 1 Replies View Related

Need Help On Access Project I'm Doing...

Dec 2, 2004

am working on a Microsoft Access project for my computer tech class and I am stumped on a few things.

I have to do a payroll for all the employees on the project he gave us, I have to list their names, pay rate, and all tax rates when I put in another table. When I run the query and put all the requirements in the query and run it in datasheet view, it comes up with the employees name and every single type of payment and tax rates. So for IE, operations manager makes $18.75 a hour, but when I run the query it has 18.75, 15.00, etc for all the payrates given. How can I have it so just the pay rate and tax rate for just the person who is paid that??

I also have a Address book for all the workers. I need to group them by location of the stores(there are 3 store locations) and then sort the job location workers by last names, any help on how to do that??

I have the assignment scanned if anyone would want to see what all I have to do...

View 1 Replies View Related

Access *.ade Project Gets Disconnected

May 13, 2005

I've got an MS Access *.ade project as a front to an MS SQL Server 2000 database (both developed by myself)
From time to time *.ade project stops working properly and title of the main access window says "Project <Project name> (disconnected)"

I check the File -> Connection-> Data Link Properties and everything is o'key ('Test Successful') however on the 'Tables' tab there are still no tables shown, the title remains as 'disconnected' and form's data sources are not accessible

Nothing helps... any ideas?

View 1 Replies View Related

MS Access - Project Macro

Oct 7, 2005

I have recently made a database and through MS Development Tools have been able to bundle it with Access Runtime. We are using MSDE as a backend and when I install the 'package' created by MS Project on another computer it says that it cannot find the SQL Server database.

This will mean (i believe) I will have to write a macro to reference the external SQL database (MSDE)?

If anyone has knowledge of this or/ and can point me in the right direction it would be appreciated.

Phil

View 3 Replies View Related

MS Project Linked To Access

Nov 4, 2006

I have db which lists all the projects with related information in it. But also there is a MS project file which holds the milestones and everything else. Is it posible to have a subform which will be linked to a MS project file and will display only the portion which belongs to the project displayed on the main form?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved