dbTalk Databases Forums  

Application Design Advice

comp.databases.ms-access comp.databases.ms-access


Discuss Application Design Advice in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ralph
 
Posts: n/a

Default Application Design Advice - 10-07-2010 , 01:48 PM






All,

Thanks for all your helpful posts to this group. I wanted to ask your
design advice before I go too far down the wrong path...

I have a fairly extensive contact application in Access 2003, using a
tabbed interface and one or more subforms on each tab. Additional
related subsidiary information for each contact is displayed in popup
forms called by command buttons on the tabs/subforms.

What I want to do is create a display of some summary data that acts
as a sort of dashboard for the underlying info. I envision this being
a set of unbound controls indicating, for example, Yes, this person
has comments, or Total number of comments = 7 (giving the user some
key info, and what other data is available to drill-down on).

So, I figure I can do each as a Dlookup domain aggregate function, or,
create a series of small "group-by" queries, pull those results
together in a sort of "parent" query, and use that as the record
source for another subform? However, I am sure there may be a better
approach that I'm not aware of...do you have any suggestions for
what's the best way to do this with the least performance hit?

Thanks for any input.

Ralph

Reply With Quote
  #2  
Old   
Salad
 
Posts: n/a

Default Re: Application Design Advice - 10-08-2010 , 04:05 PM






Ralph wrote:

Quote:
All,

Thanks for all your helpful posts to this group. I wanted to ask your
design advice before I go too far down the wrong path...

I have a fairly extensive contact application in Access 2003, using a
tabbed interface and one or more subforms on each tab. Additional
related subsidiary information for each contact is displayed in popup
forms called by command buttons on the tabs/subforms.

What I want to do is create a display of some summary data that acts
as a sort of dashboard for the underlying info. I envision this being
a set of unbound controls indicating, for example, Yes, this person
has comments, or Total number of comments = 7 (giving the user some
key info, and what other data is available to drill-down on).

So, I figure I can do each as a Dlookup domain aggregate function, or,
create a series of small "group-by" queries, pull those results
together in a sort of "parent" query, and use that as the record
source for another subform? However, I am sure there may be a better
approach that I'm not aware of...do you have any suggestions for
what's the best way to do this with the least performance hit?

Thanks for any input.

Ralph
Totals (group by) queries will be faster than Dlookups.

Reply With Quote
  #3  
Old   
The Frog
 
Posts: n/a

Default Re: Application Design Advice - 10-11-2010 , 01:24 AM



Hi Ralf,

Just out of curiosity, what do you use for a table design? I would
have thought that using a fairly simply relational model you could
avoid all sort of lookup issues and just use joins - nice and quick.
If you have a subform that shows the 'lookup' (or better related data)
with a combobox or listbox listing the possible notes available
wouldnt that be quicker and also more intuitive? User selects an
option from the combo / listbox and the related record(s) are shown in
a textbox or whatever control is appropriate. I only ask because
DLOOKUP is hideously slow, and since it seems like you have a good
grasp of forms you could probably manage a subform with not much
hassle. Just a thought.

Cheers

The Frog

Reply With Quote
Reply




Thread Tools
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 On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.