Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 29 JUL 1998 04:24:12PM Jim Vaughan wrote:

I am trying to track down a problem we are having with POPUP(). We are seeing "ENG0010 Popup line 1, variable has not been assigned a value."

This happens when the user clicks the OK button after selecting an item towards the end of the popup list. It is a long list and is a mode=T" type popup, that is it gets the list of items from a table.

The call to POPUP that fails is from REPOS.STPROCEXE..EXECUTE

I just tried going to POPUP and pressed F9 to compile (so that I can see the line number it fails on) and I get the error "The procedure cannot be overwritten". How do I compile POPUP, I could copy it to a different name, but if I do this I will also have to do it for the associated form and make changes all over the place, so that the new form and procedure are used.

How do I compile POPUP?

Jim Vaughan

Redondo Beach, CA

ICQ 4493332

jvaughan@jps.net


At 29 JUL 1998 07:27PM Don Bakke wrote:

Hi Jim,

How do I compile POPUP?

POPUP is one of the system routines that is protected from being overwritten. However, the following steps will allow you to temporarily change this:

1. Log into SYSPROG

2. Open the SYSPROCNAMES record from the SYSENV table

3. Look for POPUP in this record (this is alphabetically sorted)

4. Remove this entry and save the record

5. Exit OI and go back into SYSPROG

6. Open the SSP called POPUP

7. Compile/modify/debug or whatever to the source code

8. When all is said and done, add POPUP back into the SYSPROCNAMES record and save

dbakke@srpcs.com

SRP Computer Solutions


At 30 JUL 1998 01:07PM Jim Vaughan wrote:

Thanks Don,

I'll give that a try.


At 30 JUL 1998 01:55PM Jim Vaughan wrote:

Following change to popup() fixes the problem:

  • visim jrv 7-30-98
  • use correct variable
        SendMessage(Popup_hWndET@, DTM_SELALLROWS$, 0, 0)
  • SendMessage(hWnd, DTM_SELALLROWS$, 0, 0)
  • end visim jrv 7-30-98

At 30 JUL 1998 02:00PM Jim Vaughan wrote:

Following change to popup() fixes the problem:

  • visim jrv 7-30-98
  • use correct variable
        SendMessage(Popup_hWndET@, DTM_SELALLROWS$, 0, 0)
  • SendMessage(hWnd, DTM_SELALLROWS$, 0, 0)
  • end visim jrv 7-30-98

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/5308001170d573ca852566500070146e.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1