473,837 Members | 1,648 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Are Access Forms Polymorphic?

In response to different users or situations (data context) I
transform the appearance and characteristics of Access Forms through
code. This seems to fit in with the idea of polymorphism. Do people
consider Access Forms to be Polymorphic?

James A. Fortune
Nov 12 '05 #1
7 1369
James Fortune wrote:
In response to different users or situations (data context) I
transform the appearance and characteristics of Access Forms through
code. This seems to fit in with the idea of polymorphism. Do people
consider Access Forms to be Polymorphic?

James A. Fortune


They can morph yes, but then so can just about anything that has a
programming language behind it.

--
Error reading sig - A)bort R)etry I)nfluence with large hammer
Nov 12 '05 #2

"James Fortune" wrote
In response to different users or
situations (data context) I
transform the appearance and
characteristics of Access Forms
through code. This seems to fit in
with the idea of polymorphism. Do
people consider Access Forms to
be Polymorphic?


Hmm. From your description, perhaps "Polychroma tic" would be a better
description. However, somehow I don't think that is what is meant by
"polymorphi sm".

Larry Linson
Microsoft Access MVP
Nov 12 '05 #3
"Larry Linson" <bo*****@localh ost.not> wrote in news:IdFjc.9191 3$L31.20613
@nwrddc01.gnili nk.net:
Hmm. From your description, perhaps "Polychroma tic" would be a better
description. However, somehow I don't think that is what is meant by
"polymorphi sm".


Polymorphism means Muchly Dead. In the Access world the term refers to DAO!

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #4
"Lyle Fairfield" wrote
Hmm. From your description, perhaps
"Polychroma tic" would be a better
description. However, somehow I don't
think that is what is meant by
"polymorphi sm".


Polymorphism means Muchly Dead. In the
Access world the term refers to DAO!


Ah, and sad that would be, if true, for anyone wantin' to use Jet to store a
little data.
Nov 12 '05 #5
"In object-oriented programming, the term is used to describe a variable
that may refer to objects whose class is not known at compile time and which
respond at run time according to the actual class of the object to which
they refer. " (http://wombat.doc.ic.ac.uk/foldoc/fo...gi?polymorphic)

Variables of type Access.Form are polymorphic: They may refer to any form
class, and respond at run-time according the actual class of the object to
which they refer. Variables of type Object are even more polymorphic: they
can refer to any object class.

The word polymorphic is derived from the idea 'many structures'. An Access
form can change structures: it may be in Form or Datasheet mode, so it is
polymorphic (bimorphic???) in a general sense. But since it is an Object,
not a Variable or Function, it would not, in it self, mean that Access or
VBA 'supported polymorphism'.

Changing the appearance and characteristics of an object is not the same as
changing the structure, so it would not generally be called polymorphism. In
fantasy terms, Shape-changing or death is morphing: changing the appearance
and characteristics is just Glamour.

(david)

"James Fortune" <ja******@oakla nd.edu> wrote in message
news:a6******** *************** ***@posting.goo gle.com...
In response to different users or situations (data context) I
transform the appearance and characteristics of Access Forms through
code. This seems to fit in with the idea of polymorphism. Do people
consider Access Forms to be Polymorphic?

James A. Fortune

Nov 12 '05 #6
On Wed, 28 Apr 2004 14:02:42 +1000, "david epsom dot com dot au"
<david@epsomdot comdotau> wrote:

You call an Access form "bi" ! You want a piece of me?

-Tom.
"In object-oriented programming, the term is used to describe a variable
that may refer to objects whose class is not known at compile time and which
respond at run time according to the actual class of the object to which
they refer. " (http://wombat.doc.ic.ac.uk/foldoc/fo...gi?polymorphic)

Variables of type Access.Form are polymorphic: They may refer to any form
class, and respond at run-time according the actual class of the object to
which they refer. Variables of type Object are even more polymorphic: they
can refer to any object class.

The word polymorphic is derived from the idea 'many structures'. An Access
form can change structures: it may be in Form or Datasheet mode, so it is
polymorphic (bimorphic???) in a general sense. But since it is an Object,
not a Variable or Function, it would not, in it self, mean that Access or
VBA 'supported polymorphism'.

Changing the appearance and characteristics of an object is not the same as
changing the structure, so it would not generally be called polymorphism. In
fantasy terms, Shape-changing or death is morphing: changing the appearance
and characteristics is just Glamour.

(david)

"James Fortune" <ja******@oakla nd.edu> wrote in message
news:a6******* *************** ****@posting.go ogle.com...
In response to different users or situations (data context) I
transform the appearance and characteristics of Access Forms through
code. This seems to fit in with the idea of polymorphism. Do people
consider Access Forms to be Polymorphic?

James A. Fortune


Nov 12 '05 #7
Tom van Stiphout wrote:
On Wed, 28 Apr 2004 14:02:42 +1000, "david epsom dot com dot au"
<david@epsomdot comdotau> wrote:

You call an Access form "bi" ! You want a piece of me?


Oi, this Dowe Egbert's coffee is expensive, stop trying to make me lose
it on my keyboard :-)

--
Error reading sig - A)bort R)etry I)nfluence with large hammer
Nov 12 '05 #8

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

Similar topics

4
27622
by: Maurice Termeer | last post by:
Hi, suppose i've got this: class a { public: int n; }; class b : public a { public: };
3
12279
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in nonblocking mode in c++? I did something ugly like --- c/c++ mixture --- mkfifo( "testpipe", 777);
20
2236
by: verec | last post by:
One problem I've come accross in designing a specific version of auto_ptr is that I have to disntiguish between "polymorphic" arguments and "plain" ones, because the template has to, internally, cast to void *. Specifically, template <typename T> void f(T * t) { void * p = dynamic_cast<void *>(t) ; } will not compile if T isn't of a class that has somewhere at least
1
2266
by: verec | last post by:
Last week I asked here how I could detect that a T was polymorphic, and received very thoughtful and useful replies that I used straight away. Thanks to all who answered. This week, it turns out that detecting whether T is polymorphic clashes with a new requirement, that T be allowed to not be complete. Last week, this code used to compile:
7
3917
by: Mr. Ed | last post by:
I have a base class which has about 150 derived classes. Most of the derived classes are very similar, and many don't change the base class at all. All the derived classes have a unique factory method which returns a new object of the derived type. The problem I've got is that I now need to polymorphically clone a derived class object, but I don't want to write a separate 'clone' method for each of these 150 classes. Instead, I thought I...
7
2083
by: James Fortune | last post by:
In response to different users or situations (data context) I transform the appearance and characteristics of Access Forms through code. This seems to fit in with the idea of polymorphism. Do people consider Access Forms to be Polymorphic? James A. Fortune
5
1881
by: Laban | last post by:
Hi, I am new to C# & .NET. I have a class A which contains a protected member M that I would like to access. If I derive my own class B from A, I can access M from within the class, and also expose it via a property. The problem is that an instance of B cannot be used where an instance of A is expected (unsafe cast), so it does not solve my problem. Of course I can write a soution that does not need access to M, but I am trying to...
12
1453
by: Bob | last post by:
Hi, 'Shadowed' properties are not polymorphic. (See thread 'Inheritance and late binding') They should be. Problem: Base class has read only property 'X'. Derived class must have read / write property 'X'. Can't override Base class 'X' because of different structure. So you Shadow the base class 'X' in the derived class. Pass an instance of the derived class to a function.
13
2851
by: dragoncoder | last post by:
Consider the following code #include <iostream> class Base { public: virtual void say() { std::cout << "Base" << std::endl; } }; class Derived: public base {
7
1625
by: Arindam | last post by:
#include <cstdio> struct Test { void bar() { foo(); } private: virtual void foo() { printf("Test\n"); }
0
9852
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10902
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10288
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9420
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7824
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7014
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4481
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4062
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3128
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.