RE: Named Selections

2019-02-08 Thread Chip Scheide via 4D_Tech
Thanks,
I was hoping there was a an already existing command.

On Fri, 8 Feb 2019 13:31:05 -0600, David Ringsmuth wrote:
> Chip,
> 
> We did this same things with sets by using an On Err 
> Call(“Error_SetDoesNotExist”).
> 
> Write an On Err Call for Named Selections, and then use it, and test 
> the result of your call error handler.
> 
> Hth!
> 
> David Ringsmuth
> 
> From: Chip Scheide via 4D_Tech
> Sent: Friday, February 8, 2019 11:52 AM
> To: 4D iNug Technical
> Cc: Chip Scheide
> Subject: Named Selections
> 
> Is there a way to determine if a named selection exists?
> 
> something like this:
> 
> if (Not(Named Selection Exists("Selection_Name")))
>   Copy Named Selection([table];"Selection_Name")
> end if
> 
> Thanks
> Chip
> 
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
> 
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Named Selections

2019-02-08 Thread David Ringsmuth via 4D_Tech
Chip,

We did this same things with sets by using an On Err 
Call(“Error_SetDoesNotExist”).

Write an On Err Call for Named Selections, and then use it, and test the result 
of your call error handler.

Hth!

David Ringsmuth

From: Chip Scheide via 4D_Tech
Sent: Friday, February 8, 2019 11:52 AM
To: 4D iNug Technical
Cc: Chip Scheide
Subject: Named Selections

Is there a way to determine if a named selection exists?

something like this:

if (Not(Named Selection Exists("Selection_Name")))
  Copy Named Selection([table];"Selection_Name")
end if

Thanks
Chip

---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**