-
What does DEFAULT mean in the context of a field definition?
One of the things I liked when I started digging into Lianja was the ability to assign a default value to a field. I assumed this would mean that on adding a new record, its values would be pre-populated with default values where they existed.
As I have thousands of instances where I waste time assigning things like the current datetime and username to newly added records, I imagined I was about to streamline development by being able to have such data automatically inserted into new records without me having to code it.
Not so?
With the datetime field I added, I made the default value DATETIME(), assuming that this would call the standard VFP function of that name. That failed, so what should I have written? Or am I completely misinterpreting the Lianja notion of Default?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks