The default value is written in the table only when you commit the change to the table via TableUpdate(), by moving the pointer or by closing the view.
>I have a field (field_test) in a table (table_test) that has a Default Value of "J". When I append a blank record to table_test, the value of field_test is (as expected) "J". I'm working with views (view_test) and when I append a record to view_test, that is based on table_test, field_test is empty. Is this an expected behaviour or I'm doing something wrong ?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement