Hello,
I'm a fairly experienced VB/VBA programmer, but a newbie
to VBScript. Currently, I'm converting existing Access
dbase forms into data access pages (DAP) for web access.
All existing VBA codes have to be converted to VBScript,
and I've encountered a problem with the DLookUp method.
I get the error: "Type mismatch: 'DLookup'"
This is the original code in the Access form
varPartName = RTrim(DLookup
("[PART_DESC]", "ICFPM", "[PART_ID]=txtPartID.Value"))
txtPartName.Value = varPartName
Quickly translated: Find the Part Description from table
ICFPM where the Part ID equals txtPartID.Value from the
form. Insert the value into txtPartName.
Is DLookup not supported in VBScript? If so, what can I
use instead? I'm using an unbound DAP form in Access.
Thanx,
Isbjornen.