Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FieldBeingValidated()
Message
From
20/06/2002 13:18:10
 
 
To
20/06/2002 03:26:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00669872
Message ID:
00670720
Views:
14
Hi Macer,

>ALTER TABLE myTable
> ALTER COLUMN myColumn SET CHECK Field_Valid(myColumn)
Thanks,
I'm now checking out dbc_AfterModifyTable() to do just what you suggested.


>Personally, I don't favour this approach as I like to separate business logic out of the database. This makes it easier to port your application onto other databases etc.

I don't understand this. How can you separate business logic away from the database? By definition the database is a business entity. It seems to me that by keeping the business logic with the database and excluded from any app, you can use several different apps with the same database.
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform