473,508 Members | 2,367 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jul 19 '05 #1
5 7383
On Thu, 30 Oct 2003 19:25:59 -0500, "shank" <sh***@tampabay.rr.com>
wrote:
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


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.

Jul 19 '05 #2
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" <db******@nc.rr.com> wrote in message
news:lr********************************@4ax.com...
On Thu, 30 Oct 2003 19:25:59 -0500, "shank" <sh***@tampabay.rr.com>
wrote:
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


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.
Jul 19 '05 #3
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"
<ch***@blue-canoe.co.uk.NOSPAM> wrote:
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" <db******@nc.rr.com> wrote in message
news:lr********************************@4ax.com.. .
On Thu, 30 Oct 2003 19:25:59 -0500, "shank" <sh***@tampabay.rr.com>
wrote:
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


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.


Jul 19 '05 #4
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...
Jul 19 '05 #5
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" <db******@nc.rr.com> wrote in message
news:ei********************************@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"
<ch***@blue-canoe.co.uk.NOSPAM> wrote:
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" <db******@nc.rr.com> wrote in message
news:lr********************************@4ax.com.. .
On Thu, 30 Oct 2003 19:25:59 -0500, "shank" <sh***@tampabay.rr.com>
wrote:
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


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.

Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
8909
by: Olaf | last post by:
I have a frameset page witch contains the myFuc() function. The function is accessed from a page in one of the frames in the frameset. An example is shown below. <input...
54
4491
by: tshad | last post by:
I have a function: function SalaryDisplay(me) { var salaryMinLabel = document.getElementById("SalaryMin"); salaryMinLabel.value = 200; alert("after setting salaryMinLabel = " +...
4
14120
by: Otis Hunter | last post by:
I have been fighting with this for days and your expert help is needed! Below is the code I am executing which results with "Object doesn't support this property or method". The error is occuring...
0
3319
by: Otis Hunter | last post by:
I have been fighting with this for days and your expert help is needed! Below is the code I am executing which results with "Object doesn't support this property or method". The error is occuring...
0
4518
by: fniles | last post by:
I created a CAB file for a 3rd party control (StockChartX) it using CABARC.exe that comes from Microsoft SDK. In the CAB file I included the StockChartX.ocx and StockChartX.INF. Then, I signed the...
7
29732
by: stellstarin | last post by:
hi all, I have a HTML page with two forms. While trying to add a hidden element in a first form by the default javascript function, the error message 'object does not support this property or...
5
550
by: John Olbert | last post by:
Subject: Error is Object doesn't support this property or method I am trying to pass a C# string under Vs2005 (Net2) to an Vb6 ActiveX Control. I get the following runtime error-- "Object...
8
4182
by: Kevin Blount | last post by:
I'm tyring to access an object created by using a method from a third party API. The documentation tells me what object should be return, and the properties of that object, but when I try and...
0
8959
ADezii
by: ADezii | last post by:
When you create an ADO Recordset, you should have some idea as to what functionality the Recordset does/does not provide. Some critical questions may, and should, be: Can I add New Records to the...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7120
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7494
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5050
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1553
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.