Skip to content

Blog of Sem

Unutmamak için notladıklarım

  • Ana Sayfa
  • Tum Yazılar

Tag: custom form

LOD CUSTOM FORMA CUSTOM TABLEDAN UPDATE İŞLEMİ

On April 7, 2021April 7, 2021 By semt20In LOD, LOGO ERP, TOOLSLeave a comment

Not: Custom tableda tek row olacaktır db kullanıcı bilgilerini tutacaktır. Dolayısıyla Insert işlemi olmayacaktır.Sadece update olacaktır

.

Sub ButtonClick(ctrl as String)
     if ctrl="B_SAVE" then
      DbErr=0
      CustTables[4].Search(2,2,1)'tek row olacağı için sondaki 1 olmalı ilk logref yani
       if DbErr<>0 Then
        CustTables[4].NewRecord() 
       End if 
      GetTextVal("T_SERVER",T_SERVER)
      GetTextVal("T_DB",T_DB)
      GetTextVal("T_SQL",T_SQL)
      GetTextVal("T_PAROLA",T_PAROLA)
      CustTables[4].SetTxtField("SERVER", T_SERVER)
      CustTables[4].SetTxtField("DB", T_DB)
      CustTables[4].SetTxtField("USERNAME", T_SQL)
      CustTables[4].SetTxtField("PASSWORD", T_PAROLA)
      DbErr=0
      CustTables[4].UpdateRecord()
       if DBErr<>0 then
        Warn(DBErr)
       end if
      CloseForm()   
     end if
End Sub 
Sub FormShow()
         DbErr=0
         CustTables[4].Search(2,2,1)'tek row olacağı için sondaki 1 olmalı ilk logref yani
         if DbErr=0 Then
            CustTables[4].GetTxtField("SERVER",T_SERVER)
            CustTables[4].GetTxtField("DB",T_DB)
            CustTables[4].GetTxtField("USERNAME",T_SQL)
            CustTables[4].GetTxtField("PASSWORD",T_PAROLA) 
         end if
         SetTextVal("T_SERVER",T_SERVER)
         SetTextVal("T_DB",T_DB)
         SetTextVal("T_SQL",T_SQL)
         SetTextVal("T_PAROLA",T_PAROLA)
End Sub

Bu blogu takip etmek ve yeni gönderilerle ilgili bildirimleri e-postayla almak için e-posta adresinizi girin.

Join 45 other subscribers

Kategoriler

  • .NET CORE (3)
  • ADOBE FLASH (9)
  • android (13)
  • BACKUP (5)
  • bordro (3)
  • C SHARP (84)
  • cmd (1)
  • DELPHI (16)
  • Devexpress (38)
  • EXCEL (23)
  • FREQTRADE (1)
  • git (5)
  • INSAN KAYNAKLARI (1)
  • JHR (1)
  • LINUX (3)
  • LOD (10)
  • LOGO ERP (163)
  • LOGO OBJECTS (71)
  • MAIL (5)
  • MOBILESALES (4)
  • mui (1)
  • NAVIGATOR SMART (2)
  • nextjs (2)
  • nopcommerce (4)
  • ORACLE (2)
  • pdks (2)
  • photoshop (1)
  • POWER BI (1)
  • Python (6)
  • reactjs (2)
  • SECURITY (4)
  • sentez (18)
  • seo (4)
  • Sql (151)
  • supabase (1)
  • TIGER HR (2)
  • TOOLS (84)
  • TRADING (1)
  • typescript (2)
  • VISUAL BASIC (7)
  • visual studio (43)
  • web (23)
  • wince (3)
  • wordpress (8)
  • xaf (3)

  • 121,623 Görüntüleme
  • Subscribe Subscribed
    • Blog of Sem
    • Join 45 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Blog of Sem
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...