Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: Anders Altberg
  Where is Anders Altberg?
 Uppsala
 Sweden
 Anders Altberg
 To: najeeb rehman
  Where is najeeb rehman?
 Karachi
 Pakistan
 najeeb rehman
 Tags
Subject: RE: Array to DBF
Thread ID: 203758 Message ID: 203836 # Views: 28 # Ratings: 0
Version: Visual FoxPro 7 Category: Projects and Design
Date: Sunday, November 16, 2008 2:53:30 PM         
   


> I have write a program whch fatches records from various DBFs into an array on my given condition is thier any way to make a DBF of that array exactly same structure and data.
> Can any one help me out on this
>
> Najeeb
INSERT INTO MyTable FROM ARRAY aArray
INSERT INTO MyCursor FROM ARRAY aArray


This way you don't need to open the DBF file first, or see if it is open already, or check where you are and SELECT TheCursor, and then maybe move back to the original workarea, saving several lines of code.

-Anders



COMPLETE THREAD
Array to DBF Posted by najeeb rehman @ 11/15/2008 1:41:19 PM
RE: Array to DBF Posted by vinod kabdal @ 11/15/2008 1:49:53 PM
RE: Array to DBF Posted by surinder singh @ 11/15/2008 2:38:33 PM
RE: Array to DBF Posted by Anders Altberg @ 11/16/2008 2:53:30 PM