Subject Re: Copying a file opened in a form
From Mervyn Bick <invalid@invalid.invalid>
Date Mon, 12 Jun 2023 15:08:35 +0200
Newsgroups dbase.getting-started

On 2023/06/11 16:42, Milind Nighojkar wrote:
> In a form dabase   is opened in grid mode with certain fields and with a filter condition . Field headings are changed. Is there any way to export this data set excel ?

The short answer is, yes.  How much work involved is, however,
determined by how the fields were selected for the grid.

You have the option of either creating a .csv file as Akshat has
suggested or, as Tim has suggested, of creating and Excel file if you
have Excel available on your computer.

If you are going to create a .csv file then using usvout.prg from the
dUFLP is the simplest way.

If the fields for the grid were determined by specifying a list of
fields in the query's SELECT statement then you can simply use the
existing query in your form.  If you used the grid's COLUMNS property to
select fields for the grid you are going to have to create a new query
with just those fields and then apply your filter.

Mervyn.