Here is a simple script to list the references and whether they are RESTRICT
or CASCADE. The color setting is just a minor change to the "pen color"
attribute. Search the newsgroups for a posting by Rick Bell. He posted one
that would set the table color based on an extended attribute. You should
be able to go from there.
Mike Nicewarner [TeamSybase]
Sybase product enhancement requests:
"Bruce Lamb" <firstname.lastname@example.org> wrote in message
> I have not written any VP Script so any help you can give will be
> "Mike Nicewarner" <psyclo@nospam_datamodel.org> wrote in message
> > If you can handle a little VB Script writing, you can do it.
> > There are a few sample scripts to start with. What you will need to do
> > Spin through all of the references.
> > For each, if the type is on delete cascade, then set the color attribute
> > something special.
> > It really shouldn't be a lot of coding. If you need help, post back
> > and I'll see what I can do for you.
> > --
> > Mike Nicewarner [TeamSybase]
> > http://www.datamodel.org
> > mike@nospam!datamodel.org
> > Sybase product enhancement requests:
> > http://www.isug.com/cgi-bin/ISUG2/submit_enhancement
> > "Bruce Lamb" <email@example.com> wrote in message
> > news:3fb929e1@forums-1-dub...
> > > In PowerDesigner 9.5.2, is it possible to have all relationships in
> > PDM
> > > which have cascading deletes highlighted in a different color than the
> > > others. I'm hoping there is a way other than manually changing the
> > on
> > > each one.
> > >
> > >
begin 666 List References.zip