rahul.kolhe22
12th May 2008, 11:15
Hi all,
I have created the maintain type of multiocc session. When I try to create the new record I need all the fields to be set blank. I have tried to do it in program section in before.new.object section. I made all the fields blank. But when I tab out from that field they take the value of the previous record. This problem I tried to solve using the form field instead of table field. Can any one please tell me how can I do it using the table fields, beccause it will force me to take all the fields as form fields and then programatically assign them the value from the table

kbabu1
12th May 2008, 15:49
try emptiying the fields in the 'field.all' main section and 'before.field' sub section (when choice is 'add.set'), apart from emptying fields in before.new.object section.

eg:
field.all:
before.field:
dal.set.field(fattr.currfld$, "")

NPRao
12th May 2008, 19:38
You can also use the predefined variable:

string attr.deflt$(100) 4R Default value of current field.