User bio
404 bio not found
Member since May 17, 2017
Posts:
Joao has not published any posts yet.
Replies:
Joao Ribeiro · Oct 14, 2020 go to post

you can use the class %RemoteResultSet to  insert from another namespace.

Example: 

 set rs=##class(%RemoteResultSet).%New()
 set rs.ConnectionString="localhost[1972]:NAMESPACE"
 Do rs.Prepare("insert into tablename (property1,property2 ) values (?,?) ")
 Do rs.Execute(var1,var2)
 Do rs.Close()
 

Certifications & Credly badges:
Joao has no Certifications & Credly badges yet.
Followers:
Joao has no followers yet.
Following:
Joao has not followed anybody yet.