D
dhstein
With the "seek" method I was seeking a record in the table that
matched a value read from a file like this:
rsProducts.seek "=", ![SKU]
This works fine
Now that I can't use this in a split database, I opened the table like this:
Set db = CurrentDb
Set rsProducts = db.OpenRecordset("tblProduct", dbOpenDynaset)
I'm trying to do the same thing with FindFirst like this:
FileSKU = ![SKU]
rsProducts.FindFirst "(ProductSKU) = FileSKU"
I got error 3070 - does not recognize FileSKU as a valid field name or
expression
Next I tried this:
FileSKU = ![SKU]
rsProducts.FindFirst "(ProductSKU) = 'FileSKU'"
this time there was no error, but the FindFirst did not find the record (the
record is definitely there - the seek works fine)
Any ideas how to do this? Thanks.
matched a value read from a file like this:
rsProducts.seek "=", ![SKU]
This works fine
Now that I can't use this in a split database, I opened the table like this:
Set db = CurrentDb
Set rsProducts = db.OpenRecordset("tblProduct", dbOpenDynaset)
I'm trying to do the same thing with FindFirst like this:
FileSKU = ![SKU]
rsProducts.FindFirst "(ProductSKU) = FileSKU"
I got error 3070 - does not recognize FileSKU as a valid field name or
expression
Next I tried this:
FileSKU = ![SKU]
rsProducts.FindFirst "(ProductSKU) = 'FileSKU'"
this time there was no error, but the FindFirst did not find the record (the
record is definitely there - the seek works fine)
Any ideas how to do this? Thanks.