Hi guys,
I am new to B1 and I can't get data from a user defined table. (@MBB_S)
I get syntax error at the '@'
Does anybody know how to encode the string in VB to make it work?
I am running version 9.2 on Hana
My code is:
SqlStr = "SELECT U_MBB1 FROM @MBB_S"
oRecSet.DoQuery(SqlStr)
While Not oRecSet.EoF
Windows.Forms.MessageBox.Show("MBB1" & oRecSet.Fields.Item("MBB1").Value & _
"MBB2" & oRecSet.Fields.Item("MBB2").Value)
' Get the next record
oRecSet.MoveNext()
End While
Thanks,
Martin