Howdy all,
I want to start by saying this forum is about the most usefull I have come across in quite some time - thanks to all the contributors.
Onto the question....I have three feilds I am trying to use to add data to my table. This should be simple to do, but I keep getting errors. I am trying to take a feild [Begin Number] add it to a user defined number [Number of Tags], and have the program add the numbers to fill in the final feild [End Number].
If I go to the control source for [End Number] and enter [Begin Number]+[Number of Tags], the calculations perform correctly, but it won't enter the data into the table. It leaves that feild blank. If I enter the formula as [tblIssue Tag]![Begin Number] + [tblIssue Tag]![Number of Tags], I either get "Error" or "?Name" in the feild.
If I try to enter an expression in the table default value, I am told I can only do functions in that feild. Also if I enter a default value in the form, I get a similar error message. I have a similar form that I have done the same operation (only I am taking the date and adding 59 days to it (=[Start Date]+59). It works fine). The only difference with this example is that I want to take the users input of [Number of Tags]. In the date example the computer generates [Start Date] with the Date() function. What am I doing wrong???? BTW, I have very limited knowledge of VBA.
Thanks in advance...
Russell
I want to start by saying this forum is about the most usefull I have come across in quite some time - thanks to all the contributors.
Onto the question....I have three feilds I am trying to use to add data to my table. This should be simple to do, but I keep getting errors. I am trying to take a feild [Begin Number] add it to a user defined number [Number of Tags], and have the program add the numbers to fill in the final feild [End Number].
If I go to the control source for [End Number] and enter [Begin Number]+[Number of Tags], the calculations perform correctly, but it won't enter the data into the table. It leaves that feild blank. If I enter the formula as [tblIssue Tag]![Begin Number] + [tblIssue Tag]![Number of Tags], I either get "Error" or "?Name" in the feild.
If I try to enter an expression in the table default value, I am told I can only do functions in that feild. Also if I enter a default value in the form, I get a similar error message. I have a similar form that I have done the same operation (only I am taking the date and adding 59 days to it (=[Start Date]+59). It works fine). The only difference with this example is that I want to take the users input of [Number of Tags]. In the date example the computer generates [Start Date] with the Date() function. What am I doing wrong???? BTW, I have very limited knowledge of VBA.
Thanks in advance...
Russell