A
A Coyle
Hi
I have converted a 2000 access database to 97 and have had
trouble with a nested SQL statement.
I could not get the converted database to work so I had to
import everything into a blank 97 database (when I opened
it i got a message about converting to my version of VB,
but the code would not compile and I could not view the
references).
The statement was along the lines of (greatly simplified):
select OrderNumber from (SELECT * from jobs)
I get an error in the from clause. I get this error if I
copy and paste the above into a blank query as well as
trying to open a recordset on it (which is how I was
running it on my 2000).
Is this syntax not valid in 97? What is the valid syntax
for nesting queries like this?
I have also had trouble with the following in my VB:
me.<somecontrolName>
I had to convert to me!<somecontrolName>
dim buttons as vbMessageBoxStyle
caused an error, i had to replace with dim buttons as
integer
I was wondering if there was a reference issue that I
should be looking for, and if someone could point me to
where I can get info on this.
Thanks in advance
A Coyle
I have converted a 2000 access database to 97 and have had
trouble with a nested SQL statement.
I could not get the converted database to work so I had to
import everything into a blank 97 database (when I opened
it i got a message about converting to my version of VB,
but the code would not compile and I could not view the
references).
The statement was along the lines of (greatly simplified):
select OrderNumber from (SELECT * from jobs)
I get an error in the from clause. I get this error if I
copy and paste the above into a blank query as well as
trying to open a recordset on it (which is how I was
running it on my 2000).
Is this syntax not valid in 97? What is the valid syntax
for nesting queries like this?
I have also had trouble with the following in my VB:
me.<somecontrolName>
I had to convert to me!<somecontrolName>
dim buttons as vbMessageBoxStyle
caused an error, i had to replace with dim buttons as
integer
I was wondering if there was a reference issue that I
should be looking for, and if someone could point me to
where I can get info on this.
Thanks in advance
A Coyle