冗余 [英] Redundancy

查看:113
本文介绍了冗余的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我准备编写一个小实用程序,它将在ADP及其SQL数据库中识别多余的

对象。


假设我的代码找到两个对象,A和B,仅指每个

其他,即每个从另一个调用函数,打开另一个或

使用另一个的属性,等等, 只要。假设一个B不是菜单

项目,那么A和B对于

应用程序是多余的并且可以安全删除吗?

I am preparing to write a small utility which will identify redundant
objects in an ADP and its SQL db.

Suppose my code finds two objects, A and B, which refer only to each
other, that is each calls a function from the other, opens the other or
uses a property of the other, etc, only. Assuming A an B are not menu
items, is it necessarily true that A and B are redundant to the
application and can be removed safely?

推荐答案

2004年5月27日星期四10:12:38 -0400,Lyle Fairfield

< ly ******** ***@netscape.net>写道:
On Thu, 27 May 2004 10:12:38 -0400, Lyle Fairfield
<ly***********@netscape.net> wrote:
我正在准备编写一个小工具,它将识别ADP及其SQL数据库中的冗余
对象。

假设我的代码找到两个对象A和B,它们仅指每个对象,即每个对象从另一个对象调用一个函数,打开另一个对象或仅使用另一个对象的属性等。假设一个B不是菜单项,是否A和B对于
应用程序是多余的并且可以安全删除?
I am preparing to write a small utility which will identify redundant
objects in an ADP and its SQL db.

Suppose my code finds two objects, A and B, which refer only to each
other, that is each calls a function from the other, opens the other or
uses a property of the other, etc, only. Assuming A an B are not menu
items, is it necessarily true that A and B are redundant to the
application and can be removed safely?




在我看来,是的,如果你成功使用

小,请告诉我。效用。你想要做的事实上可能不是100%

可能,因为在这样的应用程序中有这么多东西可以间接地被称为




可以使用Eval,Run等运行一个函数,并且可以使用CallByName运行类方法

,当然,它还有更多所以引用表单,

报告,控件名称以及SQL端的任何内容通常都是通过文本引用的。


我知道这不是你的新信息,只是想知道你是否考虑过这一切。



In my opinion, yes, and let me know if/when you are successful with your
"small" utility. What you''re trying to do might actually not be 100%
possible, given that so many things in such an application can be referred to
indirectly.

One can run a function using Eval, Run, etc., and one can run a class method
using CallByName, and of course, it''s even more so with references to form,
report, and control names, and anything on the SQL Side which are often
referenced via text.

I know this is not new info to you, just wondering if you considered all that.




" Lyle Fairfield" < LY *********** @ netscape.net>在留言中写道

新闻:2h ************ @ uni-berlin.de ...

"Lyle Fairfield" <ly***********@netscape.net> wrote in message
news:2h************@uni-berlin.de...
我准备写一个小的实用程序将识别ADP及其SQL数据库中的冗余对象。

假设我的代码找到两个对象A和B,它们仅指每个对象,即每个调用另一个函数,打开另一个或仅使用另一个的属性等。假设一个B不是菜单项,是否A和B对于
应用程序是多余的并且可以安全删除?
I am preparing to write a small utility which will identify redundant
objects in an ADP and its SQL db.

Suppose my code finds two objects, A and B, which refer only to each
other, that is each calls a function from the other, opens the other or
uses a property of the other, etc, only. Assuming A an B are not menu
items, is it necessarily true that A and B are redundant to the
application and can be removed safely?



参见亚里士多德''的先前分析,'第1册,第13章,初步

关于特遣队的讨论。


See Aristotle''s "Prior Analytics," Book 1, Chapter 13, "Preliminary
Discussion of the Contingent."


我没有机会使用它(因为我的光荣雇主仍然是使用A97的
),但是A2003有一个依赖对象功能,

似乎可以做你正在谈论的事情。


这是'A2K3之旅的链接和描述:
http://www.microsoft.com/office/acce...on122121120120


任意开发者有经验吗?我也有兴趣知道

(因为我们今年晚些时候正在进行升级)。


谢谢,

Anthony。


Lyle Fairfield< ly *********** @ netscape.net>在消息新闻中写道:< 2h ************ @ uni-berlin.de> ...
I haven''t had a chance to use it (since my Glorious Employers are
still using A97), but A2003 has a Dependant Objects feature which
appears to do what you''re talking about.

Here''s the link on the A2K3 tour and a description:
http://www.microsoft.com/office/acce...on122121120120

Any devs have any experience with it? I''d be interested to know too
(since SUPPOSEDLY we''re beging upgraded later on this year).

Thanks,
Anthony.

Lyle Fairfield <ly***********@netscape.net> wrote in message news:<2h************@uni-berlin.de>...
我准备写一个小实用程序来识别冗余
ADP中的对象及其SQL数据库。

假设我的代码找到两个对象A和B,它们只引用每个对象,每个对象都调用一个函数另一方,打开另一方或
仅使用另一方的财产等。假设一个B不是菜单项,是否A和B对于
应用程序是多余的并且可以安全删除?
I am preparing to write a small utility which will identify redundant
objects in an ADP and its SQL db.

Suppose my code finds two objects, A and B, which refer only to each
other, that is each calls a function from the other, opens the other or
uses a property of the other, etc, only. Assuming A an B are not menu
items, is it necessarily true that A and B are redundant to the
application and can be removed safely?



这篇关于冗余的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆