SkeeterEater
Programmer
Please forgive me I'm new at Programming but I need to know how to use a fild name in a popup list that is not the current .dbf being used by the current screen. I have tried several things, the following is one which seems to be close but it doesn't seem to work either, Please Help!
In the current screen, which is the screen that I would like to use the array in, I placed (arrayftm) as the array name then I placed (foo.name) for the first element and (1) as the number of elements. The variable of the popup list is m.fnsend (not in table).
I declared the array in the screen code under "On Screen Exit (Valid)" in the screen were the information for the popup list will be entered from, as follows:
#NAME foodsend
USE food.dbf
DECLARE arrayftm(5000,2)
COPY TO ARRAY arrayftm FIELDS food.name, food.size
I'm using Foxpro 2.6 for Windows and used Genscreen to design the screens.
Thanx Scott
In the current screen, which is the screen that I would like to use the array in, I placed (arrayftm) as the array name then I placed (foo.name) for the first element and (1) as the number of elements. The variable of the popup list is m.fnsend (not in table).
I declared the array in the screen code under "On Screen Exit (Valid)" in the screen were the information for the popup list will be entered from, as follows:
#NAME foodsend
USE food.dbf
DECLARE arrayftm(5000,2)
COPY TO ARRAY arrayftm FIELDS food.name, food.size
I'm using Foxpro 2.6 for Windows and used Genscreen to design the screens.
Thanx Scott