Iryna Mykhailova 路 Oct 11, 2024 go to post

Thank you for this suggestion.

PS. Being fluent in Russian won't help in this case, because the interface is in Ukrainian 馃榿

Iryna Mykhailova 路 Sep 3, 2024 go to post

Congratulations to the winner! This was an interesting experience 馃榿 I hope we will get more sweepstakes like this!

Iryna Mykhailova 路 Jul 23, 2024 go to post

Thanks a lot for the quick feedback! Now I will know what to do if something goes awry 馃槈

Iryna Mykhailova 路 Mar 23, 2024 go to post

I'm not sure there is a ReplaceStr or Strip functions in ObjectScript. But $replace should work if you need to get rid of "\T\":

USER>write $replace("AIS|1||COLO \T\ EGD^COLONOSCOPY \T\ EGD|||||||Can||", "\T\", "")
AIS|1||COLO  EGD^COLONOSCOPY  EGD|||||||Can||
Iryna Mykhailova 路 Mar 23, 2024 go to post

First of all, there are no links to docs you've tried in your post. If you add them (or the code from them) it will be easier to understand what you've already tried.

In general, I believe the easiest way to insert data in your case will be to use SQL. You can either write something like 

insert into JASON.BikeDB (Make, Model) values (:make, :model)

and pass the values of parameters.

Or if you wish to use your class method, you will first need to add a modifier SqlProc to it:

ClassMethod SaveNew(Make As %String, Model As %String) [SqlProc]
{
    Set obj=##class(JASON.BikeDB).%New()
    Set obj.Make=Make
    Set obj.Model=Model
    Set sve=obj.%Save()
}

and then call this as a stored procedure:

begin
   JASON.DataBase.SaveNew(:make, :model);
end;
Iryna Mykhailova 路 Mar 21, 2024 go to post

I feel like I have to pass more courses on the Learning Services to get more badges now 馃榿

Iryna Mykhailova 路 Mar 21, 2024 go to post

Can't even log in there - I get asked for a login and password in a loop 馃槶馃ぃ It doesn't seem to work for the Developer Community moderators' accounts.