Hi,
I have been getting this error the whole afternoon and having been trying to reduce the parameters to identify which one is causing the problem. Then tried different datatye but still no joy.
I have double checked again and again with the tables layout, and think only one place would be the problem but as I have already tried different datatype so I am lost.
Dim xtemp as string (also tried long, double, integer)
xtemp = DLookup("[ProjItemID]", "TProjectitems", "[ProjectID] = " & Forms!FProjectItems.ProjectID)
ProjectItemID is autonumber
ProjectID is text
Forms!FprojectItems.projectID is from TProject and the projectID is text
Thank in advance for your help.
I have been getting this error the whole afternoon and having been trying to reduce the parameters to identify which one is causing the problem. Then tried different datatye but still no joy.
I have double checked again and again with the tables layout, and think only one place would be the problem but as I have already tried different datatype so I am lost.
Dim xtemp as string (also tried long, double, integer)
xtemp = DLookup("[ProjItemID]", "TProjectitems", "[ProjectID] = " & Forms!FProjectItems.ProjectID)
ProjectItemID is autonumber
ProjectID is text
Forms!FprojectItems.projectID is from TProject and the projectID is text
Thank in advance for your help.