ComputeWithForm fails with Notes 6

Hello,

I wrote a VB6 application which uses the Notes COM object to add appointments to Lotus Notes. The program works fine with Lotus Notes 5.0. I am now testing it with Lotus Notes 6.0 and have found that when attempting to add a new appointment, the ComputeWithForm method fails with ‘Incorrect data type for operator or @Function: Number expected’. Obviously, there is some subtle difference in 6.0. Does anyone know why this might be happening? Can anyone provide some sample code to successfully create an appointment with the Notes 6.0 COM object?

Thank You,

SMB

Subject: ComputeWithForm fails with Notes 6

it’s a new version - the form has changed, open designer and look at the form, check each field you create via vb and make sure that you’re entering a number where notes wants a number and text where it wants text

the error message would mean that you’ve put TEXT in a NUMBER field (that could not be converted to a number)