Progess - 4Gl programming
Sample program to export data of table in excel file
lets assume we have a table name ferrari having fields tyre , mirror , seats , number.
if you want to export the data of this table in excel write the following code
output to "Ferrari.xls" .
for each ferrari no-lock:
put unformatted
tyre "~011"
mirror "~011"
seats "~011"
number "~011"
skip.
end.
output close.
lets assume we have a table name ferrari having fields tyre , mirror , seats , number.
if you want to export the data of this table in excel write the following code
output to "Ferrari.xls" .
for each ferrari no-lock:
put unformatted
tyre "~011"
mirror "~011"
seats "~011"
number "~011"
skip.
end.
output close.
Comments