home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
TEXT
/
PDX_ALL.ZIP
/
TI556.ASC
< prev
next >
Wrap
Text File
|
1991-09-11
|
3KB
|
133 lines
PRODUCT : PARADOX NUMBER : 556
VERSION : 3.X
OS : PC DOS
DATE : September 11, 1991 PAGE : 1/2
TITLE : PPROG: QEditDoIt NOT DEFINED
The Error message "QEditDoIt Not Defined," indicates your
personal programmer application is trying to read the "QEditDoIt"
procedure from one of the libraries associated with your
application.
This error is most often caused when a non-editing menu choice is
modified and the application includes an editing menu choice that
selects records. When the modifications are processed (using
"Do_It"), new script files are created, but "QEditDoIt" does not
get written to your application's utility library.
The solution is as follows:
Create the following script using interactive Paradox's script
editor. From Paradox's (interactive, not Personal Programmer)
main menu, select {Scripts} {Edit} {Write}, and type "QEdWrite"
for the name of the script file.
Type the following 20 lines in the script file:
Proc QEditDoIt()
Do_It!
Message "Posting changes..."
UpImage
if (useDelTable) then
Subtract "Deleted" sourceTbl
Delete "Deleted"
endif
Add "Answer" sourceTbl
ClearAll
Clear
Endproc
WriteLib "ApnameUtl" QEditDoIt
Release Procs QEditDoIt
PRODUCT : PARADOX NUMBER : 556
VERSION : 3.X
OS : PC DOS
DATE : September 11, 1991 PAGE : 2/2
TITLE : PPROG: QEditDoIt NOT DEFINED
Then, save this script file to the personal programmer's
subdirectory in which this application's library resides.
Note: ApnameUtl in line 19, above, is the name of your
application followed by the letters Utl. If your applicaton is
called Video, then line 19 would read as follows:
WriteLib "VideoUtl" QEditDoIt
Finally, play this script file, and you will then be able to
Choose an Edit menu selection in your application without getting
the error message.
From this point on, when you finish modifying this PPROG
application, you need only play the "QEdWrite" script.