Consultor Eletrônico



Kbase P82627: OPEN CLIENT: Error 7268 passing a temp-table as an input parameter
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/5/2004
Status: Unverified

SYMPTOM(s):

OPEN CLIENT: Error 7268 passing a temp-table as an input parameter

No fields are available. (7268)

Code is based on example given in the Open Client Developers Guide, Example 7-1: ActiveX TEMP-TABLE Input Parameter Using ADO.

CAUSE:

Example 7-1 from the Open Client Developers Guide omits 2 statements that are required for the code to function properly.

FIX:

To workaround the issue, add the following statements before ProTT.DataSource = rs (see sample code below):

rs.MoveFirst
rs.MovePrevious

This will set rs.BOF to TRUE and the code sample will now work.