First of all, I want to thank everyone who posts messages in this
group. I am very new to VB and developing full-blown database apps,
and I have learned a great deal by reading these posts, so I am very
grateful.
I have a problem that I have been working on, and I was wondering if
anyone had a simple solution.
I have a table of data similar to the example shown below:
TextField NumberField
Txt1 1
Txt2 2
Txt3 3
Txt4 1
Txt5 2
Txt6 3
Txt7 4
Txt8 1
Txt9 2
etc.
I would like to add a calculated field to the table that starts with
the number 1 for the first series of data 1-3, ratchets up to the
number 2 for 1-4, and the to the number 3 for the third set of numbers,
so my final table would be:
TextField NumberField Calculatedfield
Txt1 1 1
Txt2 2 1
Txt3 3 1
Txt4 1 2
Txt5 2 2
Txt6 3 2
Txt7 4 2
Txt8 1 3
Txt9 2 3
etc.
My actual dataset in the number field would be sequences of numbers
starting with 1 and going up to either 6, 7, or 8.
Any ideas? Thanks in advance for the help.