Hi, I want to use a type as an enum and I don't want to set the value of each string of that type since the fieldname IS what the string value will be. How to do it with Reflector or JavaObject ?
Dim r As Reflector
r.Target = BiomeType
r.Target = r.RunMethod("getClass")
i make function to get value of any field ::
Sub function(sqlite As SQL,book As String,accode As String,return_field) As String
Return sqlite.ExecQuerySingleResult2("select '" & return_field & "' from GL where FBOOK = ? and FACCODE = ?", _