Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Syntax Error in SELECT FROM on Hana

$
0
0

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


Viewing all articles
Browse latest Browse all 9091

Trending Articles