Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

varray equivalent?

Status
Not open for further replies.

hmcheung

Programmer
Oct 13, 2000
66
HK
Hi,
Is there anything in FoxPro like the VARRAY datatype in Oracle? So that I can put, for example, more than one email address for each record in my employee table. Thanks! Please visit my WebCam!!
 
Use just a memo field fo this and separate emails by comma "," or semicolon ";". No need to use unusual types unless you plan to do something special with them. You can get all emails into array from memo field:

alines(emailsArray,chrtran(EmailsMemoField,";",chr(13)))

Where ';' is a separation character.


Vlad Grynchyshyn
vgryn@softserve.lviv.ua
The professional level of programmer could be determined by level of stupidity of his/her bugs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top