I have a report that I am trying to simplify and am running access 97
There is a qry to pull the type of material and is set by the control source.
Now I want another textbox (textbox2)to fill in a value on my report based on the type
So if Type A then value = 7
Type B then value = 8
etc......
If qrytype = "A" Then
textbox2.value = "7"
Else
If qrytype = "B" Then
textbox2.value = "8" etc,,,
^that is what I tried and it never showed a value, I am not sure of the order of how things are run programming wise. I searched around and found after update but that seems like it is used for later versions of access?
any help?