Hello,
I have created a split database. The frontend interface is working fine on some systems. But on one system it shows this error: "rowset does not support scrolling backward". I am not sure why it is creating problem on only one system at this time.
I tested it on my system and on others too. Never showed any error while submitting or retrieving a record.
Please help!!!
9 3095 zmbd 5,501
Recognized Expert Moderator Expert
SriKumar,
You have not given us any information about the PCs, the database, what it is that you are attempting to accomplish and so forth...
Please read your post, from the viewpoint of someone that knows nothing about your organization, could you provide an answer?
I have to agree with zmbd here. First off, that doesn't sound like a error message I have ever heard before. Access usually user RECORDSETs not Rowsets. This might just be because you are translating it from a non-english language.
Are you using a normal form, with a recordsource? Are you using code? Macros?
What version of access are used on the systems? What versions of access is the frontend and backend file?
Sorry zmbd & TheSmileyCoder about half information on my problem.
Database: Access Database with tables - DB is in one of the shared folders.
Frontend UI: Access file with forms and VBA codes.
Both FE & BE are in Access 2010 version.
Code used is: - Private Sub Check_Click()
-
Dim Conn As ADODB.Connection
-
Dim myRecordset As ADODB.Recordset
-
Dim strConn, str As String
-
-
DoCmd.OpenForm "Retrieving", acNormal, "", "", acReadOnly, acNormal
-
DoCmd.RepaintObject acForm, "Retrieving"
-
-
Set Conn = New ADODB.Connection
-
Set myRecordset = New ADODB.Recordset
-
Conn.Provider = "Microsoft.ACE.OLEDB.12.0;Jet OLEDB:Database Password=sree"
-
Conn.Open "Path to DB"
-
myRecordset.Open "Select * From [Tracker DB]", Conn, adOpenStatic, adLockOptimistic
-
-
SChk.SetFocus
-
str = SChk.Value
-
myRecordset.Find "[Reference Number] = " & SChk
-
Me.STCH.Visible = False
-
-
If Not myRecordset.EOF Then
-
Me.Box.Visible = True
-
Me.UON.Visible = True
-
PON.Value = myRecordset(1)
-
Me.PON.Locked = True
-
Line.Value = myRecordset(2)
-
Me.Line.Locked = True
-
SchLine.Value = myRecordset(3)
-
Me.Line.Locked = True
-
PN.Value = myRecordset(4)
-
Me.PN.Locked = True
-
Plt.Value = myRecordset(27)
-
CQ.Value = myRecordset(5)
-
USDCost.Value = myRecordset(6)
-
USDCFU.Value = myRecordset(7)
-
Exchange.Value = myRecordset(8)
-
USDTCF.Value = myRecordset(9)
-
Cost.Value = myRecordset(80)
-
CF.Value = myRecordset(81)
-
TCF.Value = myRecordset(82)
-
POD.Value = myRecordset(11)
-
POCD.Value = myRecordset(12)
-
SN.Value = myRecordset(13)
-
Backup.Value = myRecordset(14)
-
ReOp.Value = myRecordset(17)
-
DisPo.Value = myRecordset(18)
-
SSBOQty.Value = myRecordset(19)
-
SSBOFee.Value = myRecordset(20)
-
Status.Value = myRecordset(21)
-
Comments.Value = myRecordset(22)
-
UON.Value = myRecordset(24)
-
-
Else
-
DoCmd.Close acForm, "Retrieving"
-
Me.RefNAvaiAlert.Visible = True
-
Me.AlertRef.Visible = True
-
Me.AlertRef.Value = Form_PO_Cancellation_Request_Form.SChk
-
Me.SChk.Value = ""
-
-
End If
-
myRecordset.Close
-
-
DoCmd.Close acForm, "Retrieving"
-
End Sub
-
Please let me know if you need more information on the issue.
Thanks much for your comments.. :)
Thanks for those updates. Much better.
A final bit of missing information from your post now is on which line the error occures.
I am going to assume the "Path to DB" is just you censoring your information. :)
I usually use DAO instead of ADODB, so I am a bit rusty on the cursors, but I thought the static cursor did support backwords scrolling, so thats odd. Also as far as I can see you only perform one navigation which would have to be forwards...
I am going to guess the error occurs on line 17, if not the following suggestions may not apply:
Try changing the recordset type, just to make sure if that makes a difference.
and / or
DAO has a FindFirst and a Findnext method, I can't recall if ADODB has the same, if it does you could try using those instead, and see if it makes a difference.
Hey TheSmileyCoder,
As you mentioned, error occurs on line 17. I tried changing to FindFirst but it says: Compile Error: Method or data member not found.
Also, I have one question... This code works on many other systems but not on one system with whom we are facing this issue. Is there any solution you can recommend there?
Hi SriKumar
The FindFirst is probably just in DAO then, and actually shouldn't matter as you explain its working on other systems.
Do each user have their own frontend on their own PC or do they share a frontend file on a network share?
If they have their own frontend file, try giving user a new frontend file (You probably allready have, but if haven't try it)
Other then that I can only give general vague advice really. Make sure that both you and the user in question has the same version of Access installed (including service packs). Make sure the user has all updates. Do you both use the same operating system version?
Does the user have the same rights as you (or other users) to the folder in which the backend resides?
Check that the user has the same version(s) of all referenced library's in the vba project.
Other then that....good luck
Hi TheSmileyCoder,
Thanks much for quick response...
I will check all the points with that user and let you know on the outcome.
Hi TheSmileyCoder,
I have checked all the points with the user. - Do each user have their own frontend on their own PC or do they share a frontend file on a network share?
- Yes, user has his own file on this desktop.
- If they have their own frontend file, try giving user a new frontend file (You probably allready have, but if haven't try it)
- tried this one too.
- Other then that I can only give general vague advice really. Make sure that both you and the user in question has the same version of Access installed (including service packs). Make sure the user has all updates. Do you both use the same operating system version?
- We both have same Access Version. But I developed this DB in WIN7 system and user have xp.
- Does the user have the same rights as you (or other users) to the folder in which the backend resides?
- We both have change permission to the folder.
- Check that the user has the same version(s) of all referenced library's in the vba project.
- Library references are matching.
Now I am stuck badly ... :(
Im quite sorry to hear that. I really have little else to offer at this point.
Your other users do they also use Win XP or is this the only user who uses Win XP? (To be honest I don't think this is related, but I have nothing better to suggest)
Make sure that the user has a fully updated system. If nothing else helps, try to get him to reinstall access if possible.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Hon Seng Phuah |
last post by:
Hi,
I am quite new to perl development and have a question very stupid
question. I hope that someone can help me.
Does perl support in/out parameter subroutine? Like in C/C++, we have
a...
|
by: Bill Davidson |
last post by:
Hi there,
Please forgive me for posting this article on multiple groups.
Being new in the newsgroups, I was not sure which group would
have been appropriate for my question. Sorry.
My...
|
by: Mark Horrell |
last post by:
I'm having problems getting scrollbars to appear using the 'scrolling'
attribute of the 'iframe' tag, and I'm wondering if anyone can help
me.
I would expect the following code to produce a...
|
by: al jones |
last post by:
I guess one question at a time will work better.
URL http://aljones.us (yes, I'm back again)
I'd like to cause this whole page to fill the viewable window if I can.
Meaning that I'd like the...
|
by: David Bray |
last post by:
I have an Access database on an ISP's web-space which is accessed
through ASP - all standard stuff.
Can anyone tell me whether ASP's object.context methods for
transactions will work with...
| |
by: Buck Rogers |
last post by:
Hi guys!
Does anyone have a link to a site that provides up to date
programming book reviews?
I looked through the reviews at:
http://www.accu.org/bookreviews/public/index.htm
...
|
by: Will Pittenger |
last post by:
I have a project where the backend is Access. I have learned (slowly) to
use OLEDB to access my data. However, to save changes, I need to generate a
SQL statement. This seems clunky. I am used...
|
by: Molina |
last post by:
Hi !!!
I have a VB.Net application that consumes an WebService. The problem is that
the HTTP address works fine, but it will change to an HTTPS address, and it
isn't working.
The weird thing...
|
by: Chris Sharman |
last post by:
Anyone know a good, current reference ?
I found Meyer's table (now moved to
http://www.ddj.com/webreview/style/css1/charts/mastergrid.shtml ) and
it's 5 years since the last update.
Most other...
|
by: Divick |
last post by:
Hi all,
can somebody tell how much std::wstring is supported across
different compilers on different platforms? AFAIK std::string is
supported by almost all C++ compilers and almost all platforms,...
|
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...
| |
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,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
|
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,...
|
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...
| |
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...
|
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 ...
| |