NetTalk Central

Author Topic: Do not save if browse empty  (Read 3415 times)

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Do not save if browse empty
« on: March 09, 2011, 10:20:16 AM »
NetTalk 4.56
Clarion 6.1

Browse on memory form.

If the user clicks on SAVE, and the Browse is empty, I want to alert the user and force them to have at least 1 record in the Browse.

Thanks,
Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Do not save if browse empty
« Reply #1 on: March 09, 2011, 02:43:43 PM »
Add your code in the Validate All embed. Obviously you just need to write some simple clarion stuff to validate if the browse is empty by looping through the file etc.

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Do not save if browse empty
« Reply #2 on: March 10, 2011, 06:47:50 AM »
Thank you!
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11