P
Peter Smith
Hi
I have a table that I want to split. I want to put some of the feilds in a
separate table.
I need to write a routine to examine each record to see if I need to create
a record in the new table, then transfer the needed data to that new
record; next record; repeat to EOF.
Open tblTable
MoveFirst
Do
See if new record is needed in tblNewTable
Append data to tblNewTable
MoveNext
Loop While not EOF(tblNewTable)
End
Any idea how to do this? Should I use SQL?
TIA
- Peter
I have a table that I want to split. I want to put some of the feilds in a
separate table.
I need to write a routine to examine each record to see if I need to create
a record in the new table, then transfer the needed data to that new
record; next record; repeat to EOF.
Open tblTable
MoveFirst
Do
See if new record is needed in tblNewTable
Append data to tblNewTable
MoveNext
Loop While not EOF(tblNewTable)
End
Any idea how to do this? Should I use SQL?
TIA
- Peter