P
Pedro Matos
Guest
this code below if i open OpenEdge Procedure Editor it works fine. If i save this as a .p file and click on right button "RUN", it gives me an error that database doesn't exist. I understand that maybe i should insert some code to connect. Does anyone knows which statement should i insert ?
DEF STREAM st1.
OUTPUT STREAM st1 TO c:\temp\teste.csv.
FOR EACH bdName.table NO-LOCK:
PUT STREAM st1 UNFORMATTED bdName.Table.attr ";"
SKIP.
END.
OUTPUT STREAM st1 CLOSE.
Continue reading...
DEF STREAM st1.
OUTPUT STREAM st1 TO c:\temp\teste.csv.
FOR EACH bdName.table NO-LOCK:
PUT STREAM st1 UNFORMATTED bdName.Table.attr ";"
SKIP.
END.
OUTPUT STREAM st1 CLOSE.
Continue reading...