Hello,
I have a program which has worked for years in various environments. This program uses xapi and has recently been installed on a client's machine.
I'm assuming this issue is environmental since no one else has encountered this issue, however, the values that are being returned from an xapi call are blank.
Here's the situation: a user clicks a finder which sets up a form displaying the accpac information. The query results display fine, however, I am receiving blank header information when the FinderFields function is being used. Since the code is very spread out, here is a small sample:
The client is using Accpac 55, SQL 2008 and Windows Server 2003 Standard Edition.
From what I can tell all sections (ODBC, database and permissions) seem to be configured correctly.
As mentioned, this has never been an issue until this install. Does anyone have any suggestions on what might be causing this to happen?
As a separate issue, this same client is running another program and the accpac error handler returns a blank description. I'm assuming these issues are related, but I haven't found a cause or solution.
If at first you don't succeed, then sky diving wasn't meant for you!
I have a program which has worked for years in various environments. This program uses xapi and has recently been installed on a client's machine.
I'm assuming this issue is environmental since no one else has encountered this issue, however, the values that are being returned from an xapi call are blank.
Here's the situation: a user clicks a finder which sets up a form displaying the accpac information. The query results display fine, however, I am receiving blank header information when the FinderFields function is being used. Since the code is very spread out, here is a small sample:
Code:
Public FinderFields As ACCPACXAPILib.xapiFields
...
With myFinderForm.FinderGrid
For i = LBound(FieldCols) To UBound(FieldCols)
[red]
*** This section returns a blank string. ***
.TextMatrix(0, i) = Trim$(FinderFields(FieldCols(i).ColName).Description)
*** Eg. Trim$(FinderFields("NAMECUST").Description) = ""
*** It should be ... = "Customer Name"
[/red]
.ColWidth(i) = FieldCols(i).ColWidth
.ColAlignment(i) = FieldCols(i).ColAlign
l_lngWidth = l_lngWidth + .ColWidth(i)
Next i
The client is using Accpac 55, SQL 2008 and Windows Server 2003 Standard Edition.
From what I can tell all sections (ODBC, database and permissions) seem to be configured correctly.
As mentioned, this has never been an issue until this install. Does anyone have any suggestions on what might be causing this to happen?
As a separate issue, this same client is running another program and the accpac error handler returns a blank description. I'm assuming these issues are related, but I haven't found a cause or solution.
If at first you don't succeed, then sky diving wasn't meant for you!