Strange error

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 ;)
 
S

Sylvain Lafontaine

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)
 
B

Belu33fr

Hi Sylvain,
This is true in a new adp or with a new installation. I forgot: Access2003
environment with last sp
Luc
 
S

Sylvain Lafontaine

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)
 
B

Belu33fr

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top