Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5BE0F2E00BD for ; Thu, 21 Feb 2008 11:25:03 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 79233-05 for ; Thu, 21 Feb 2008 11:24:59 -0400 (AST) Received: from iserver.abag.ca.gov (iserver.abag.ca.gov [198.31.87.3]) by postgresql.org (Postfix) with ESMTP id BD0742E00BB for ; Thu, 21 Feb 2008 11:24:59 -0400 (AST) Received: from groupwise.abag.ca.gov (groupwise.abag.ca.gov [198.31.87.26]) by iserver.abag.ca.gov (8.13.6/8.13.6) with ESMTP id m1LFOtt5009275 for ; Thu, 21 Feb 2008 07:24:55 -0800 (PST) Received: from D01-MTA by groupwise.abag.ca.gov with Novell_GroupWise; Thu, 21 Feb 2008 07:24:55 -0800 Message-Id: <47BD2726020000A700006B7D@groupwise.abag.ca.gov> X-Mailer: Novell GroupWise Internet Agent 7.0.1 Date: Thu, 21 Feb 2008 07:24:22 -0800 From: "Fred Parkinson" To: ", Subject: Re: Working on problem, thanks for driver help References: <47BC61AA020000A700006B65@groupwise.abag.ca.gov> <47BD3F5D.5020001@commandprompt.com> In-Reply-To: <47BD3F5D.5020001@commandprompt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/47 X-Sequence-Number: 9399 Thanks for your reply. There is no real code involved in the issue. My main form, fMain, has a = subform, fStudent. When the user picks a student from a drop-down list on = fMain, fMain sends the subform fStudent the id of the selected student. = Upon receiving the student id, the subform makes that student record the = record displayed for editing by using the code 'Me.RecordsetClone.FindFirst= "student_id =3D " & cstr(id)' followed by (if no error) 'Me.Bookmark =3D = Me.RecordsetClone.Bookmark' This part works as desired. I have stepped through the problem and found = that this code is not run when the problem occurs, thus is not causing the = subform to move unexpectedly to the undesired record. If the user then chooses to edit the (tabbed control displayed) student = data by using the Windows operating system functions ctrl-c, ctrl-v or = ctrl-x, the form unexpectedly jumps to a new record before the ctrl-? = function acts, and the action is then applied to the new, unexpected = record! As for when it started happening, that is unclear, but probably not too = long ago. At first the users thought they were making a mistake, that = they were in error somehow, and didn't bring it to my attention until = yesterday. Clearly I need to find out if something was changed in the recent past: = upgrade to server, or to workstations (tech support has the habit of = making changes without telling anyone). One of the techs thinks that a = Win XP Office 2002 - Office 2007 compatibility upgrade was done recently = on the workstations, so I will pursue that as well as whatever else I or = others can think of. Thank you for considering my problem. Fred >>> Andrei Kovalevski 02/21/2008 1:07 AM >>> Hello, It's hard to understand your problem. When did your problem appear? = Show=20 us your ODBC + PostgreSQL relative code. Fred Parkinson wrote: > I tried 8.01.02 to replace my old one, but the problem persists. > > I will keep trying newer versions, but I thought I might post a = description of the problem in the meantime in case someone has seen it or = has suggestions. > > In my app. I have a subform which has a tab control with student = information, and the form source is table tStudents, a postgres table. > > This form is embeded in another form, fMain. > > Odd thing is, if I do a Ctrl-V to paste text into a text box on the tab, = the form moves to a new record and pastes the data there instead of to the = original record that was displayed! The form has moved to the new record = before the 'before update' event of the text box has fired. > > This happens if I paste into a box on either tab page. You don't notice = it at first because all the rest of the boxes continue to display the data = of the original record, until you click on another tab. Then all the = boxes show the new unwanted record, and there the pasted data is. > > Ctrl-X (cut) has the same problem. Things look good at first, then you = notice that you removed data from a different record that the form has = moved to! > > It doesn't happen when I copy all the postgres data into a local access = table and then use it as the record source instead of the postgres table. = This is what makes me think it may be an odbc driver issue. > > Ctrl-V and Ctrl-X are windows functions (I'm on Win XP Professional, not = sure which SP) so concievably Win is part of the problem. I will set up a = box with an earlier version of XP and see what happens. > > This app has been running smoothly for years, and through several = updates to the backend postgres database. > > Thanks in advance for any help, if I solve it I will post a solution. > > Fred > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaste --=20 Andrei Kovalevski PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated Hosting Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/=20