473,763 Members | 7,727 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Query fields will not update after intial Entry

Curben
47 New Member
Hello all, two days of websearching and I cannot find an answer yet.

Reasonably new to access development.

Access 2000 DB using access 2003 on windows XP

I am having an issue with creating a query that I can enter the Part ID as value and hvae the description, cost etc. populate in the rest of the query.

I have two Tables; ItemMaster and [Initial Input]
[Initial Input] has one Value: [Part ID]
and ItemMaster has several but i have limited to Segment1, Description, Item_Cost

I want to create a form based on a query that when the Part ID is entered that the query runs and displays the rest of the information. This will later be appended to a table which will be followed up on by another user.

The problem I have is that the query will not update unless saved, closed and reopened, or switch views. So instead of Entering in the one value and the rest of the values filling in automatically, enter just goes to the next blank value.

I have done this several time before and they have all worked. One item that may make a difference is i just transfered to a new PC and attempted to change all the options so perhaps i checked/unchecked something i shouldnt have.

Any help or assistance can be appreciated

Thanks

Expand|Select|Wrap|Line Numbers
  1. SELECT [Initial Input].[Part ID], ItemMaster.DESCRIPTION, ItemMaster.ITEM_COST
  2. FROM ItemMaster RIGHT JOIN [Initial Input] ON ItemMaster.SEGMENT1 = [Initial Input].[Part ID];
  3.  
Oct 17 '07 #1
35 9972
puppydogbuddy
1,923 Recognized Expert Top Contributor
Hello all, two days of websearching and I cannot find an answer yet.

Reasonably new to access development.

Access 2000 DB using access 2003 on windows XP

I am having an issue with creating a query that I can enter the Part ID as value and hvae the description, cost etc. populate in the rest of the query.

I have two Tables; ItemMaster and [Initial Input]
[Initial Input] has one Value: [Part ID]
and ItemMaster has several but i have limited to Segment1, Description, Item_Cost

I want to create a form based on a query that when the Part ID is entered that the query runs and displays the rest of the information. This will later be appended to a table which will be followed up on by another user.

The problem I have is that the query will not update unless saved, closed and reopened, or switch views. So instead of Entering in the one value and the rest of the values filling in automatically, enter just goes to the next blank value.

I have done this several time before and they have all worked. One item that may make a difference is i just transfered to a new PC and attempted to change all the options so perhaps i checked/unchecked something i shouldnt have.

Any help or assistance can be appreciated

Thanks

Expand|Select|Wrap|Line Numbers
  1. SELECT [Initial Input].[Part ID], ItemMaster.DESCRIPTION, ItemMaster.ITEM_COST
  2. FROM ItemMaster RIGHT JOIN [Initial Input] ON ItemMaster.SEGMENT1 = [Initial Input].[Part ID];
  3.  
Sounds to me like you have the setting "Confirm Action Queries" turned on. Go to the Command Menu, select Tools>Options>E dit/Find Tab>uncheck the box that says "Confirm Action Queries"
Oct 17 '07 #2
Curben
47 New Member
Nope, Was unchecked already.

I did check it test, uncheck test and nothing so far.

I have since tested on another database on another PC and i am also having a similiar issue there, so maybe it is just me.
Oct 17 '07 #3
puppydogbuddy
1,923 Recognized Expert Top Contributor
Nope, Was unchecked already.

I did check it test, uncheck test and nothing so far.

I have since tested on another database on another PC and i am also having a similiar issue there, so maybe it is just me.
By the way, the query that you are showing in your post is not an update query or insert query ...it is just a select query. This is not the query that you were talking about it not updating is it?
Oct 17 '07 #4
Curben
47 New Member
By the way, the query that you are showing in your post is not an update query or insert query ...it is just a select query. This is not the query that you were talking about it not updating is it?
Yes, this is the query I am refering to. The values will not populate in "real time"

I am trying to get this to a form that will show the data so when a user inputs the ID they will have the rest of the data to make a desision on. they will be able to either overtype the part ID if they do not wish to submit it, or move to the next record. I already have one query that does this for another project.

Expand|Select|Wrap|Line Numbers
  1. SELECT Processed.[Rec#], Processed.[Part ID], Processed.LPN, Processed.[DOA/DOI], Processed.Resolution, Processed.[Date Entered], Processed.FW, ItemMasterSynced.DESCRIPTION, ItemMasterSynced.ITEM_COST, ItemMasterSynced.[Source Pole], ItemMasterSynced.Modality, ItemMasterSynced.Category, ItemMasterSynced.Notes, ItemMasterSynced.[Where to send], ItemMasterSynced.Contact, ItemMasterSynced.Address1, ItemMasterSynced.Address2, ItemMasterSynced.City, ItemMasterSynced.State, ItemMasterSynced.Zip, ItemMasterSynced.Phone, ItemMasterSynced.Location, ItemMasterSynced.O1vt, ItemMasterSynced.Reason, ItemMasterSynced.Source, Processed.User, ItemMasterSynced.XelusLU
  2. FROM ItemMasterSynced RIGHT JOIN Processed ON ItemMasterSynced.SEGMENT1 = Processed.[Part ID];
This does the same thing just with alot more Fields
Oct 17 '07 #5
puppydogbuddy
1,923 Recognized Expert Top Contributor
Ok, so all you are trying to do is populate your form, you are not updating anything, you are just displaying information from your table.

1. When you run the query by itself, independent of the form, does it display the data you want?

2. Do you have just a main form, or do you have a main form and a subform?

3. Is the form bounded to the query by referencing the query in the form's record source property?

4. Are the controls (textboxes,etc) bound to the table via their control source property?
5.Do you have any code behind your form setting form and control properties?
Oct 17 '07 #6
Curben
47 New Member
I cannot get to the form, as the query will not populate the values in the rest of the feilds in real time.

I should be able to enter the data directly in the query and the query should complete for that value, go to the next record, and do the same, it is not however. when i type the part ID into the field part ID
and go to the next record, the rest of the values remain blank until i manually refresh the query
Oct 18 '07 #7
puppydogbuddy
1,923 Recognized Expert Top Contributor
I cannot get to the form, as the query will not populate the values in the rest of the feilds in real time.

I should be able to enter the data directly in the query and the query should complete for that value, go to the next record, and do the same, it is not however. when i type the part ID into the field part ID
and go to the next record, the rest of the values remain blank until i manually refresh the query
You lost me.
You do not need the form to run the query. Run the query by itself.

What happens?
Oct 18 '07 #8
Curben
47 New Member
You lost me.
You do not need the form to run the query. Run the query by itself.

What happens?
The query runs fine, it just will not run in real time which will be needed once the form is attached.

In layman's english, when you enter a value in the first field when the rest of the fields are tied to another table, then once you press enter to lock in the value, then the rest of the query does not run. It WILL run if i close the query and reopen it, or if I switch to design view and back. But the query will not run on entries I make while i still have the query open.
Oct 18 '07 #9
puppydogbuddy
1,923 Recognized Expert Top Contributor
The query runs fine, it just will not run in real time which will be needed once the form is attached.

In layman's english, when you enter a value in the first field when the rest of the fields are tied to another table, then once you press enter to lock in the value, then the rest of the query does not run. It WILL run if i close the query and reopen it, or if I switch to design view and back. But the query will not run on entries I make while i still have the query open.
Ok, I think I see where the confusion is. You really want a parameter query...where you can enter a value and have the rest of the info returned. Let's do this:

1. Place your query in design view
2. In the criteria row of the first field in your query grid, type the following:
[Enter a value]
3. save your query and run it
4. Tell me if that is what you meant.
Oct 18 '07 #10

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

Similar topics

2
2935
by: lawrence | last post by:
A very strange bug. www.monkeyclaus.org is run by a cms I'm developing. One of types of users we allow is "justTestingTheSite", a type of user I developed to give demo's to prospective clients. The purpose of this level of security is to let someone log in and see everything as if they were root, and yet not be able to update or delete anything, as they have no real priveledges at all. I just logged in as root and created such an...
3
1771
by: JC Mugs | last post by:
Help needed for project-Access 2002(office xp) PROBLEM: Figuring out how to lookup a record and DDate field in Table1 - Take that DDate-field data from record looked up and assign it to Date field in a new record on a form using Table2. BASIC Table1 Fields: DID -Primary KEY DDate --Information I need to move to new form
7
1788
by: Patrick Fisher | last post by:
Hi I have a table which Contains entries with RefCode field containing INVP or INVPD Common fields in each entry would be InvoiceNo, Total and PurTyp for example. You could have 1001 500.50 INVP 1 1001 500.50 INVPID 1 1002 123.00 INVP 1
1
359
by: Jon | last post by:
Hi there. I'm trying to create a query (or two) that I can use to produce a spreadsheet but I'm having a bit of trouble. I'm using Access 2000. My db is set up like this: Table1: Intrusive Manhole Survey Fields: IntrusiveEntryID (PK), ManholeID, Date, Sewer System, Firm, Inspector, Benching Description, Manhole Type, Manhole Diameter, Sump Elevation, Source, Notes.
5
3510
by: Irfan | last post by:
Hi All, I am trying to create a report but having problem with the critiera selection logic, please help. I have the following fields date1 date2 date3
4
1593
by: johnny | last post by:
hi all, I hope it is easier for you to answer than for me trying to explain it... In a database I have some tables , each one has some mandatory fields at the beginning and a couple at the end. In the middle each table can have some additional fields from 0 to n depending on how many fields have been inserted by who created the table.
0
3301
by: phlype.johnson | last post by:
I'm struggling to find the best query from performance point of view and readability for a normalized DB design. To illustrate better my question on whether normalized designs lead to more complex queries yes or no, I have prepared an example. The example is a database with the following tables: *table person with fields: -persid: autoincrement id -name: name of the person *table material with fields: -materialid: autoincrement id
9
3062
by: Kelii | last post by:
I've been trying to get this piece to work for a few hours, but have given up. I hope someone out there can help, I think the issue is relatively straightforward, but being a novice, I'm stumped. Below you will find the code I've written and the error that results. I'm hoping that someone can give me some direction as to what syntax or parameter is missing from the code that is expected by VBA. Overview: I'm trying to copy calculated...
7
1322
by: KC-Mass | last post by:
I have two tables related to sales transactions and assigned areas. The tblSalesArea has SalesAreaID an autonumber StartZip, Text EndZip, Text The tblSales has many fields detailing all the sales. The two fields of concern are ZipCode, Text and SalesAreaID a number.
0
10144
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9997
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9822
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
8821
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
6642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3917
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
3
3522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2793
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.