I’m trying to learn more about global variables. How to set them up, and utilize them. The amount of info that I’m finding on it is slim, and I’m not having any luck getting them to work in my LODB macros following said info.
I’m trying to get an ID from a table, and set it to a global, public, private variable, so that I can call on it from a different sub. I can get Const to work just fine, but that doesn’t help with trying to assign a global through the macro.
I think that I have an understanding on the differences between global, public, private, but even that I’m not sure of. Like I said, I’m not having much luck in finding info.
Can/will someone point me in a good direction? An example odb with non Const Globals would help out tremendously.
Thanks