Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Access

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-11-2008, 08:57 PM
=?Utf-8?B?U2hhcmtieXRl?=
 
Posts: n/a
Performance Problem

I am in the process of moving a db from one development machine to another.
The db operates as a front-end for a SQL Server db.

When I went to test the application I experienced serious performance
problems. I have several forms that are taking up to 10 seconds to populate
data, where originally they required less than 1 second.

In tracing the problem out it seems that it is occurring when I am
populating fields in one form with data from another.

Example: [forms]![Form1]![text1] = [forms]![subfrmForm1]![text1]

DLOOKUP also seems to be affected.

As a test, I built a quick pair of forms using DLOOKUP to populate 5 fields,
and everything performed as expected. So I'm thining this may be isolated to
the imported file and not all db work. But I don't want to have to rebuild
the entire db, for obvious reasons. I would say my next step is to build a
fresh db file, and import the forms, to see if that clears it up.

Does anyone have any ideas about this? I've never seen something like this,
before, and any other ideas are greatly appreciated!


Reply With Quote
  #2 (permalink)  
Old 08-12-2008, 05:51 AM
Bob Larson
 
Posts: n/a
Re: Performance Problem

I've heard that if you open a hidden bound form bound to a linked table, it
will keep the connection open instead of autoclosing. You can try that
instead. Also, while it may still resolve, you should use the correct code
for referring to subforms:
Forms!Form1.Text1 =
Forms!YourFormWithSubform.YourSubformContainer.For m.Text1

See here for more about subforms and what the .Form. has to do with things:

http://www.btabdevelopment.com/main/...6/Default.aspx

--

Thanks,

Bob Larson
Access MVP
Administrator, Access World Forums
Utter Access VIP

Free Access Tutorials and Resources: http://www.btabdevelopment.com




"Sharkbyte" <sharkbyte1@hotmail.com-> wrote in message
news:6A739DF9-2125-42F9-82F0-4D9CF7278634@microsoft.com...
>I am in the process of moving a db from one development machine to another.
> The db operates as a front-end for a SQL Server db.
>
> When I went to test the application I experienced serious performance
> problems. I have several forms that are taking up to 10 seconds to
> populate
> data, where originally they required less than 1 second.
>
> In tracing the problem out it seems that it is occurring when I am
> populating fields in one form with data from another.
>
> Example: [forms]![Form1]![text1] = [forms]![subfrmForm1]![text1]
>
> DLOOKUP also seems to be affected.
>
> As a test, I built a quick pair of forms using DLOOKUP to populate 5
> fields,
> and everything performed as expected. So I'm thining this may be isolated
> to
> the imported file and not all db work. But I don't want to have to
> rebuild
> the entire db, for obvious reasons. I would say my next step is to build
> a
> fresh db file, and import the forms, to see if that clears it up.
>
> Does anyone have any ideas about this? I've never seen something like
> this,
> before, and any other ideas are greatly appreciated!
>
>


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Access


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:44 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Mortgage | Online Advertising | Credit Cards | Carcasherdotcom Seocontest | Perfume



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114