Hello,
I have a runtime error when using a DLOOKUP function. The code is following :
it is indeed strange, but the first line is just to show that it works with the first one and doesn't with the second. I tried many other name for the column (i.e. FieldRef_123), I closed and opened the data base, I deleted the table and rebuilt it, and it still works with the first line and doesn't with the second and giving a runtime error.
Any idea ?
I have a runtime error when using a DLOOKUP function. The code is following :
Code:
StrValue = DLookup("[English]","LanguageTable","[German]=German")
StrValue = DLookup("[English]","LanguageTable","[FieldRef_123]=Abc")
it is indeed strange, but the first line is just to show that it works with the first one and doesn't with the second. I tried many other name for the column (i.e. FieldRef_123), I closed and opened the data base, I deleted the table and rebuilt it, and it still works with the first line and doesn't with the second and giving a runtime error.
Any idea ?