Hi folks I've looked around and can't find anytihng about this so....
I have an Access2k prog that I'm converting to VB6 DAO. In the VBA version I could do the following.
SELECT ID, Name, ListType, Register FROM tblSearchList WHERE CutSurName([Name]) LIKE 'jones*' and it would return all Names with Jones.
The function CutSurName would remove the surname from the field called name. The format of the field would be something like
"JONES, Fred James" or "JONES, Phil James AKA JONESY"
When I run this in VB6 it tells me that there is an "Undefined Function 'CutSurName' in expression".
The function is it's own module and declared public.
Anyone help me out here?
howard
I have an Access2k prog that I'm converting to VB6 DAO. In the VBA version I could do the following.
SELECT ID, Name, ListType, Register FROM tblSearchList WHERE CutSurName([Name]) LIKE 'jones*' and it would return all Names with Jones.
The function CutSurName would remove the surname from the field called name. The format of the field would be something like
"JONES, Fred James" or "JONES, Phil James AKA JONESY"
When I run this in VB6 it tells me that there is an "Undefined Function 'CutSurName' in expression".
The function is it's own module and declared public.
Anyone help me out here?
howard