05-11-2012 07:09 AM
Sorry I've competely forgotten VB syntax so here's it in C# pseudo-code:
Act.Framework.Database.FieldDescriptor myField = new Act.Framework.Database.FieldDescriptor(stringFieldName, RecordType, FieldDataType);
//apply field properties code...
11-26-2012 08:32 AM
Thanks for sharing this!
Have you got any code you can share that gets a list of the fields / attributes that exist?
11-28-2012 10:05 AM
Getting the FieldDescriptors collection should be fairly straight forward (via the Act.Framework.Database) you can then itterate through each FieldDexcriptor to get it's FieldDescriptorAttributeCollection. You can then itterate through that collection to list out each FieldProperty.
There maybe some syntactic errors above since I am doing that from memory, what I do remember though is that it is really tedious code.
11-29-2012 06:35 AM
I'll check it out - I poked around before and it didn't seem that obvious, but I think as long as I find the FieldDescriptors collection I should be able to work my way through it.