Normal Topic Global Values list (Read 1764 times)
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Global Values list
Mar 12th, 2018 at 8:35pm
Print Post Print Post  
Is there anyway to get a list of the Global Values names? 

I know I can get a list of elements of a certain type, or meeting certain attributes, etc.  Would like to see some Global Values list and values at times without going into Designer.  I can make a list, and even make the list a Global Value, but then I need to remember to edit the list with changes.

Just using a button, sending them to a Slate would be OK.  It would be good to just loop through a list of names when I want to see them.

Thanks for listening.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: Global Values list
Reply #1 - Mar 12th, 2018 at 8:46pm
Print Post Print Post  
Look at the SBasic Command @IterateGlobalValues() and it's example. It can be found on Page 8 of the 2.5.3 Errata document or in the List Browser of the Programming Editor.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Global Values list
Reply #2 - Mar 12th, 2018 at 10:02pm
Print Post Print Post  
Thanks Ray.  I thought I saw it somewhere, but could not remember the errata file.  That's exactly what I was looking for.

Made my day, thanks again.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Global Values list
Reply #3 - Mar 12th, 2018 at 10:36pm
Print Post Print Post  
OK, two questions on Global Values:

1.  What is a Global Value with no name?  I seem to have an unnamed value of "N".
Here are three lines in the Global Values List window:
Code
Select All
gsLastInvRecord  2040
                 N
gsCopyForm       0 

When I Iterate the list (thanks again for that), this does not appear.

2.  How do I remove a GlobalValue from the list?  And how do I that if I don't know its name (see above)
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: Global Values list
Reply #4 - Mar 13th, 2018 at 1:27pm
Print Post Print Post  
It looks as if you created a GlobalValue without a name. Didn't know that was possible. I'll look into it.

The only way to delete a GlobalValue if to use the Global Values List in Designer.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Global Values list
Reply #5 - Mar 14th, 2018 at 5:19am
Print Post Print Post  
AHA!   

So that's what the button "Delete Selected Items" is for?

Whooda thunk it?

Sorry for my Dummy Day.   Too much time shoveling snow in NH.

Thanks for the obvious,  Ray.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: Global Values list
Reply #6 - Mar 14th, 2018 at 2:30pm
Print Post Print Post  
You're welcome Bob. We won't even discuss that white stuff that is currently covering the ground outside...

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged