× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Unfortunately, SQL is not something I know real well. I have an SQL Program that is called from an Excel Spreadsheet to populate the spreadsheet. I was asked to add a couple of columns to SS. (I did not write either the spreadsheet VB code or the original SQL code). The SQL Program is causing an issue now. This line seems to be the issue when I run the SQL in debug:

SA020PX.SQLP_I1 = *(SQLP_IND+0);

SA020PX.SQLP_I1 has an initial value of 0
SQLP_IND has a value of *null.
Error message is "Pointer not set for location referenced."
SA020PX is the SQL program name.

I get that the values of *null and 0 are an issue. I have no idea however of what these represent, or how to resolve this issue.

I see the line of code in the compile listing and in debug, but it is not in original code.
This line of code occurs after the declaration section, but apparently before much else happens, including accepting the passed parms.

Regards,

Jim Hawkins
Programmer Analyst
Interkal LLC
Kalamazoo, MI


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.