Code: Select all
If(Not(EndsWith(First(Self.Attachments).Name, ".xlsx")) ,Notify("Only .xlsx files are allowed", NotificationType.Error); Reset(Self))
Change the extension to any you would like to use.
Code: Select all
If(Not(EndsWith(First(Self.Attachments).Name, ".xlsx")) ,Notify("Only .xlsx files are allowed", NotificationType.Error); Reset(Self))
Users browsing this forum: No registered users and 3 guests