Can you be more specific what you require here. I presume this is forms. Are you wanting to populate a non-base table field? Do you want sysdate to appear automatically when inserting a new record?
For the ID use a post-query trigger to copy one field to another:
:block.field2 := :block.field1;
For the sysdate put $$DATE$$ or $$DATETIME$$ in the default value property of a date or datetime field.
I would like to copy one id into another and then write the 2 fields into a db. The first id is a sequence and the other one is a copy of it.
I want that the date is automaticly inserted into the field.
I'm using webdb instead of forms, but I assumed that this works the same way.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.