473,666 Members | 2,144 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Interesting Problem........ . or not so for the advanced, lol

At the moment my co uses a spreadsheet to note how many orders each
engineer is assigned and this is updated manually. I've thought about
transferring this to Access and have thought of two possible ways, 1 is
clearly better then the other but goes beyond my Access knowledge.
If anyone cares to have a read I'd appreciate any feedback.

Each particular order may have a number of sites and this is also
noted. The orders allocated per engineer is simply allocated as they
come in

Method 1
--------------
Create a form in which all the relevant details for each order (ie
engineer, number of sites) are inserted and this acts as a new record
for each order. Stats can then be extracted using a number of reports
and queries. This is a very simple approach but having a record for
each order is quite unnecessary as we only need a count of how many
orders and sites an engineer is working on.

Method 2
---------------
Enter the details in a form and on the click of a button, the values
entered on the form will be added to a table setup with the engineers
for each day. This way there will only be a max of 28 records per day
as we have 28 engineers.

Woulkd anyone have an idea of how to use numerical values entered into
a form to update a main table by simply adding the figures?

I hope this all makes sense.
Thanks

Jan 20 '06 #1
2 1312
For starters, what you can do is to create your base table. Add all the
data fields you want to collect. You can make the first column an
Autonum column (an Identity field) - you can name it something like
IDnum, then add a Eng_Name column (engineer's name) as a Text column,
maybe they all have ID's - Eng_ID As Number (or Text if Alpha Numeric),
.... and so on, and finally a date column for the respective date
EntryDate As Datetime.

Next you go to forms, New and in the dialog box at the bottom select the
table you just created. This will be your data entry form. The form
will be based on this table. In the design view of the form on the top
side of the window go to the first toolbar. In the middle of the
toolbar, you will see an Icon with the planet Earth, and to the right of
that are 2 more icons, one looks like a Notepad, and the other is a
toolbox icon. You are interested in the Notepad looking icon. This is
the field list of the table you just created. If you hold your mouse
over the icon, it will say "Field List". Click on this icon and you
will get a list of all your table fields. If you click on the top of
this list, it will highlight the entire list. Drag this highlighted
section to your form and release the mouse button. The fields will now
be placed on your form. Now you can drag the fields around as you need.
When you enter data into these fields, the data will automatically be
entered into the table. This is called data entry form. Please forgive
me if you already know all this.

In your date field, you can add a function like =Date() to the default
value on the properties sheet of the date field. To get to the
properties sheet, just right-click on the date field (right click on any
field to get to the property sheet). There is a row in the property
sheet that says "Default Value". This is where you enter

=Date().

Now the current date will be entered into that field for each record.
For today, today's date gets entered. For tommorrow, it would be
tommorrow's date. If you need something different than that then you
will have to add/write a little bit of code in the field's After_Update
event. But hopefully this will get you started. If you need more
assistance,just post again.

HTH

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Jan 20 '06 #2
Once you set up your basic database as Rich P gave instructions for,
you can customize it to do exactly what you want it to. For example, in
Method 2 you could delete all the records in your table before entering
the first record for the new day, and then (since you only want a count
of how many orders and sites per engineer) input engineer name/ID,
number of orders to add, and number of sites to add. When you wanted to
get your stats on the engineers, you could run a query that would sum
up the number of sites and number of orders for each engineer.

Jan 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1502
by: Jay | last post by:
Hi everybody ! I am a newbie here. I hope somebody will help with my problem. I am currently write a web-application that allow user to submit their job application online. In the job application, there is a section that ask the user to select the skills that apply to them. Each skill have an experience level associated with it. Below is example of the skills section:
0
1294
by: Michael J. Wendell | last post by:
Hello, I am trying to debug an issue with sessions in my ASP 3.0 web application, which runs fine on WIN2K Pro and WINXP Pro, yet fails to function correctly on WIN2K Advanced Server. My actual application is using sessions to store username, and security level (permissions) for my application. The default.asp page is the login, where these values are set. I have triple and quadruple checked my IIS Settings to make sure "Enable...
2
3398
by: nanookfan | last post by:
Hi all, I'm having a bizarre problem converting XML files to HTML using an XSLT. The problem is only occuring in my Netscape 7.0 browser. What makes it more bizarre is that it is only happening when I put my XML files and the .xsl files on my ISP's system for my home page. If I try to open the XML files in Netscape 7.0 on my own machine (ie, not on the ISP's system), the pages convert file and the result is displayed in HTML.
8
5634
by: Dominic Tocci | last post by:
I'm searching for a way to use window.open on my web page to open a window in firefox that allows the sidebars to work (bookmarks, history, etc). When I use the following: var popWindow=window.open('http://www.yahoo.com','','width=600,height=400,toolbar=1,location=1,menubar=1,resizable=1,titlebar=1,directories=1,status=1,scrollbars=1'); the sidebars are disabled. I click on the buttons for bookmarks and history and they do nothing. I...
3
1686
by: Leslie A Rhorer | last post by:
Hello all, I am quite new to HTML, and I have created a number of pages related to a project on which I am working. Several of the pages look just the way I want with the default font settings in IE and Mozilla in Windows XP, but they jumble up a bit if a larger font is used, as many of the readers of this application do, or if I selct a useable font on my Linux system. In other words, I need the bottom table (OObj2) to move up and...
2
2148
by: news.symantec.com | last post by:
Hi All, I'm trying to install DB2 Enterprise Edition 8.1 (partitioned installation) onto a clean Win 2k SP4 advanced server box. The problem is the partitioned installation requires a "Domain User" account for the partition (at least that is what it tells me at some point during the install) whereas a non-partitioned installation doesn't need one. Whenever I try to install DB2 logged in as a domain admin the installation tells me that...
1
2661
by: Methven | last post by:
File - Get External Data - Import - Text Type - Advanced - Specs PROBLEM Can anyone assist me with a problem ? When attempting to specify an import specification using ; File - Get External Data - Import - Text Type - Advanced - Specs Is it possible to specify a Spec layout, save it and then - at a later point - amend the Spec ?
0
5385
by: mortenol | last post by:
Hi, I am trying to connect a MS SSIS package to an AS400/DB2 database, and I experience problem when I hit the "Create Package" button in the "Data Link properties window". I have understood that the packages need to be created, before I can run any SQL on the DB2 base via SSIS(?). Here are the steps that I have done before the problem arise: 1. In MS Visual Studios, I created a new project of type "Integration Services". 2. On the...
3
2583
omerbutt
by: omerbutt | last post by:
hi there i have downloaded a prototype tooltip from http://www.nickstakenburg.com/projects/prototip/ the logic it uses is to call the script after creating the <div> for example i am using the ajax method <html> <body> <div id='my_div'> </div>
2
3006
by: swethak | last post by:
hi , i write the code in .htm file. It is in cgi-bin/searches/one.htm.In that i write a form submitting and validations.But validations are not worked in that .htm file. I used the same code in my local system that validations work.plz tell that whats the problem in that. Here is my code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html...
0
8444
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8356
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8551
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8639
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7386
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4368
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2771
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1775
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.