J
J Shrimps, Jr.
Need to search a linked text table of about
50,000 rows for a string (user
is going to select the string from cmbbox limited
by a group query), then append every record
directly below the search criteria record ( the
search criteria record is always unique),
until the a specific (terminating) string is found in one
of the records below.
Specific string could be found in
the next twenty records, the next 120, or 220 records,
but I need to append Field1 of every record
(there's only one field) found until that termination string.
Can do everything with rst.MoveNext, Insert into, etc.
except the original SQL statement i.e..
strSQL = "Select TblTextFile.Field1 from TblTxtFile where
(((tblTxtFile.Field1)=[forms]![frmParseCode]![Cmbcode]));"
However, this returns the correct record, but ONLY one
record. I need the cursor to Seek, NOT select the record selected
in the cmbBox, start there and append every record (only
one Char80 field in the table so that's easy to do) into another tmptable.
Linked text files can't be indexed and can't add an autonumber field.
How do I position the cursor at a specific record without an
index or autonumber?
50,000 rows for a string (user
is going to select the string from cmbbox limited
by a group query), then append every record
directly below the search criteria record ( the
search criteria record is always unique),
until the a specific (terminating) string is found in one
of the records below.
Specific string could be found in
the next twenty records, the next 120, or 220 records,
but I need to append Field1 of every record
(there's only one field) found until that termination string.
Can do everything with rst.MoveNext, Insert into, etc.
except the original SQL statement i.e..
strSQL = "Select TblTextFile.Field1 from TblTxtFile where
(((tblTxtFile.Field1)=[forms]![frmParseCode]![Cmbcode]));"
However, this returns the correct record, but ONLY one
record. I need the cursor to Seek, NOT select the record selected
in the cmbBox, start there and append every record (only
one Char80 field in the table so that's easy to do) into another tmptable.
Linked text files can't be indexed and can't add an autonumber field.
How do I position the cursor at a specific record without an
index or autonumber?