Print Page | Close Window

Catastrophic failure using FindFormFieldB

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=411
Printed Date: 10 May 24 at 3:35AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Catastrophic failure using FindFormFieldB
Posted By: patty
Subject: Catastrophic failure using FindFormFieldB
Date Posted: 12 May 06 at 4:48PM

I'm using FindFormFieldByTitle to see if a form contains a field of 'AgentName'.  It works for previous 20 fields, but when it gets to this field, it gets the following error:

Set AgentName error '8000ffff'

Catastrophic failure

/pw/digsi/di_gsi_process.asp, line 94

I have verified that this field does exist in the form (page 5 of 8).

Here's the section of code that's being executed:

for each item in dFormField
  fncDebug("<br>Set  <b>" & item)
  fieldIndex = QP.FindFormFieldByTitle(item)           'Line 94
  if fieldIndex > 0 then
   result = QP.SetFormFieldValue(fieldIndex,dFormField(item))
   fncDebug("</b> = <b>" & dFormField(item) & "</b>  Result: " &  result)
   fncDebug("<br>Flatten <b>" & item)
   result = QP.FlattenFormField(fieldIndex)
   fncDebug("</b>  Result: " &  result)
  else
   fncDebug("not found")
  end if
 next

 

Has anyone encountered this problem before or have any suggestions?

Thanks!




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk