ok, steve, i am trying just this, and have the following in the table
"Press Schedule":
workordernumber, a number field, indexed
list_ordernumvallist, a text field, global storage
count_ordernumsfromvallist, a number field (not indexed or global)
the following script is called from within the script that finds and
sorts the records (for a given date range):
Set Field [Press Schedule::list_ordernumvallist; ValueListItems
("Press Schedule" ; "ordernumvallist")]
Set Field [Press Schedule::count_ordernumsfromvallist; Count ( Press
Schedule::count_ordernumvallist )]
and, if i call it from within the other script, of just manually
perform a find and run this script above (i assume it operates on
whatever found set is in the database), it shows nothing for
list_ordernumvallist, and counts (appropriately enough) "0" for
count_ordernumsfromvallist.
suggestions?
thanks again,
best,
bill
On Jun 4, 2007, at 2:20 PM, Steve B. Gerow wrote:
bill,
This may help:
Index the field and make a value list from it. Do the following in
a script:
Use the ValueListItems function to set the list into a global.
Use the ValueCount function to count the items in the global.