473,386 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Linked table - when?

I have a database with a linked table within it.

I have a query form that opens and allows the user to select criteria
and then the form is filled with data found from the linked table.

At what point is the table linking? For example, if I open the form it
takes forever. I would like the form to open immediately, allow the
user to enter data and then have it search the linked table. It
appears it is opening the linked table and then asking for the
criteria and the processing to get the records.

I guess I was wondering how I could have the criteria form open
immediately and then have the linking take place.

Help!
Nov 12 '05 #1
1 2043
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The form's RecordSource is probably the query name, which will cause
the query's result set to be loaded into the form when the form opens.
You can change the form's RecordSource or the form's Filter to limit
the number of records that appear when the form opens.

One way is to open the form in design view & set the form's Filter to
select a record that you know is NOT in the query's recordset.
Something like this:

CustomerID=0 - if you had "CustomerID" field in recordset

and set the Filter On property to Yes. Then save the form. When it
is next opened it should open faster 'cuz it is not retrieving any
records.

Another way is to leave the form's RecordSource property blank. Then
in the AfterUpdate event of the criteria selection (a CommandButton?)
put the query name in the form's RecordSource. I'm assuming the
criteria selection is really a filter that is applied to the form.

HTH,

MGFoster:::mgf
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP7wZ2IechKqOuFEgEQJmuQCfRXGjzXc1J1m0ST5CZo4Ulo OmQ4IAoMlO
Plh31PkPXWekfRZpl9s0VmdK
=CePZ
-----END PGP SIGNATURE-----

Annette Massie wrote:
I have a database with a linked table within it.

I have a query form that opens and allows the user to select criteria
and then the form is filled with data found from the linked table.

At what point is the table linking? For example, if I open the form it
takes forever. I would like the form to open immediately, allow the
user to enter data and then have it search the linked table. It
appears it is opening the linked table and then asking for the
criteria and the processing to get the records.

I guess I was wondering how I could have the criteria form open
immediately and then have the linking take place.

Help!


Nov 12 '05 #2

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

Similar topics

6
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...
20
by: Neil | last post by:
I have an Access 2000 MDB file with a SQL 7 back end. I have a main table with 50,000 records; and I have a selections table with 50,000 records for each machine that uses the database (about...
5
by: deko | last post by:
How to run action query against linked table? I have an Access 2003 mdb with an Excel 2003 Workbook as a linked table. When I attempt to run an action query against the linked table I get this...
5
by: b b | last post by:
I created the following code to delete all linked tables in my database (Access 200): -------------------------------------------------------- Dim tbl As TableDef Dim dbs As Database Set dbs...
4
by: Neil Ginsberg | last post by:
I have ODBC linked tables to a SQL 7 database in an A2K database. The linked tables do not have the password stored in them, so the first time the user accesses them, they need to enter the SQL...
7
by: Joe | last post by:
I am using Access 2003 and are linking to an Oracle 9i ODBC datasource (using Oracle ODBC drivers). After linking the tables in Access, I inspect the data contained in the linked tables. For...
3
by: Zlatko Matić | last post by:
Hi! What happens with linked tables if they were linked using File DSN, when I copy the Access file on some other PC without File DSN ? What is the difference between DSN on linked tables and...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
1
by: Gil | last post by:
hello i have a front end access application that has mixed linked tables from 2 different sources. some tables are linked to a MYODBC Driver and the other tables are linked to an access database....
10
by: Jim Devenish | last post by:
I have a split front end/back end system. However I create a number of local tables to carry out certain operations. There is a tendency for the front end to bloat so I have set 'compact on...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
0
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...

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.