473,385 Members | 1,337 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,385 software developers and data experts.

Unbound form

Hi all,

To ease load on a network i close automatically form open
with a timer reset by user actions.

If the time is expired i go through the collections
of form and table and close all those that are open.

I choose this way to avoid putting code in each form, plus i can close all
open table if any
Is that correct? i am wondering if by cycling through the collections
(allforms, alltables) i put extra load on the network?
regards
Pierre
Nov 13 '05 #1
4 2883
"Pierre" <pf@arobas.net> wrote in message
news:rn*********************@wagner.videotron.net. ..
Hi all,

To ease load on a network i close automatically form open
with a timer reset by user actions.

If the time is expired i go through the collections
of form and table and close all those that are open.

I choose this way to avoid putting code in each form, plus i can close all
open table if any
Is that correct? i am wondering if by cycling through the collections
(allforms, alltables) i put extra load on the network?


A form or table that is left open might possibly impose some locks that your
method would get rid of, but I doubt that they would be producing any network
traffic if the user was not actively doing something with them.

My advice would be to not bother. The way to reduce network traffic in Access
is to make sure that forms and reports pull as few records as possible and
implement proper indexes, not by closing forms as quickly as possible.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
My advice would be to not bother. The way to reduce network traffic in Access
is to make sure that forms and reports pull as few records as possible and
implement proper indexes, not by closing forms as quickly as possible.


I agree with Rick.
It's also important that each user has his/hers own *local* Frontend.
This reduces network traffic when loading the forms/reports
and also reduces the chance of your db getting 'corrupted'.

--
Arno R
Nov 13 '05 #3
Hi all,

Thanks for the answer.
What do you mean by a form and report pulling as few record as possible?

Do you mean i should not open a form that access a whole database?

Like always using a filter to select a subset of the database?

I am looking for advise to ease the load on a network.
Can you give some trick?
"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:89****************@newssvr11.news.prodigy.com ...
"Pierre" <pf@arobas.net> wrote in message
news:rn*********************@wagner.videotron.net. ..
Hi all,

To ease load on a network i close automatically form open
with a timer reset by user actions.

If the time is expired i go through the collections
of form and table and close all those that are open.

I choose this way to avoid putting code in each form, plus i can close all open table if any
Is that correct? i am wondering if by cycling through the collections
(allforms, alltables) i put extra load on the network?
A form or table that is left open might possibly impose some locks that

your method would get rid of, but I doubt that they would be producing any network traffic if the user was not actively doing something with them.

My advice would be to not bother. The way to reduce network traffic in Access is to make sure that forms and reports pull as few records as possible and
implement proper indexes, not by closing forms as quickly as possible.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com

Nov 13 '05 #4
Hi,

I have seen some examples or discussions that only load few records at
a time.

One method is to load using a filter. For that you need to know the
range of an indexed field.

One notion has to do with the datasheet view. Say the screen can hold
25 records at a time. Load fifty. Get the count of records to modify
the scrollbar thumb. If/when the user scrolls to view record 26, load
51-75. Then, when you have the form open, you will have three
recordsets open, to use the Access record bound form. If the user uses
the scrollbar to navigate, then perhaps it is key to have a popup with
letters, say, to not update the form scrolling until the scrollbar
thumb is released.

So, if you know how many records there are, then you could divide them
into the blocks of records that fit on the screen, and just keep a
previous and next recordset, and set the recordset to the previous or
next as the user scrolls, with the one going off the page closed and
opened as the new recordset.

That would be more transaction heavy on the database, and the bound
form probably already does much of that. To modify the scrollbar
probably would require getting the HWND and hooking the message pump.
I don't know.

I like to use the unbound forms, because it is more similar to what the
implementation of the web page database access is. If you use Access
to enforce referential integrity, and change to a backend that doesn't
support that, then you have to enforce it yourself anyways.

Especially if you use a separate unbound form to add the record, and
the continuous form only for viewing the records as read-only, then you
can use INSERT or open the RecordSet using the dbAppendOnly third
option, with the Dynaset and _not_ the Table nor Snapshot. For
editing, the unbound form does not lock the record in the database. I
have read examples that have in each table row a modification
timestamp, where the unbounded form(s) are used to edit a record, and
then if it doesn't match the timestamp when it is to modify the
table(s)'s record(s), to inform the user for cancel, review, or store
for later reconciliation options.

Those are some ideas, I can't say how well they would work. Access is
a great tool, many environments do not have the bound forms. The OLE
DB DAO Dynaset does a lot of the network performance improvement
automatically.

Is that wrong? I am not an Access expert.

With warm regards,

Ross

Nov 13 '05 #5

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

Similar topics

1
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal...
3
by: Dos Lil | last post by:
I have a unbound field in the subform(for calculating the datediff) which has the control property ==DateDiff("n",,). I have another unbound field in the main form which is for displaying the...
3
by: Pat | last post by:
Hello, I've used Sum() to total bound fields on a continuous form with no problem. However, I now have a continuous form, on which I use an unbound field to calculate the number of hours between...
3
by: MLH | last post by:
I have a form, bound to a query. Its RecordSource property is a query named frmEnterLienAmounts. The form has a few bound controls and some unbound controls. The unbound controls are calculated...
3
by: google | last post by:
I'm developing an application for use within my company in Access 2003. I'm new to '03, the application I did for my former employer was in '97. The two applications have similar functionality...
10
by: Matthew Wells | last post by:
Hello. I've converted a bound Access 2000 form which displays data retrieved from an Access 2000 database to an unbound form. Now my hyperlinks don't work. I'm assuming it's because the form...
18
by: TORQUE | last post by:
Hi, Im wondering if anyone can help me with a problem. I have a form with more than 50 unbound fields. Some of the fields will be blank from time to time. This seems to be where im having...
11
by: TD | last post by:
I'm looking for input into my decision to switch to ADO and unbound forms. I get tired of having to block all of the ways a user can unknowingly save a record, like using the PageUp, PageDown keys...
6
by: Volker Neurath | last post by:
Hi all, I have a Problem with combobox-property "NotInList" and an unbound Form. The situation: On my main form i have three comboboxes for data-exchange (here: Names of distributor,...
11
by: jwessner | last post by:
I have a form (Form1) which contains basic Project data and a subform listing the personnel assigned to the Project as a continuous form. Selecting a person on that project and clicking on a command...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.