andyjbrommel
Programmer
Goal: Identify all field/field attributes on any given Extra! screen and place into Excel.
Problem: I want to be able to distinguish where every field starts and ends and then identify what fields are protected vs unprotected etc... I can get the field attributes with the FieldAttribute property but I cannot for the life of me find anywhere on the internet that provides a way to decipher what each value means. The Extra! Help file states...
/For a complete discussion of how to interpret 3270 and 5250 field attribute values, see the "EXTRA! Developer Series API SDK – Programmer’
s Guide"/
Problem is, I don't know that this guide actually exists as I have spent hours trying to find something online. Is this actually available?
Here is my current code to pull the attributes...
This gives me 10 different values for attributes...
192
200
208
217
224
225
240
248
249
252
No idea what to do with them from there. Any ideas?
Problem: I want to be able to distinguish where every field starts and ends and then identify what fields are protected vs unprotected etc... I can get the field attributes with the FieldAttribute property but I cannot for the life of me find anywhere on the internet that provides a way to decipher what each value means. The Extra! Help file states...
/For a complete discussion of how to interpret 3270 and 5250 field attribute values, see the "EXTRA! Developer Series API SDK – Programmer’
s Guide"/
Problem is, I don't know that this guide actually exists as I have spent hours trying to find something online. Is this actually available?
Here is my current code to pull the attributes...
Code:
Sub GetFieldAtts()
ActivateAttachmate '*Custom Function In Excel
Application.ScreenUpdating = False
For i = 1 To MyScreen.Rows
For a = 1 To MyScreen.Cols
vAtt = MyScreen.FieldAttribute(i, a)
Worksheets("Test").Cells(i, a).Value = vAtt
Next
Next
Application.ScreenUpdating = True
End Sub
This gives me 10 different values for attributes...
192
200
208
217
224
225
240
248
249
252
No idea what to do with them from there. Any ideas?