Re: maxrecords property doesn't work for me
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Wed, 23 Jan 2008 14:37:40 -0500
Bob Barrows [MVP] wrote:
strSQL = "SELECT TOP 5 q.ScoreDate, q.CurrentDifferential " & _Oops, well I did miss a typo: there are two opening parens after the
"FROM (" & _
"(SELECT TOP 10 ScoreDate, CurrentDifferential FROM Score " & _
"WHERE PlayerName = '" & strPlayersName & _
"' ORDER BY ScoreDate DESC) As q " & _
"ORDER BY q.ScoreDate ASC"
Of course, I don't have access to your database so I can't test this,
but it looks like it should work, if I haven't missed any typos.
first FROM. There should only be one.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
.
- References:
- Re: maxrecords property doesn't work for me
- From: Bob Barrows [MVP]
- Re: maxrecords property doesn't work for me
- Prev by Date: Re: maxrecords property doesn't work for me
- Next by Date: Re: maxrecords property doesn't work for me
- Previous by thread: Re: maxrecords property doesn't work for me
- Next by thread: Re: maxrecords property doesn't work for me
- Index(es):
Relevant Pages
|
|