Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Copy to Array
Message
 
To
24/04/1997 07:25:49
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00029519
Message ID:
00029547
Views:
26
>I have 2 tables :-
>
>1. Name :- which is having 4 fields :-
>
>code, name, age, male
>
>2. Contact :- Which is having 2 Fields
>Code, Phone
>
>I am using following code :-
>
>AllFields="name.name,name.age,name.male,contact.phone"
>Set fields to &AllFields
>copy to array MyArray
>
>There are 3 records in Name & 4 records in phone:-
>
>It is giving me in array the associated record in contact for first 2 records, but for the 3rd record it is showing me all .f. values
>
>Can Anybody Tell me, what's wrong ???

Are there 3 records in table 2? I would do this with an outer join to a cursor and then copy to array from the cursor, or just use the cursor directly (even better).

HTH
Todd Burstain, MD
infinitydoc@delphi.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform