View Single Post
  #11  
Old 22nd May 2017, 08:47
dadwarf dadwarf is offline
Junior Member
 
Join Date: May 2017
Posts: 5
dadwarf is on a distinguished road
Baan: i don't know yet - DB: i don't know yet - OS: i don't know yet
you're right. but i don't know how to list all fields, this works but "getstring" from what ?
Quote:
Query = "select ttadv422.* from ttadv422 where ttadv422._compnr = 0"
B_function = "olesql_parse(" & Chr(34) & Query & Chr(34) & ")"
BaanObj.ParseExecFunction "ottdllsql_query", B_function
query_id = BaanObj.ReturnValue

B_function = "olesql_fetch(" & query_id & ")"
BaanObj.ParseExecFunction "ottdllsql_query", B_function
Reply With Quote