Page 5 of 5 FirstFirst ... 345
Results 41 to 50 of 50

Thread: Time Clock

  1. #41
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,842
    Hi Glen,

    The delegate procedures are referenced in the UI element attributes, so you need to remove the procedure name from e.g. page1.section1 Attributes -> Delegates -> Ready.

    Alternatively, comment out the code within the procedures but leave the proc ... and endproc.

    Regards,

    Yvonne

  2. #42
    Hello again.
    I have all the code cleaned up and i am ready to Deploy. i want to make this project run on several pc's one of which is connected over a vpn. i will need to have the remote pc be able to access all the files thru the vpn. is there anything special i need to do in the deployment process ? I have a synology nas that the app will run on (Drive J. i also want to have the progran in a small window in the bottom right of each pc screen. (VFP Desktop form)

    Thanks again

  3. #43
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,185
    Hi,

    You seem to be saying that a VFP Desktop Form will access the Lianja app. I am puzzled.

    Hank

  4. #44
    Hi HAnk
    Not at all. i have the timeclock program written in VFP. I just would like to have this Lianja "TimeClock" program to behave and look similar to what we are currently using. I am using virtual tables so i can run Lianja alongside VFP while i develop and replace the exisitng VFP code with Lianja.
    Thank you.
    Glen

  5. #45
    Lianja MVP
    Join Date
    Feb 2012
    Location
    Berea, KY, USA
    Posts
    2,185
    HI Glen,

    So at this point you won't be using a Lianja app, just using the Lianja tables?

    If you wanted to access the Lianja App from VFP that could be done -- with webservice calls to a Lianja Cloud server.

    A related point: VPN access. Moving data over a VPN, assuming an internet connection is on the other side of the VPN, may work with VFP (if you do a SEEK -- I've done an internet connection in VFP that way for one special case in the early "oughts") but is likely to be problematic in any other scenario. Another reason to go with a webservice.

    Hank
    Last edited by HankFay; 2023-10-14 at 13:33.

  6. #46
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Any TabView section containing canvas sections or WebView sections can in fact be generated as a standalone form which can be run from a desktop shortcut or an executable generated.

    See this blog article:
    https://www.lianja.com/community/ent...orms-in-Lianja
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  7. #47
    Hello
    I ran into this issue on the timeclock program and don't know the answer. I am trying to write data to the VT_PayPunch.dbf virtual table which does work sometimes and gives me this error other times.
    if eof([PP]) // No Available data to copy
    Lpa(1)=iif(m_location2=m_location,m_location,m_loc ation2)
    Lpa(2)=sqlLookup("Butchery!VT_Employee","Badge","' "+fields(5).text+"'","Empid","''")
    Lpa(3)=m_badge
    Lpa(4)=Datetime()
    Lpa(5)=cpt // Fields(8).Text
    Else
    Lpa(1)=PP.Compid
    Lpa(2)=PP.Empid
    Lpa(3)=PP.Badge
    Lpa(4)=Datetime()
    Lpa(5)=cpt // Fields(8).Text
    Endif
    Insert into Vt_PayPunch (compid,empid,badge,Datetime,Type) Values (Lpa(1),Lpa(2),Lpa(3),Lpa(4),Lpa(5))

    "Error File 'PayPaynch.dbf doest not exist." shows up in the troubleshooter. Then the Lianja program shuts down.

  8. #48
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,842
    Hi Glen,

    Is this error message correct, or is that a typo in the forum post:

    Code:
    "Error File 'PayPaynch.dbf doest not exist."
    Is the basetable of vt_paypunch set to
    Code:
    paypunch
    If it is just a typo, try running with
    Code:
    set debug on
    and check the debug log files.

    Regards,

    Yvonne

  9. #49
    Hi Yvonne

    We are planning on moving forward with Lianja for our VFP conversion/Update. Can Lianja handle serial communications ? We are using Comm Tools with VFP now to handle serial communications.

    Thank you for your time.

  10. #50
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Hi Glen,

    Lianja on windows handles activex controls so you will be able to continue to use MSCOMCTL

    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us