AlHanson Posted February 8, 2023 Share Posted February 8, 2023 Is it possible to create a Record Format via script? I'm not seeing any commands related to this... 1 Quote Link to comment
Pat Stanford Posted February 8, 2023 Share Posted February 8, 2023 Look in the Database and Records section of the Vectorscript Function Reference. NewField adds a field to an existing record. If you pass a name for a Record that does not exist it will be created and the field added to it. Ask again if you need more help. 1 Quote Link to comment
MullinRJ Posted February 8, 2023 Share Posted February 8, 2023 1 hour ago, Pat Stanford said: NewField adds a field to an existing record. If you pass a name for a Record that does not exist it will be created and the field added to it. What @Pat Stanford said, and... You can use NewField() to update the default value of an existing field in a record format after it exists. This only affects the field value stored in the record format but not any field values in existing records already attached to objects. It will affect new records when they are attached to objects. HTH, Raymond 2 Quote Link to comment
DomC Posted February 8, 2023 Share Posted February 8, 2023 Maybe you also could recycle this marionette script. It will create a record from an external list of record fields. creating records from txt or xls. Also in the Marionette you could find the script commands you need for creating fields and record formats. 3 Quote Link to comment
AlHanson Posted February 8, 2023 Author Share Posted February 8, 2023 I thought it might function like this somewhere... why I didn't look at the NewField when digging around is beyond me. Thanks everybody! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.