Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 09:20 AM
shank
Guest
 
Posts: n/a
Default Object doesn't support this property or method: ZoneRS.MoveFirst'

Can anyone give me some general ideas on why an error like

Object doesn't support this property or method: 'ZoneRS.MoveFirst'

comes up on a page?
MoveFirst is a command to move to the first record... correct?
thanks


  #2  
Old July 19th, 2005, 09:21 AM
Dan Brussee
Guest
 
Posts: n/a
Default Re: Object doesn't support this property or method: ZoneRS.MoveFirst'

On Thu, 30 Oct 2003 19:25:59 -0500, "shank" <shank@tampabay.rr.com>
wrote:
[color=blue]
>Can anyone give me some general ideas on why an error like
>
>Object doesn't support this property or method: 'ZoneRS.MoveFirst'
>
>comes up on a page?
>MoveFirst is a command to move to the first record... correct?
>thanks
>[/color]

For a recordset object, it is. Post the connection code and the code
you use to set the ZoneRS recordset. If the recordset is not
instantiated (failed SQL statement???) the Recordset object is not
there, so what you have is a variant - and variants do not have
MoveFirst methods.

  #3  
Old July 19th, 2005, 09:21 AM
Chris Barber
Guest
 
Posts: n/a
Default Re: Object doesn't support this property or method: ZoneRS.MoveFirst'

It may be a forward-only 'firehose' cursor (default if no other cursor and
cursor location specified) in which case that error is correct - moving
backward through the recordset wouldn't be supported.

Chris.

"Dan Brussee" <dbrussee@nc.rr.com> wrote in message
news:lrc3qvs3ft0gq1b7fbssnjiadlf3ca97g3@4ax.com...
On Thu, 30 Oct 2003 19:25:59 -0500, "shank" <shank@tampabay.rr.com>
wrote:
[color=blue]
>Can anyone give me some general ideas on why an error like
>
>Object doesn't support this property or method: 'ZoneRS.MoveFirst'
>
>comes up on a page?
>MoveFirst is a command to move to the first record... correct?
>thanks
>[/color]

For a recordset object, it is. Post the connection code and the code
you use to set the ZoneRS recordset. If the recordset is not
instantiated (failed SQL statement???) the Recordset object is not
there, so what you have is a variant - and variants do not have
MoveFirst methods.


  #4  
Old July 19th, 2005, 09:21 AM
Dan Brussee
Guest
 
Posts: n/a
Default Re: Object doesn't support this property or method: ZoneRS.MoveFirst'

I hontestly have not tested the thought, but I figured if the user had
an real recordset, it would "have" the MoveFirst method even if it
generated an error when it was used. In other words, the MoveFirst
method is defined, but not allowed for Forwared Only recordsets. Does
this make sense?


On Fri, 31 Oct 2003 02:02:54 -0000, "Chris Barber"
<chris@blue-canoe.co.uk.NOSPAM> wrote:
[color=blue]
>It may be a forward-only 'firehose' cursor (default if no other cursor and
>cursor location specified) in which case that error is correct - moving
>backward through the recordset wouldn't be supported.
>
>Chris.
>
>"Dan Brussee" <dbrussee@nc.rr.com> wrote in message
>news:lrc3qvs3ft0gq1b7fbssnjiadlf3ca97g3@4ax.com.. .
>On Thu, 30 Oct 2003 19:25:59 -0500, "shank" <shank@tampabay.rr.com>
>wrote:
>[color=green]
>>Can anyone give me some general ideas on why an error like
>>
>>Object doesn't support this property or method: 'ZoneRS.MoveFirst'
>>
>>comes up on a page?
>>MoveFirst is a command to move to the first record... correct?
>>thanks
>>[/color]
>
>For a recordset object, it is. Post the connection code and the code
>you use to set the ZoneRS recordset. If the recordset is not
>instantiated (failed SQL statement???) the Recordset object is not
>there, so what you have is a variant - and variants do not have
>MoveFirst methods.
>[/color]

  #5  
Old July 19th, 2005, 09:21 AM
shank
Guest
 
Posts: n/a
Default Re: Object doesn't support this property or method: ZoneRS.MoveFirst'

Thanks to all..!
I took your suggestions and picked the page apart..
Ended up scrapping it and rebuilding. It now works.
I hate not know what I did wrong...
sigh...


  #6  
Old July 19th, 2005, 09:21 AM
Chris Barber
Guest
 
Posts: n/a
Default Re: Object doesn't support this property or method: ZoneRS.MoveFirst'

There is a cursor type and a cursor location that can be specified when you
open the recordset. A 'firehose' (forward-only, server-side cursor) is the
fastest type of recordset to request and traverse and is thus the default.

http://www.adopenstatic.com/faq/jetcursortypes.asp

I don't know how the MoveFirst restriction is implemented - I would presume
an error is raised.

Hope this helps.

Chris.

"Dan Brussee" <dbrussee@nc.rr.com> wrote in message
news:eii3qv4m51deuoirep41283b5hcj03dmr0@4ax.com...
I hontestly have not tested the thought, but I figured if the user had
an real recordset, it would "have" the MoveFirst method even if it
generated an error when it was used. In other words, the MoveFirst
method is defined, but not allowed for Forwared Only recordsets. Does
this make sense?


On Fri, 31 Oct 2003 02:02:54 -0000, "Chris Barber"
<chris@blue-canoe.co.uk.NOSPAM> wrote:
[color=blue]
>It may be a forward-only 'firehose' cursor (default if no other cursor and
>cursor location specified) in which case that error is correct - moving
>backward through the recordset wouldn't be supported.
>
>Chris.
>
>"Dan Brussee" <dbrussee@nc.rr.com> wrote in message
>news:lrc3qvs3ft0gq1b7fbssnjiadlf3ca97g3@4ax.com.. .
>On Thu, 30 Oct 2003 19:25:59 -0500, "shank" <shank@tampabay.rr.com>
>wrote:
>[color=green]
>>Can anyone give me some general ideas on why an error like
>>
>>Object doesn't support this property or method: 'ZoneRS.MoveFirst'
>>
>>comes up on a page?
>>MoveFirst is a command to move to the first record... correct?
>>thanks
>>[/color]
>
>For a recordset object, it is. Post the connection code and the code
>you use to set the ZoneRS recordset. If the recordset is not
>instantiated (failed SQL statement???) the Recordset object is not
>there, so what you have is a variant - and variants do not have
>MoveFirst methods.
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles