first of all thank you very much for this wonderful piece of software.
My problem: in a new record form sometimes i need to overwrite the default value for several fields with an arbitrary content.
Let's say I have a table 'customers' with fields defined as
[field1]
Default = ""
[field2]
Default = ""
Under some circumstances I need something like this delegate class:
class tables_customers {
function block__before_new_record_form(){
if (*something happens*) {
the_value_of_field_customer_field1 = "abc";
the_value_of_field_customer_field2 = "xyz";
}
}
then show the form as usual, letting the user to change those values before saving the new record.
I can't figure out how to set those field values.
Thank you in advance for any suggestions.
Regards, Carlo