Search:

Type: Posts; User: avianmanagement

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,345

    Thanks Barry

    Thanks Barry
  2. Replies
    2
    Views
    1,345

    Old Datetime filed in VFP

    I have an VFP app that I am SLOWLY converting to Lianja.

    It uses a lot of datetime fields. I have a custom class for my datatime control in the VFP app which shows the date and time separately in...
  3. Hi Yvonne, OK thank you. I'll use the...

    Hi Yvonne,

    OK thank you. I'll use the DBC_onaferupdate one then and call other code from that depending on the table concerned

    Many thanks for the help

    Regards


    David
  4. Thank you. I'll play with this in my test app...

    Thank you.

    I'll play with this in my test app to get the hang of it.

    Do table onbeforeupdate and onafterupdate triggers would in a similar way, then I can code just at the table level rather...
  5. Hi Yvonne, Are there any sample apps in Linaja...

    Hi Yvonne,

    Are there any sample apps in Linaja that have this sort of thing so I can look at how it's done.

    Regards


    David
  6. Hi Yvonne, If I scatter in the...

    Hi Yvonne,

    If I scatter in the dbc_beofreupdate can the onafterupdate see and use that object as the check needs to happen only after the record is saved, since for some other reason it might fail...
  7. Hi Yvonne, Thank you, that is interesting to...

    Hi Yvonne,

    Thank you, that is interesting to know.

    Would the failure occur at the onbeofreupdate level?


    Regards

    David
  8. Thanks Hank, I'll taker a look at these.

    Thanks Hank,

    I'll taker a look at these.
  9. Hi Yvonne, I assume that the json old data is...

    Hi Yvonne,

    I assume that the json old data is the value when the client app pulled the record, rather than the actual records on the server at the time the check is made?

    Let's say we have an...
  10. Replies
    2
    Views
    1,351

    Thanks Hank I'll take a look at that

    Thanks Hank I'll take a look at that
  11. Is there any advantage to using DBC_BEFOREUPDATE...

    Is there any advantage to using DBC_BEFOREUPDATE as opposed to table triggers of onbeforeupdate

    I assume both run on the server.

    In web apps if I scatter the name record to a named object is...
  12. Thanks Barry, I'll use the isServer() and have...

    Thanks Barry,

    I'll use the isServer() and have two sets of code then to determine the values to run as triggers on the server
  13. Hi Yvonne, Thank you for that. I was...

    Hi Yvonne,

    Thank you for that.

    I was thinking of table triggers I think.

    Using scatter I think I woudl need to determine if I am in desktop of web.

    My thinking on using the...
  14. Replies
    2
    Views
    1,351

    Code snippet equivalent for JS file

    In my Lianja / vfp prgs I've been using a code snippet to put a header at the top of each prg with things such as copyright, name or prg date created etc

    I simply did this using a code snippet...
  15. Thanks Yvonne, Yes I was going to have a prg...

    Thanks Yvonne,
    Yes I was going to have a prg called onafterupdate_degg and set that at the database level

    I want to use this for both web and desktop however.

    Some of my users will be only too...
  16. What is the best way in Lianja to check changes to column after update

    I have two columns on a table which are datatime

    After the user makes changes and saves the record I need to check if the value of these now have an entries, or the entries have changed form...
  17. Replies
    2
    Views
    1,233

    Thank you. I'll create a master on in the...

    Thank you.

    I'll create a master on in the library file.

    Regards


    David
  18. Replies
    2
    Views
    1,233

    exports.conf file

    The documentation states:

    "in the exports.conf file which can reside in the app and/or the library directory."

    I have a aims folder in my thirdparty libs folder

    When I create a new app...
  19. Replies
    9
    Views
    2,484

    Thanks Barry

    Thanks Barry
  20. Replies
    9
    Views
    2,484

    If I deploy and run the web app it works. Run...

    If I deploy and run the web app it works.
    Run desktop app view version ( using the arrow button on top right ) then it does not
  21. Replies
    9
    Views
    2,484

    So that I'm testing this clean New database one...

    So that I'm testing this clean
    New database
    one table
    New app page, javascript language
    Page with canvas section
    textbox on canvas from chr column in table

    Open assistant
    set visiblewhen...
  22. Thanks that looks really useful, quick and easy...

    Thanks that looks really useful, quick and easy to use without having to rename things

    David
  23. Hi Barry, it is listed but for any examples it...

    Hi Barry,

    it is listed but for any examples it refers back to

    Working with the Lianja Object Model

    Lianja.getElementByControlsource()

    I assume as it says
  24. Hi Barry I could only find...

    Hi Barry

    I could only find Lianja.getElementByControlSource() in the documentation online.

    Is this something you might consider if I put and ER ticket in ?
  25. Thanks Barry Yes it would be MUCH quicker and...

    Thanks Barry

    Yes it would be MUCH quicker and far easier to be able to do it in the assistant, but in the assistant I can only copy the name there does not seem to be any way to change the name.
    ...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
Journey into the Cloud
Join us