You cannot assign a textbox content to a constant! The constant is just... a constant, that is defined at compile time, like:
const UserNameID = "ThisIsMyName"
const UserID = 124
Yo make constants available in the project scope, declare them Public and put them in a bas module.
Marco
|