I have a subform in another form (the main form). The subform exists out of continuous forms representing records of a table, (table1).
The form (so one of the continuous forms) contains some fields, but not all of them are from the table (which is the recordsource for the subform), some are from the upper form and some are calculated.
So lets say I have fields A, B, C, D and E which are on the subform, so all of the continuous forms have thses fields.
The values from A and B come from records of table1
C and D are two fileds which are filled by the main form
E is a field that is calculated from some of the other fields, let's say A, C and D.
Now I have a new empty table which needs to be filled with the records of the subform. But not all fields are needed, only A,D and E need to be in the new table.
So eventually I would need a table which would have equally much records as the subform had continuous forms, and each new record would contain the fields A,D and E from the corresponding continuous form in the subform.
Did that make any sense? So what i'm asking is: how do I loop through the records in the subform, putting some values(fields) of each records in a new table (the table already exists).
That's it,
hope you can help me
nirious
The form (so one of the continuous forms) contains some fields, but not all of them are from the table (which is the recordsource for the subform), some are from the upper form and some are calculated.
So lets say I have fields A, B, C, D and E which are on the subform, so all of the continuous forms have thses fields.
The values from A and B come from records of table1
C and D are two fileds which are filled by the main form
E is a field that is calculated from some of the other fields, let's say A, C and D.
Now I have a new empty table which needs to be filled with the records of the subform. But not all fields are needed, only A,D and E need to be in the new table.
So eventually I would need a table which would have equally much records as the subform had continuous forms, and each new record would contain the fields A,D and E from the corresponding continuous form in the subform.
Did that make any sense? So what i'm asking is: how do I loop through the records in the subform, putting some values(fields) of each records in a new table (the table already exists).
That's it,
hope you can help me
nirious