how can we get file name in field by selection

Discussion in 'Requests' started by Soni HK, Aug 16, 2025.

Tags:
  1. Soni HK

    Soni HK New Member


    How will the name of file
    appear in yellow field,
    when we click on browse button
    and select a file from the opened window ?

    image and code attached.

    please give any suggestion.
    Code:
    ;; ye code hai.
    
    
    [#Menu: gateway of tally]
    Add:Item:hk:Display:kk
    [Report:kk]
    [Form:kk]
    Part:kk
    Bottom Part: asd
    
    Height:50% screen
    Width: 50% screen
    
    [Part:kk]
    Line:jk, line2
    [Line:jk]
      Field:simple prompt, hjk
      Local:Field:simple prompt:Info:"Path"
     
      [Field:hjk]
       Use:name field
       Set as:"C:\Users\STM\Desktop\hk23\"
       Full Width:Yes
      
    [Line:line2]
      Field:abc
      [Field:abc]
       Use:name field
       Set as:""
       Background:yellow
      
    [Part:asd]
    Button:hk123
    [Button:hk123]
      Title:"Browse"
      Key:alt + b ; left click
      Action:Browse Url:#hjk
    
    image3.jpg
     


Share This Page