Field with DIESEL expression does not update
Field with DIESEL expression does not update
(OP)
Basically I want a mtext field that is linked to a attribute in an object.
Easy enough, you just take Edit Field -> Objects -> Object and select the object and the attribute you want.
The field formula looked something like this: %<\AcObjProp Object(%<\_ObjId 2130252728>%).TextString>%
Then I realized I only want part of that attribute so I used a DIESEL expression looking like this: $(substr,Hi,2) and replaced the word "Hi" with the field code. The result looked like this: $(substr,%<\AcObjProp Object(%<\_ObjId 2130252728>%).TextString>%,4)
Problem is now the field doesn't update when typing REGEN and it doesn't update when typing UPDATEFIELD. Tried with booth FIELDEVAL=16 and FIELDEVAL=31.
If I doubleklick it, right click and choose Update Field it will update but if you have a large number of fields it's no fun to use three clicks on each to update them. The whole idea with fields is kind of lost...
Any ideas about this?
Easy enough, you just take Edit Field -> Objects -> Object and select the object and the attribute you want.
The field formula looked something like this: %<\AcObjProp Object(%<\_ObjId 2130252728>%).TextString>%
Then I realized I only want part of that attribute so I used a DIESEL expression looking like this: $(substr,Hi,2) and replaced the word "Hi" with the field code. The result looked like this: $(substr,%<\AcObjProp Object(%<\_ObjId 2130252728>%).TextString>%,4)
Problem is now the field doesn't update when typing REGEN and it doesn't update when typing UPDATEFIELD. Tried with booth FIELDEVAL=16 and FIELDEVAL=31.
If I doubleklick it, right click and choose Update Field it will update but if you have a large number of fields it's no fun to use three clicks on each to update them. The whole idea with fields is kind of lost...
Any ideas about this?





RE: Field with DIESEL expression does not update
RE: Field with DIESEL expression does not update
RE: Field with DIESEL expression does not update
CarlB: I assume that you mean "fields without diesel expressions". The answer is yes, fields without DIESEL expressions update on REGEN and when saving etc. (according to the FIELDEVAL variable I assume).
RE: Field with DIESEL expression does not update
RE: Field with DIESEL expression does not update