473,461 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

filtering and edit

Hi
I have a large table which I wanted to filter and then edit the selected
record.
I'm using a form with several pull down fields linked to lookup tables which
correspond to fields in the large table. The user selects a number or
category or All from the pull-down and this is used in a query, made up of
the main table and the lookup tables with a suitable Iif statement to filter
the query.
So on the form there are several fields that can be each set to a value or
to All. A button runs the query if no pulldowns are selected each field
defaults to All and all the records are displayed.
The form can filter as one field only or A And B And C etc. This works well
and gives the filtered subset displayed in the subform on the form.
Is there now a way to edit a selected record from the few in the subform?
Maybe dbl/click on it and search for that record and display to a pop up
window.
Is there an easier way to achieve all this?
TIA

Dec 7 '05 #1
3 1969
On Wed, 7 Dec 2005 23:07:33 +1100, "Damon Grieves"
<da****@vfeNOSPAMmail.net> wrote:

The mere act of filtering (this term has specific meaning in Access)
does not make a recordset readonly.
Take a Northwind form.
Observe it is editable.
Use filter by form to filter on some criteria.
Observe it is still editable.

If you set the form's Filter property to some "Where Clause", it does
not become uneditable.

Perhaps you're doing something different. Please elaborate.

-Tom.

Hi
I have a large table which I wanted to filter and then edit the selected
record.
I'm using a form with several pull down fields linked to lookup tables which
correspond to fields in the large table. The user selects a number or
category or All from the pull-down and this is used in a query, made up of
the main table and the lookup tables with a suitable Iif statement to filter
the query.
So on the form there are several fields that can be each set to a value or
to All. A button runs the query if no pulldowns are selected each field
defaults to All and all the records are displayed.
The form can filter as one field only or A And B And C etc. This works well
and gives the filtered subset displayed in the subform on the form.
Is there now a way to edit a selected record from the few in the subform?
Maybe dbl/click on it and search for that record and display to a pop up
window.
Is there an easier way to achieve all this?
TIA


Dec 7 '05 #2
GH
If the form's Allow Edits property is set to No, you would not be able
to edit the record. If the subform includes any aggregate functions or
is missing any required fields from the underlying table, the filtered
records would not be editable regardless of the form settings. These
are the only specific scenarios I can think of off the top of my head
that would prevent edits in a subform.

Dec 7 '05 #3
It sounds like you might be able to save yourself lots of work by just
making a main form that shows all relevant fields of your table, and then
using filter by form to find selected records to edit. Do you have special
requirements or complications that prevent you from doing it this way?

"Damon Grieves" <da****@vfeNOSPAMmail.net> wrote in message
news:43**********************@news.optusnet.com.au ...
Hi
I have a large table which I wanted to filter and then edit the selected
record.
I'm using a form with several pull down fields linked to lookup tables
which
correspond to fields in the large table. The user selects a number or
category or All from the pull-down and this is used in a query, made up of
the main table and the lookup tables with a suitable Iif statement to
filter
the query.
So on the form there are several fields that can be each set to a value or
to All. A button runs the query if no pulldowns are selected each field
defaults to All and all the records are displayed.
The form can filter as one field only or A And B And C etc. This works
well
and gives the filtered subset displayed in the subform on the form.
Is there now a way to edit a selected record from the few in the subform?
Maybe dbl/click on it and search for that record and display to a pop up
window.
Is there an easier way to achieve all this?
TIA

Dec 7 '05 #4

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

Similar topics

3
by: Alex Ayzin | last post by:
Hi, I have a problem that might be easy to solve(possibly, I've just overlooked an easy solution). Here we go: I have a dataset with 2 datatables in it. Now, I need to do the following: if...
3
by: Jason | last post by:
I am trying to filter records in a primary form based on records in related tables. The data in the related tables is being displayed in the primary form through subforms. To be more specific, I...
7
by: | last post by:
Hello, Does anyone have an idea on how I can filter the data in the gridview control that was returned by an sql query? I have a gridview that works fine when I populate it with data. Now I...
2
by: Gummy | last post by:
Hello All, I have a webpage that has two dropdown listboxes. Based on what is selected in these dropdown listboxes, it filters a DataGrid . That works fine. In the DataGrid , when I go to edit...
2
by: Bill Manring | last post by:
I am writing a very simple web application using VS 2005 and a SQL Server Database. I am just starting to experiment wth .NET 2.0 and I am trying out the supposedly improved databinding. I...
2
by: JUAN ERNESTO FLORES BELTRAN | last post by:
Hi you all, I am developping a python application which connects to a database (postresql) and displays the query results on a treeview. In adittion to displaying the info i do need to implement...
3
by: Harry Haller | last post by:
Hello, I want to implement a generic list which will be used to display 7 columns in a GridView. One should be able to sort, filter and page each of the 7 columns. Ideally the filter should be...
3
by: iamguyster | last post by:
Hi, I have an exercise I need to give to my pupils (I'm a teacher!) and I am trying to get a query working preferably using the query design view, without having to edit the SQL. The query involves...
7
by: lrw0831 | last post by:
Hello, I have a few questions. But first I'll give a little bit of info about my database. I'm creating a issue tracker, in a sense. It will be used to enter calls from customers for upgrades,...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
1
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...

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.