473,396 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Using acces to manage change control records. Table management help

Hi all,

I am new to this and am looking for some direction I have the ideas, but am having trouble putting it into practice. Any help would be greatly appreciated.

I have set up three tables.

Table one

this contains 20 fields. This data is uploaded to access by a macro in access from excel.

This table contains the information from the change record from our suplliers. It has a unique identifier, the ocp (Change number) and details from the change. I am only really interested in around 5 of these fields.

Table 2 contains 2 fields. The OCP number and also the Post Office owner, which is a drop down table listing names, i.e my name.

Table 3 contains 7 fields. The OCP number and all action Post Office need to carry out. for example excepting the change, communicating, actioning and reviewing. All of these fields need to be completed by the POL staff and apart from the OCP number are manually populated.

I have linked all three tables by the OCP number.

The OCP number is uploaded via the macro to all 3 tables at the same time.

I next went into reports and created a report showing the fields from all 3 tables that I needed to view, but this contains no fields.

I want to complete the POL actions to show which changes we have accepted rejected etc, but there are no records, apart from in my first table?

What have I done wrong and should I actually be doing this an easier way? any suggestions greatly received. I have used databases before but this is the first one I am trying to build. I can supply any data required thank you in advance.
Jan 8 '08 #1
10 2272
BTW I am using access 2003 and microsft excel 2003. I convert the word doc to excel, and this uploaded by a macro to Access, i only use certain fields from this data.
Jan 8 '08 #2
MMcCarthy
14,534 Expert Mod 8TB
Essentially I think you just need to change your joins to left joins starting with the imported tables. This will show all records in the imported table and only those records from the other two tables that are matching.
Jan 9 '08 #3
Essentially I think you just need to change your joins to left joins starting with the imported tables. This will show all records in the imported table and only those records from the other two tables that are matching.

Ok will give this a try thank you.
Jan 9 '08 #4
I am showing my obvious i experience here. I assumed you meant that the left join to be set up as a query. when I did this it returned a syntax error for the expression used. I have looked on the microsoft help section and am unsure what is whrong I will try again. Cheers
Jan 9 '08 #5
Right,

in my query I have joined POL Operations Owner table to OCP Base table. I then Joined the POL actions Table to the POL Operations Owner table. All three tables are joined by the OCP ref which should be identical in each. but now I am getting a mismatch error.

I set the query up using the query wizard and selected only some of the fields from OCP Base table and all the fields from POL Actions and POL Owners.

I have been using my access book and I am confused as to what I have done wrong.

I linked the tables earlier through their relationships earlier and am wondering if this is having any impact.

Am I explaining this well enough?
Jan 9 '08 #6
The mismatch error I am getting is: -

Type mismatch in JOIN expression. (Error 3615)
A JOIN expression is attempting to join two tables on fields of incompatible data types. For example, you will get this error if you attempt to join a Memo field with a Text field.

As far as I am aware their are no memo fields but I will recheck.
Jan 9 '08 #7
I worked out the mismatch and it was an obvious text and number error, sorry all.

This has now returned exactly what I wanted all the records are joined with the fields I want.

The problem I have is while this is returning the tables and fields I want, I wanted a report type screen that I could complete the POL Actions in rather than the standard excel workbook layout.

When I create this format in forms there is no records. I wanted to set up queries to show uncompleted change request, changes with no responses, changes actioned and changes reviewed which is easy enough to do, but I don't seem to be getting the format I want. I also will be trying to set this up with a front screen with buttons to return the above queries.

Thanks again for explaing how to join. Hopefully I am clearly explaining what I am trying to do, if not I will try again please let me know.
Jan 9 '08 #8
MMcCarthy
14,534 Expert Mod 8TB
In this case you would set up the main form from the main table (POL Operations Owner table). Then use subforms for the other two tables.
Jan 9 '08 #9
In this case you would set up the main form from the main table (POL Operations Owner table). Then use subforms for the other two tables.

Thank You that has worked perfectly.
Jan 10 '08 #10
MMcCarthy
14,534 Expert Mod 8TB
Thank You that has worked perfectly.
You're welcome.
Jan 10 '08 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Campbell's List | last post by:
Hi, I'm completely new to MySql and need help importing tables from Access or Dbase. I am using Dreamweaver MX to create a data-driven web site. With the VPS hosting plan we're on, our remote...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
4
by: Skully Matjas | last post by:
I am using the following code (created by the wizard) to allow to bring my form to a particular entery. But when I edit the entery (ex: put new information into a blank cell), it puts that record...
1
by: John Hargrove | last post by:
I am building a database to manage test samples in an environmental laboratory. I am learning Access as I go and don't know much about the programming aspects. I hope to make the application...
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
9
by: Ben Dewey | last post by:
Project: ---------------------------- I am creating a HTTPS File Transfer App using ASP.NET and C#. I am utilizing ActiveDirectory and windows security to manage the permissions. Why reinvent...
9
by: Nathan Sokalski | last post by:
I am using ASP.NET 2.0's ImageMap Control to create 2 imagemaps, one directly below the other. When I do this a thin blank space appears between them. After several days of frustration I realized...
3
by: shobhitguptait | last post by:
How to Run C#.NET Windows App on N/W with centralized DB using SQL SERVER 2000 Hello All...i m really grate full to c such a website where developers try to help people like us who face problems...
13
by: ramprakashjava | last post by:
hi, i hav "java.lang.NullPointerException" error while Deleting table records using checkbox in jsp here i enclosed files help quickly plzzz.. ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...
0
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,...

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.