User bio
404 bio not found
Member since Feb 24, 2016
Posts:
Replies:
Stephen Walasavage · Sep 14, 2016 go to post

The code you supplied above doesn't compile correctly in Studio, so it looks like you can't read directly to a property of an object directly.  In your case, I would try something like this:

Set Name=##class(Example.Team1).%New()
read "Enter your name: ",nameinput
set Name.Name = nameinput
set status = Name.%Save()

There may be other ways of getting input into an object property, but this is one of the easiest.

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