I'm having trouble accessing data in a .Net DataSet from VisualAPL. I can't seem to find any documentation on this in the Help file. Was this covered in the video tutorials? Are they still available?
I keep getting Index Out of Range errors when I try things like:
Object Var1;
Object Var2 = new Object()
String VarString = ""
String VarString2 = String.Empty
Var1 (assign) myds.Tables[0].Rows[0].ItemArray[0]
Var1 = myds.Tables[0].Rows[0].ItemArray[0]
Var2 (same lines)
VarString = myds.Tables[0].Rows[0].ItemArray[0].ToString()
VarString (assign) myds.Tables[0].Rows[0].ItemArray[0].ToString()
As a workaround, I'm converting the dataset to a 2D object, which I can reference from VisualAPL, but this situation isn't ideal.
Any help on this would be appreciated.
Thanks. Chris.
P.S. Is anyone using VisualAPL? I'm starting to. I'm looking forward to it. I've had some early successes, but also, as this points out, some challenges. I'm wondering what sort of community there is using VisualAPL.