Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 To: Mike Dershowitz
  Where is Mike Dershowitz?
 Philadelphia
 Pennsylvania - United States
 Mike Dershowitz
 Tags
Subject: RE: Copy cursor structure for latter use
Thread ID: 533 Message ID: 534 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Monday, June 04, 2001 2:22:01 PM         
   


> I thought the afield() command could be used to copy a cursor strcture to an array. If this is the case, I am then trying to define a cursor with a structure that has been placed in an array. What is the correct way to do this?
>
> Thank you in advance for your help.
>
> Mike

You are correct:
select 0
create cursor tmp1 (cfielda C(5), nfielda N(5,2))
afields(aTmp)
select 0
create cursor tmp2 from array aTmp

--
Eric den Doop
www.foxite.com - The Home Of The Visual FoxPro Experts

ENTIRE THREAD

Copy cursor structure for latter use Posted by Mike Dershowitz @ 6/4/2001 2:01:00 PM
RE: Copy cursor structure for latter use Posted by Eric den Doop @ 6/4/2001 2:22:01 PM