Thanks Arne and Brett,
My goal was to keep from having to write to disk on the server
while compiling records to later write to the back-end data,
if the user chose to save. I thought about using an array (COPY TO ARRAY / APPEND FROM ARRAY) to pass a cursor's data between scripts but, after an
email to FoxWeb support, found out that the session object does not support
arrays. Along the lines of what you and FoxWeb support suggested, I ended up
using SUBSTR(SYS(2015), 3, 10) to create and use a unique named, temporary
table (passing a variable containing the name of this table between scripts)
which is later deleted. Thanks again.
Bryan
>What is the best way to pass or reference a cursor
>from script to script in FoxWeb 2.0? Is there a programmatic
>way to temporarily turn off/on the "Close Tables" that is
>set in the main configuration for the current session?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement