Re: bound form data entry = yes network traffic

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




I know that on a bound form setting the data entry property to yes
prevents
the form from displaying any records. I'm assuming this means no records
are
transferred over the WAN. Is that correct?

You can also open the form in add-mode. Eg:


DoCmd.OpenForm "Contacts", acNormal, , , acFormAdd

So, for the most part, yes you are correct.


In an effort to reduce network traffic, many of my colleagues use unbound
forms and vba/sql to insert the data entered into the form to an Access
back-end table (split database). But in so doing they lose the benefits of
bound forms.

Yes, and often this approach will save you any bandwidth.

lets see:

create query....open table...load data. (network traffic)

write bunch of code to fill up un-bound form

now, to save:
create query, open table ...write data.... (whole bunch more network
traffic). If one is not carful, all that code to open up and pull the data
will cause additional overhead then simply having the form bound in the
first place (you not be opening + closing the table).

All that opening and creating of queries can often wind up causing MORE
traffic then just using bound form. The trick here is ALWAYS open the form
to the ONE record you need. so, simply "ask" the user for the one record
first. I explain this concept here:

http://www.members.shaw.ca/AlbertKallal/Search/index.html

You might consider other solutions for wan...I explain the problems and
solutions here:
http://www.members.shaw.ca/AlbertKallal//Wan/Wans.html


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@xxxxxxx


.



Relevant Pages

  • Re: tkinter, loading image error, TclError: couldnt recognize data in image file "C:/users/me/des
    ... obj = objects ... it has worked before opening and displaying a file like this, ... not Python. ... If you have an image editor, you might try opening and saving without changing. ...
    (comp.lang.python)
  • Re: SQL, merge fields, and other mysteries
    ... are actually opening the mail merge main document, ... > Alvarez.doc etc) it keeps displaying the dialogue box on ... > opening that asks if I want to run the SQL command. ...
    (microsoft.public.word.mailmerge.fields)
  • Vb Problem with non Modal screen
    ... non-modal form when modal form is displayed" ... opening of non modal screen from any modal screen. ... displayed after complete loading and displaying of the screen. ... the error is not repeating on all the machines where the ...
    (microsoft.public.vb.bugs)
  • Re: Using vbTab to create tsv files
    ... You could always do research and know whats going on and perhaps even tailor the output instead of being a dumb 'tard and releasing crap to a client without the slightest clue. ... Maybe its the UTF-BOM that is making you think that gibberish got ... opening the created file in Notepad and it was just displaying a few ... I've now tried opening it in Excel and that shows the text correctly. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: format title column in data sheet of charts
    ... > I am also displaying the data table for Graph. ... >> MS Access MVP ... Thought formaing that column as text in the data sheet ...
    (microsoft.public.access.reports)