Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 27 JUL 2021 08:12:26PM BrianWick wrote:

I want to create a CSV file from a select.

according to the docs i have seen this code below should work in some capacity.

But I am getting an internal GET_PRINTER2 line 1 variable not assigned error

What am I missing ?

Should I be using a different call or function ?

Tx

Bri

declare subroutine Run_Report

Select1 = "LIST MAIN1APP"

call Run_Report("",Select1,"CSVFILE C:\Temp\TestCSVFile1.txt")


At 27 JUL 2021 09:03PM Barry Stevens wrote:

I want to create a CSV file from a select.

according to the docs i have seen this code below should work in some capacity.

But I am getting an internal GET_PRINTER2 line 1 variable not assigned error

What am I missing ?

Should I be using a different call or function ?

Tx

Bri

declare subroutine Run_Report

Select1 = "LIST MAIN1APP"

call Run_Report("",Select1,"CSVFILE C:\Temp\TestCSVFile1.txt")

FYI: Works for me with just replacing MAIN1APP


At 27 JUL 2021 09:04PM Barry Stevens wrote:

I want to create a CSV file from a select.

according to the docs i have seen this code below should work in some capacity.

But I am getting an internal GET_PRINTER2 line 1 variable not assigned error

What am I missing ?

Should I be using a different call or function ?

Tx

Bri

declare subroutine Run_Report

Select1 = "LIST MAIN1APP"

call Run_Report("",Select1,"CSVFILE C:\Temp\TestCSVFile1.txt")

FYI: Works for me with just replacing MAIN1APP

Yes it is OI10


At 28 JUL 2021 01:07AM BrianWick wrote:

hi barry tx for checking in…

MAIN1APP is just a file name that has data

tried it with including a datafield called APPNAME.. no go

pretty basic yes

bri


At 28 JUL 2021 06:31PM Barry Stevens wrote:

What is in your SYSENV→CFG_OIPI


At 28 JUL 2021 07:48PM BrianWick wrote:

Hi Barry-

Appreciate the effort.

@FM1=:

VSPRINTER2

nothing else in the record

Bri


At 28 JUL 2021 07:59PM Barry Stevens wrote:

Hi Barry-

Appreciate the effort.

@FM1=:

VSPRINTER2

nothing else in the record

Bri

Ok, same here.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/ffcd0ae1e08a1d41af1a8a5259dd6f03.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1