R
Ron Berns
I am still pretty green at this coding. I am using Access2003.
I am trying to lookup a record in another table(stores) and save a field in the
current table (Table1). Here is what I have:
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("Table1")
..
..
..
StoreNo = Mid(MyString, 3, 4)
error --> rst!ST_GLN = DLookup("[GLN_NO]", "stores" , "[STORE_NO] = [StoreNo]")
rst.Update
Thanks in advance.
Ron
I am trying to lookup a record in another table(stores) and save a field in the
current table (Table1). Here is what I have:
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("Table1")
..
..
..
StoreNo = Mid(MyString, 3, 4)
error --> rst!ST_GLN = DLookup("[GLN_NO]", "stores" , "[STORE_NO] = [StoreNo]")
rst.Update
Thanks in advance.
Ron