UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> TempVars, Wiki Talk    
 
   
post Oct 24 2015, 06:49 AM
Post#1



Posts: 0
Joined: --



This topic is designated for discussion of the article: TempVars.
Go to the top of the page
 
BruceM
post Feb 26 2016, 10:40 AM
Post#2


UtterAccess VIP
Posts: 7,022
Joined: 24-May 10
From: Downeast Maine


This is confusing:
QUOTE
where "myFieldVar" might be a variable you've used to store the name of a field or control for the user name and "New User Name" is the value of that user name field/control)


The following syntax works if myFieldVar is the name of a string or variant variable that has been assigned a text value. I suppose it would work if it was a field value. But I can't see where the approach would be used. Why assign a value to a variable, then turn around and use that value as the name of a TempVar?

TempVars.Add myFieldVar, "Test"
Go to the top of the page
 


Custom Search
RSSSearch   Top   Lo-Fi    18th December 2017 - 12:06 AM