Can anyone give me some general ideas on why an error like
Object doesn't support this property or method: 'ZoneRS.MoveFir st'
comes up on a page?
MoveFirst is a command to move to the first record... correct?
thanks 5 7406
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.MoveFir st'
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.
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.c om...
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.MoveFir st'
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.
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.NOS PAM> 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.MoveFir st'
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.
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...
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.c om...
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.NOS PAM> 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.MoveFir st'
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 onclick="javaScript:alert('document.forms(0)='+document.forms(0));
parent.myFunc(document.forms(0));" type="button" value="Open"
name="Button" ID="Button">
The strange part is that the debug alert says that the
document.forms(0) is an object så all seem to be well. But...
|
by: tshad |
last post by:
I have a function:
function SalaryDisplay(me)
{
var salaryMinLabel = document.getElementById("SalaryMin");
salaryMinLabel.value = 200;
alert("after setting salaryMinLabel = " + salaryMinLabel.value);
}
I also have an asp.net object:
|
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 on
the "With Me.OLEObject" line (By the way, I haven't found
documentation which explains what the "With" clause is suppose to
do?). I am trying to extract a Word document(OLE object) from an
Access database, for each record in the table, and...
|
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 on
the "With Me.OLEObject" line. I am trying to extract a Word
document(OLE object) from an Access database, for each record in the
table, and save it as a Word Document. The 4th field of each record
is a OLE object type.
I may be getting...
|
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 CAB file using Verisign. I also created the LPK file for
it (using LKPTool.exe).
On my web page, I include the CAB file, and when I bring up that web page,
it asks to download it, and I download it.
After the control is downloaded, I got an...
| |
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 method 2146827850'
Does any one know why this problem occurs?
|
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 doesn't support this property or method"
Yet the Intellisense shows the following--
axMainViewJ1Obj1.AddFileJ1(ref string str);
|
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 access one of
those properties I've shown an error message saying that the Object
doesn't support this property or method. Here's the code I'm using
(edited to protect the third party NDA)
1: <%
2: dim siteApi, userApi
|
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 Recordset?
Does the Recordset support Bookmarks?
Can we use the Find and/or Seek Methods with this Recordset?
Does the Recordset support the use of Indexes?
Will the Absoluteposition property be able to be used on this Recordset?
etc....
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 we have to send another system
| |