Hello,
I am new to access and I do understand visual basic a little bit. What I am trying to do is create a new table from one I have now in a database. The first field is the key several other fields and 4 that contain numerical data. What I want to do is add a copy of several of the fields to the same record. The data from record add to each record then use a formula that I already have to perform calculations and save that info in a new field at the end of each record. I want to start with record 1 and perform the caculations for each record in the table. Then take the numerical and other info from record 2 add it to the end of each of the records and continue this process for every record within the table.
Example.
Field 1 field 2 field 3 field 4 field 5 field 6 new feilds field 7 feild 8 field 9
key1 info 1 2 3 4 key1 info new value
key2 info 2 3 4 5 key1 info new value
key3 info 3 4 5 6 key1 info new value
key1 info 1 2 3 4 key2 info new value
key2 info 2 3 4 5 key2 info new value
key3 info 3 4 5 6 key2 info new value
Field 1 will now become a foreign key and I dont need to store the numerical data again but I do need fields 7 and 8 so I understand what values was used to create the value in field 9. I hope you can understand what I am trying to do.
Thanks,
John
I am new to access and I do understand visual basic a little bit. What I am trying to do is create a new table from one I have now in a database. The first field is the key several other fields and 4 that contain numerical data. What I want to do is add a copy of several of the fields to the same record. The data from record add to each record then use a formula that I already have to perform calculations and save that info in a new field at the end of each record. I want to start with record 1 and perform the caculations for each record in the table. Then take the numerical and other info from record 2 add it to the end of each of the records and continue this process for every record within the table.
Example.
Field 1 field 2 field 3 field 4 field 5 field 6 new feilds field 7 feild 8 field 9
key1 info 1 2 3 4 key1 info new value
key2 info 2 3 4 5 key1 info new value
key3 info 3 4 5 6 key1 info new value
key1 info 1 2 3 4 key2 info new value
key2 info 2 3 4 5 key2 info new value
key3 info 3 4 5 6 key2 info new value
Field 1 will now become a foreign key and I dont need to store the numerical data again but I do need fields 7 and 8 so I understand what values was used to create the value in field 9. I hope you can understand what I am trying to do.
Thanks,
John