473,756 Members | 4,044 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Filter records without using query

I hope this will make sense. I'm trying to filter the records in a
table based on records in a 2nd table. The trick is, I can't use a
query. I'm trying to filter down the number of records going to a
SmartList to go db. The SMtG Access sync will not allow you to sync
to a query based on more than one table. And if I sync all the
records in table 1 (6000)and table 2 (15,000), it take a loooooong
time to sync I've got an easy solution for table 2, it's just table 1
that's giving me fits. I only need ± 20 of those records to sync. An
example:
Table 1 Building Permits Table 2 (query) Inspections

Permit Number Permit Number
Address Inspection Type
Owner Inspection Result (query for
"Is Null")
Etc Etc

Result of Table 2 query is 30-40 open inspections. So in summary, i
want to sync the 30-40 inspections from table 2 and the 20 associated
permits from table 1. Any suggestions, advise is appreciated. Thanks
in advance!
Nov 13 '05 #1
4 2280

Brian wrote:
I hope this will make sense. I'm trying to filter the records in a
table based on records in a 2nd table. The trick is, I can't use a
query. I'm trying to filter down the number of records going to a
SmartList to go db. The SMtG Access sync will not allow you to sync
to a query based on more than one table. And if I sync all the
records in table 1 (6000)and table 2 (15,000), it take a loooooong
time to sync I've got an easy solution for table 2, it's just table 1 that's giving me fits. I only need ± 20 of those records to sync. An example:
Table 1 Building Permits Table 2 (query) Inspections

Permit Number Permit Number
Address Inspection Type
Owner Inspection Result (query for
"Is Null")
Etc Etc

Result of Table 2 query is 30-40 open inspections. So in summary, i
want to sync the 30-40 inspections from table 2 and the 20 associated
permits from table 1. Any suggestions, advise is appreciated. Thanks in advance!


If you cannot sync to a query which uses more than one table perhaps
you can use an Access query to create an intermediate table which you
can then sync. You would want to use a 'make-table' query for this.
Look at help in Access for 'Create a table from another table with a
query'. Your sync process would then involve running the make-table
query from Access, then running the SMtG Access sync on the resulting
table. Hope this helps!

Bruce

Nov 13 '05 #2
Bruce,
Thanks for the reply. I thought about a make table query, however, the
SMtG is a bi-directional sync.
Brian

br***@aristotle .net wrote:
Brian wrote:
I hope this will make sense. I'm trying to filter the records in a
table based on records in a 2nd table. The trick is, I can't use a
query. I'm trying to filter down the number of records going to a
SmartList to go db. The SMtG Access sync will not allow you to sync to a query based on more than one table. And if I sync all the
records in table 1 (6000)and table 2 (15,000), it take a loooooong
time to sync I've got an easy solution for table 2, it's just table
1
that's giving me fits. I only need ± 20 of those records to sync.

An
example:
Table 1 Building Permits Table 2 (query) Inspections

Permit Number Permit Number
Address Inspection Type
Owner Inspection Result (query

for "Is Null")
Etc Etc

Result of Table 2 query is 30-40 open inspections. So in summary, i want to sync the 30-40 inspections from table 2 and the 20 associated permits from table 1. Any suggestions, advise is appreciated.

Thanks
in advance!


If you cannot sync to a query which uses more than one table perhaps
you can use an Access query to create an intermediate table which you
can then sync. You would want to use a 'make-table' query for this.
Look at help in Access for 'Create a table from another table with a
query'. Your sync process would then involve running the make-table
query from Access, then running the SMtG Access sync on the resulting
table. Hope this helps!

Bruce


Nov 13 '05 #3

br************@ ci.verona.wi.us wrote:
Bruce,
Thanks for the reply. I thought about a make table query, however, the SMtG is a bi-directional sync.
Brian


There is a Filter property associated with tables in Access but I have
never used it. Perhaps you can define a filter on the table which does
what you need. Open the table in design view, right click on one of
the rows, and select Properties. There you will find the Filter
property.

HTH,
Bruce

Nov 13 '05 #4
br************@ ci.verona.wi.us wrote:
Bruce,
Thanks for the reply. I thought about a make table query, however, the
SMtG is a bi-directional sync.
Brian
I think you misunderstood Bruce. Why not create a create a query that
makes a table that links Table1 and Table2 together. That'd be near
instantaneous with 15K records. Then synch with the MakeTable, then let
Access do the updates from the MakeTable. IOW, your MakeTable is a Temp
table.

Otherwise, can't you dump the data to a CSV file and import/export?

br***@aristotle .net wrote:
Brian wrote:
I hope this will make sense. I'm trying to filter the records in a
table based on records in a 2nd table. The trick is, I can't use a
query. I'm trying to filter down the number of records going to a
SmartList to go db. The SMtG Access sync will not allow you to
sync
to a query based on more than one table. And if I sync all the
records in table 1 (6000)and table 2 (15,000), it take a loooooong
time to sync I've got an easy solution for table 2, it's just
table
1
that's giving me fits. I only need ± 20 of those records to sync.


An
example:
Table 1 Building Permits Table 2 (query) Inspections

Permit Number Permit Number
Address Inspection Type
Owner Inspection Result (query


for
"Is Null")
Etc Etc

Result of Table 2 query is 30-40 open inspections. So in summary,
i
want to sync the 30-40 inspections from table 2 and the 20
associated
permits from table 1. Any suggestions, advise is appreciated.


Thanks
in advance!


If you cannot sync to a query which uses more than one table perhaps
you can use an Access query to create an intermediate table which you
can then sync. You would want to use a 'make-table' query for this.
Look at help in Access for 'Create a table from another table with a
query'. Your sync process would then involve running the make-table
query from Access, then running the SMtG Access sync on the resulting
table. Hope this helps!

Bruce


Nov 13 '05 #5

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

Similar topics

8
6534
by: dick | last post by:
I am just trying to print/report the results of a "filter by selection" which is done by right-clicking a form, filling in values, and "applying the filter." I have searched the newsgroups, and there are many examples. BUT, they fail sometimes. The techique is to pass the form's Me.filter as the "where condition" in a Docmd.openreport statement in code behind a "print button" on the form.
2
5061
by: Salad | last post by:
I have a log file with a list of records. The log file can be unfiltered or filtered. I have a command button to call a data entry form from the log. At first I was only going to present the record the user selected. Then I thought, what the heck, give the user all of them but start out at the record the user is currently on. If I pass the current filter that resides on the log this causes problems. For example, if the filter is...
4
5139
by: Nhmiller | last post by:
This is directly from Access' Help: "About designing a query When you open a query in Design view, or open a form, report, or datasheet and show the Advanced Filter/Sort window (Advanced Filter/Sort window: A window in which you can create a filter from scratch. You enter criteria expressions in the filter design grid to restrict the records in the open form or datasheet to a subset of records that meet the criteria.), you see the design...
16
18418
by: Nhmiller | last post by:
I already have a report designed under Reports. When I use filtering in Forms or Tables, I see no way to select that filtered list when I am in Reports, and there appears to be no way to do the filtering when I am in Reports. I have received two replies to this message, posted a few days ago within another Subject. One requires making programming type statements. That should not be necessary -- Access must have a quick way to just click...
3
12502
by: Stewart | last post by:
Hi all! My (relatively small) database holds data on staff members and the projects (services) that they are assigned to. In my form frmStaff, I have a list of staff members - it is a continuous form. Each staff member is linked to a Service through a many-to-many relationship, using a junction table called jctStaffServices. I would like to place a Combo Box in frmStaff where you can 'filter' staff by the Service (i.e. ServiceName)...
11
6109
by: Bob | last post by:
I am in the process of upgrading an Access database to SQL Server (and climbing that learning curve!). The wizard happily upgraded all the tables and I can link to them OK using ODBC. The application controls allocation of revisions to aircraft maintenance manuals for an airline type operation. In the application there is a form loaded at start-up allowing the user/s to select the records that they are currently interested in from 4...
0
1891
by: Josetta | last post by:
This is for informational purposes...I had a problem and I thought it might help others in a similar situation. I hope someone, someday, finds this idea useful. I've garnered so much knowledge from this forum over the years, it's nice to present a solution that I couldn't find here. I have a form that my users wanted to filter, using the right-click Filter By or Filter Excluding, etc. I have a check box which my reports look up,...
9
6095
by: dee | last post by:
I'd like to filter by the following criteria: left(LeadDisposition,3) = "Sit" AND Appt_Date = Text767 I have no idea how to do this. Appreciate help.
2
4207
by: Matthew Wells | last post by:
Hi there. I am a programmer for a living, but this problem has my whole team stumped. I have a subform based on a query. I'm not using the "LinkMaster/ChildFields" properties ( I have my reasons ). The ssbform's query has a criteria for forms!masterform!Keyfield. This works fine on open. I have an options group with two options - True or All. Selecting True adds a filter to the subform's fitler property "Billed = True". That...
0
10014
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
9844
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...
1
9819
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8688
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
6514
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
5119
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
3780
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
2
3326
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2647
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.