C++ API doesn't return subform fields

C++ API documentation for LNForm::GetFormFields says that it returns fields on the main form as well as all the embedded subforms. However, the API seems to return only the fields in the main form. It does not return any of the fields in subforms (these are normal subforms, not computed subforms). You can try the “Response” form in standard Discussion database. Has anybody else seen this behavior? I have tried 2.4 and 2.3 versions of the C++ API toolkit with R5, R6 and R6.5 versions of Notes client.

Any help will be appreciated.

Subject: C++ API doesn’t return subform fields

haven’t tried it yet. just one thought:

check in designer the forms properties (in the form-list like you do for documents). you see all the formns fields. check if you also see the fields from your subform.

fields form subforms (if not computed sf) should be listed as if in the form itself.

does LNForm::GetFormField work for one of the sf field?