locked
Add Values to a Table using Javascript in the Lightswitch HTML Client RRS feed

  • Question

  •  Hi Guys,

    i Need to execute a Stored Procedure from a Lightswitch HTML Applikation.

    I don´t know much about Ria Services, so i used the other way and created a Table which acts like a queue containing the Parameters of my Stored Procedure.  On the Inserting Trigger i call my Stored Procedure. This works fine.

    But how can i implement it in my AddEdit Screen? I have a Screen with two Values. Personalnr. and credit.

    Now i would like to have a Button and when the Button is pressed the Personalnr. and credit are written into my dummy table which will execute my Stored Procedure.

    When i click on "Edit Execute Code" from the Button this appear:

    myapp.Anteile_anzeigen.QuellensteuerSchreiben_execute = function (screen) {
        
    };

    Now i have to code it in Javascript, but i don´t know how...

    The Table is under DataSources / ApplicationData and named InsertQuellensteuerOperation

    Thanks a lot for your help,

    Ruediger

    Wednesday, April 16, 2014 2:25 PM

Answers

All replies