Kbase 18855: OPEN CLIENT: "Invalid Use of Null" Error (Why?)
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/20/1999 |
|
SUMMARY:
If you are using Visual Basic and receive the "Invalid Use of Null"
error at runtime, it is possible that one of the OUTPUT or INPUT/OUTPUT parameters returned the Progress Unknown value
(that is, ?) and you did not turn on the "Allow Unknown" option for that particular parameter when generating the ActiveX proxy object.
SOLUTION:
The possible resolutions to this are as follows:
- If the 4GL code should not return the unknown value then make
whatever corrections are required to the 4GL code so that it does
not return the unknown value.
- If the 4GL code is correct in allowing the unknown value to be
returned then regenerate the ActiveX proxy using ProxyGen and turn
on the "Allow Unknown" option.