Syntax error in Access 97
Syntax error in Access 97
Hi
I'm new to GDViewer but it is working well. I'm using it in msAccess 97.
However, the line
oGDviewer.GetRectValues(ntop, nLeft, nWidth, nHeight)
says it is a syntax error.
Any ideas?
Thanks
Trevor
I'm new to GDViewer but it is working well. I'm using it in msAccess 97.
However, the line
oGDviewer.GetRectValues(ntop, nLeft, nWidth, nHeight)
says it is a syntax error.
Any ideas?
Thanks
Trevor
type mismatch error now
Hi this works - no syntax error, although I now get a type mismacth with
Dim ntop, nLeft, nWidth, nHeight As Long
Call oGDViewer.GetRectValues(ntop, nLeft, nWidth, nHeight)
What I am aiming to do is to draw a box, and immediately capture the contents to the clipboard.
Thanks
trevor
Dim ntop, nLeft, nWidth, nHeight As Long
Call oGDViewer.GetRectValues(ntop, nLeft, nWidth, nHeight)
What I am aiming to do is to draw a box, and immediately capture the contents to the clipboard.
Thanks
trevor
You need to do:
If you ommit "as long" all the properties will be affected as variant type.
Regards,
Loïc
Code: Select all
Dim nTop as long, nLeft as long, nWidth as long, nHeight As Long
Regards,
Loïc
Who is online
Users browsing this forum: No registered users and 1 guest