I
Isis
I have a form open with data in various fields - I have a
field in a table called "PURL" - I have the value displayed in
a control on the form - I can access the contents of this
field in my VB code using something like;
strFieldContents = [PURL]
If the field contains "D:\MyProg\" then after the assignment
my variable, strFieldContents now contains the same text and
this DOES seem to work. However, if I use this code;
I have another variable called 'Temp' which holds the string
"PURL" - I use this code;
strFieldContents = "[" & Temp & "]"
then strFieldContents contains the string "[PURL] - NOT the
contents of the PURL variable.
What am I doing wrong or can I just not do this in VB ?
Any help much appreciated.
Thanks
field in a table called "PURL" - I have the value displayed in
a control on the form - I can access the contents of this
field in my VB code using something like;
strFieldContents = [PURL]
If the field contains "D:\MyProg\" then after the assignment
my variable, strFieldContents now contains the same text and
this DOES seem to work. However, if I use this code;
I have another variable called 'Temp' which holds the string
"PURL" - I use this code;
strFieldContents = "[" & Temp & "]"
then strFieldContents contains the string "[PURL] - NOT the
contents of the PURL variable.
What am I doing wrong or can I just not do this in VB ?
Any help much appreciated.
Thanks