473,503 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A problem with queries

11 New Member
Hi

I have a number of standard queries based on a primary table.

I have created various forms with embedded macros to filter out the information required.

The bit that I can't work out is, when I run the queries they are adding records to the primary table, I could understand it if they were Append Queries but they aren't

As an example the marcos are typicaly:
Expand|Select|Wrap|Line Numbers
  1. Action = Open Query 
  2. Argument = qryProjectManagerReadyForInvoicing
  3. Action = Apply Filter 
  4. Argument= [Forms]![Project Manager Invoice Status Form]![cboPMInv] & [Forms]![Project Manager Invoice Status Form]![cboStatus]
Any suggestions as to what on earth I may have done wrong would be greatly appreciated
Oct 7 '09 #1
8 1567
NeoPa
32,557 Recognized Expert Moderator MVP
I'm afraid most of us never use macros in Access. You may get lucky & find someone who can help, but very few professionals use them.
Oct 7 '09 #2
buncey
11 New Member
Er!

So what are the options?

For the most part for the stuff that I alone use I simply use a couple of perameters and that's that.

What I'm trying to do is create a "Joe Soap" interface I.E a basic form!
Oct 7 '09 #3
NeoPa
32,557 Recognized Expert Moderator MVP
The alternatives to using macros is to use VBA code.

For creating basic forms there are a number of very helpful wizards. Loads of options to choose from.

Welcome to Bytes!
Oct 7 '09 #4
buncey
11 New Member
Please point me in the right direction
Oct 7 '09 #5
NeoPa
32,557 Recognized Expert Moderator MVP
What do you want to do? I don't really have a very clear idea of what you're after.

If you use the wizards there are various options to choose from. With what you've told me so far how can I possibly be more precise?

What I can say, if this is where you're stuck, is that the Insert menu is where you need to start (to find the wizards). Select the Form option to get help creating a form. To get the form to be bound to a particular table then select that table before you start the process. I hope this is some help.

PS. I don't know why, but all your posts seem to start out as moderated. They only become visible generally when I approve them. I've checked the status of your account and see nothing wrong there. Do you have any understanding as to why all your posts are moderated?
Oct 7 '09 #6
buncey
11 New Member
Hi
First off I have no idea why my posts are moderated?

Now the odd bit, I have no problem with creating forms that are bound to tables or queries, can I find the insert menu, can I heck as like, where on earth is it? I'm using 2007..........Perhaps I'm having a senior moment?
Oct 8 '09 #7
NeoPa
32,557 Recognized Expert Moderator MVP
Hi Buncey.

I musty have missed this when you posted. Sorry. I don't like to leave members hanging. I only caught it as I'm going over some older threads adding best answers where sensible.

I'm not very familiar with A2007 though I'm afraid. Perhaps Interactive: Access 2003 to Access 2007 command reference guide can help.
Oct 25 '09 #8
nico5038
3,080 Recognized Expert Specialist
It's impossible for a SELECT query to add rows to a table.

So, as you're sure that rows are added, I would like to know or these rows are only visible in the output or does the table really "grows" with a number of records.

If the latter is the case, then there's something else in your form's code/macro's that's adding rows. If the first option is the case, than there's possibly a JOIN with another table causing rows to repeat.

Can you post the code of the original query ?

Nic;o)
Oct 25 '09 #9

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

Similar topics

6
6749
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
4
2000
by: dschl | last post by:
Hi, I'm converting an Access 2000 database to Sql Server and must be missing something obvious. Using the Import utility in Sql Server, the Access queries seem to get executed and the...
5
1909
by: Alicia | last post by:
Hello everyone based on the data, I created a union query which produces this. SELECT ,,, 0 As ClosedCount FROM UNION SELECT ,, 0 AS OpenedCount, FROM ORDER BY , ;
8
2597
by: Tcs | last post by:
I've been stumped on this for quite a while. I don't know if it's so simple that I just can't see it, or it's really possible. (Obviously, I HOPE it IS possible.) I'm trying to get my queries...
13
1586
by: (Pete Cresswell) | last post by:
I *know* I've been here before some years back, but can't for the life of me recall the details. My application is growing from about five megs to over a hundred megs in the course of a 6-8 hour...
44
4488
by: Greg Strong | last post by:
Hello All, Is it better to create a query in DAO where a report has 4 sub-reports each of whose record source is a query created at runtime and everything is in 1 MDB file? From what I've...
1
2085
by: loosecannon_1 | last post by:
Hello everyone, I am hoping someone can help me with this problem. I will say up front that I am not a SQL Server DBA, I am a developer. I have an application that sends about 25 simultaneous...
4
3477
by: Got2Go | last post by:
Hello Group, I have a table that has millions of records in it. About 100 records are added every 5 minutes (one per OIDID) (the sample provided below has data for 2 OIDIDs (99 and 100) And I...
10
6499
by: dauphian | last post by:
Hello, I am new to .net and am trying to build a report application that queries 4 different tables based on a id, and I need to return them in the same table for easy viewing. Basically, I...
2
17915
ADezii
by: ADezii | last post by:
Create Indexes on all Columns used in 'ad hoc' Query Joins, restrictions, and sorts (Jet already creates Indexes for Enforced Relationships). Use Primary Keys instead of Unique Indexes wherever...
0
7202
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
7328
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...
1
6991
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
5578
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,...
0
4672
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...
0
3167
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...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
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 ...
0
380
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...

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.