Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

invalid coordinate

Status
Not open for further replies.

rommeltm00

Programmer
Feb 16, 2006
56
PH
good day guys

how can i overcome this invalid coordinate, i need to print the report in text file, but it keeps on saying the invalid coordinate

any comments

thanks in advance
 
I love this kind of question. It doesn't include any code. The error message (if that's what it is) is vague. We're given no clear idea of what the problem is or how it arose. Just a vague notion that it's something to do with reports. There's nothing like a challenge to encourage replies.

OK, I'll take a stab at it. You're using @/SAY commands. The co-ordinates are outside the valid range for the screen size or physical page size. You get an error message.

Am I on the right track?

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
i have this problem when row >2855 or something like that in a tex file
solution don't use @ say create a table and use the command copy to filename.txt sdf and you wil have an ascii text file...
 
Hi,

What are the coordinate?
They must be in between -32768 and 32767.

Regards,

Jockey2


 
here is the idea i understand from rommeltm00
you need create a txt file so you use a simimilar code

set device to printer
set printer to file.txt
use mytable in 0
go top
nrow=0
do while !eof()
*here is the error when nrow match a valor of 2185 i don't now why i hope somebody know
@nrow,0 say 'line in txt file'
nrow=nrow+1
skip
enddo

so don't use @say command
use copy to file.txt sdf
where the table must have the info you need in txt file

i hope you get the idea
 
BOTH OF THEM........
I HAD THE SAME PROBLEM AND HOW I FIND A WAY OUT OF THE PROBLEM.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top