On 2014-05-28 21:12, Joe Yoder wrote:
I am an occasional VFP programmer who has never had enough experience
with
the GUI to learn the proper way to organize a project to let the
various
components communicate with each other.
I need to collect descriptions of a variable number of IP addresses
stored
in a 2 column array. The first column has the address and the second
needs
to have a user entered description.
The form I am using has a listbox displaying the columns of the array.
I
want the user to be able to enter descriptions row by row as selected
by
clicking on one row at a time in the listbox.
My first attempt has been to have the listbox click event call another
form
containing the selected address and a description field. This seems
like
overkill and immediately gives me problems because the new form does
not
know how to access the array on the calling form.
I thought perhaps this was a case where I would finally try using a
grid
control but that does not appear to work with an array. Maybe I should
build a cursor rather than an array so I can use a grid.
Suggestions? Pointers?
Thanks in advance,
Use a Public Data Session and a cursor attached to a grid. I've use
views but if this is quick & dirty and not multi-user then direct table
mapping might work just fine.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.