Strange error

  • Thread starter Thread starter Belu33fr
  • Start date Start date
B

Belu33fr

Hi,
In a report if I write in a onprint event
dim rpt as report
set rpt=me
rpt.drawmode=1
rpt.line (x1,y1) - (x2,y2)

all is fine

if I write
dim rpt as report
set rpt=me
with rpt
.drawmode=1
.line (x1,y1) - (x2,y2)
end with
the compilator makes an error on the .line parameters

strange ;)
 
Maybe a corruption problem: did you try to fully decompile your database
using the options « /decompile /compact /repair » (do it twice to be sure)
or to create a blank database project and import everything into it?

--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
Independent consultant and remote programming for Access and SQL-Server
(French)
 
Hi Sylvain,
This is true in a new adp or with a new installation. I forgot: Access2003
environment with last sp
Luc
 
Did yo try it or not?

--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
Independent consultant and remote programming for Access and SQL-Server
(French)
 
Yes, I did it

Sylvain Lafontaine said:
Did yo try it or not?

--
Sylvain Lafontaine, ing.
MVP - Windows Live Platform
Email: sylvain2009 sylvainlafontaine com (fill the blanks, no spam please)
Independent consultant and remote programming for Access and SQL-Server
(French)
 
Back
Top