B bugsy Registered User. Local time Today, 09:47 Joined Oct 1, 2007 Messages 99 Nov 4, 2007 #1 Hey All how can I have a Label or TextBox countain sum of 2 values in Form ? Form is based on a table; I'd rather not change it to a query. I think I've done it before; but don't recall exactly how.
Hey All how can I have a Label or TextBox countain sum of 2 values in Form ? Form is based on a table; I'd rather not change it to a query. I think I've done it before; but don't recall exactly how.
boblarson Smeghead Local time Today, 09:47 Joined Jan 12, 2001 Messages 32,040 Nov 4, 2007 #2 bugsy said: how can I have a Label or TextBox countain sum of 2 values in Form ? Click to expand... Set the controlsource to: Code: =Nz([YourFieldName1Here],0) + Nz([YourFieldName2Here],0) Form is based on a table; I'd rather not change it to a query. Click to expand... Not sure why because a query is how it really should be set up. Believe it or not, when you use a table, it is really only a view (query) anyway but it is unordered.
bugsy said: how can I have a Label or TextBox countain sum of 2 values in Form ? Click to expand... Set the controlsource to: Code: =Nz([YourFieldName1Here],0) + Nz([YourFieldName2Here],0) Form is based on a table; I'd rather not change it to a query. Click to expand... Not sure why because a query is how it really should be set up. Believe it or not, when you use a table, it is really only a view (query) anyway but it is unordered.
B bugsy Registered User. Local time Today, 09:47 Joined Oct 1, 2007 Messages 99 Nov 4, 2007 #3 Thanks Bob ! Nz worked great.