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 - SELECT [Initial Input].[Part ID], ItemMaster.DESCRIPTION, ItemMaster.ITEM_COST
-
FROM ItemMaster RIGHT JOIN [Initial Input] ON ItemMaster.SEGMENT1 = [Initial Input].[Part ID];
-
35 9972
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 - SELECT [Initial Input].[Part ID], ItemMaster.DESCRIPTION, ItemMaster.ITEM_COST
-
FROM ItemMaster RIGHT JOIN [Initial Input] ON ItemMaster.SEGMENT1 = [Initial Input].[Part ID];
-
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"
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.
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?
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. - 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
-
FROM ItemMasterSynced RIGHT JOIN Processed ON ItemMasterSynced.SEGMENT1 = Processed.[Part ID];
This does the same thing just with alot more Fields
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?
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
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?
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.
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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...
|
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
|
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
|
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.
|
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
| |
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.
|
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
|
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...
|
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.
|
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...
|
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...
| |
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...
|
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...
|
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();...
|
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...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |