Michael Schmidt writes:
 > Can you create fields in a zope based database where you force 
 > the fields to accept e.g. only letters "M" or "W" or any other 
 > other combination of your choice?
What do you mean with a Zope based database?

If you mean an external database, look for the datatypes and
restrictions, they support for column values. SQL 3 may
give you some of what you want.

Whether internal or external, you can control what goes through
Zope to your database. You will probably need External Methods to
get the full Python power, see "python.org" for documentation
about Pythons vast library.
You will be especially interested in the "re" module.
It implements (Perl style) regular expressions.


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to