L
lance
Hi all,
I was hoping someone could help me with a rather simple syntax
question:
I have a variable called "partnum" and "plist" ... "plist" is
a currency value amount.
I have on a form (form is called "invoices") 4 different text boxes,
partscharge1 , partscharge2 , partscharge3 and partscharge4 .
all I want to do is make the appropiate partscharge text box equal to
the
"plist" variable. By appropiate I mean the value of "partnum"
Here is the line I need the proper syntax for:
Forms![invoices]!partscharge<<partnum variable>> = plist
The above line is the wrong syntax........ If partnum = 4 i want it
to
be equal to:
Forms![invoices]!partscharge4 = plist
If partnum = 3 then I would want it to equal to the statement:
Forms![invoices]!partscharge3 = plist
Basically , instead of having to type the actual number, i want that
number to be gotten from the variable "partnum" , so i can assign the
plist amount to the correct partscharge textbox.
could someone kindly give me the correct line syntax.... I'm know
very little about vb coding and need help with this simple
syntax question.
Please email me at (e-mail address removed) - your help is so much
appreciated!!
I was hoping someone could help me with a rather simple syntax
question:
I have a variable called "partnum" and "plist" ... "plist" is
a currency value amount.
I have on a form (form is called "invoices") 4 different text boxes,
partscharge1 , partscharge2 , partscharge3 and partscharge4 .
all I want to do is make the appropiate partscharge text box equal to
the
"plist" variable. By appropiate I mean the value of "partnum"
Here is the line I need the proper syntax for:
Forms![invoices]!partscharge<<partnum variable>> = plist
The above line is the wrong syntax........ If partnum = 4 i want it
to
be equal to:
Forms![invoices]!partscharge4 = plist
If partnum = 3 then I would want it to equal to the statement:
Forms![invoices]!partscharge3 = plist
Basically , instead of having to type the actual number, i want that
number to be gotten from the variable "partnum" , so i can assign the
plist amount to the correct partscharge textbox.
could someone kindly give me the correct line syntax.... I'm know
very little about vb coding and need help with this simple
syntax question.
Please email me at (e-mail address removed) - your help is so much
appreciated!!