home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!hal.com!decwrl!deccrl!news.crl.dec.com!pa.dec.com!nntpd2.cxo.dec.com!tincup.enet.dec.com!lindsey
- From: lindsey@tincup.enet.dec.com (Randy Lindsey)
- Newsgroups: comp.databases
- Subject: Re: Query Question:
- Message-ID: <1992Jul30.220432.3431@nntpd2.cxo.dec.com>
- Date: 30 Jul 92 23:02:37 GMT
- References: <BryqL8.4AF@acsu.buffalo.edu>
- Sender: usenet@nntpd2.cxo.dec.com (USENET News System)
- Organization: Colorado Software Solutions, Inc.
- Lines: 22
-
-
- In article <BryqL8.4AF@acsu.buffalo.edu>, v125qmam@ubvmsb.cc.buffalo.edu (Ami R Pflugrad) writes...
- >
- > Under Foxpro 2.0, If The User makes a change to a record
- > in a cursor. What is the best/fastest way to make the
- > change in the original database? I Tried re-selecting the
- > original database and seeking on the indexed expression, but
- > since it is no longer unique, It is not always returning to
- > the correct one.
- >
- >Thanks.
- >
- >Ami
-
- Try to include the record number from the original database into the field
- list of your select statement. I haven't tried this, but perhaps use
- RECNO() in the SELECT statement? Anyway, that gets you back to the
- original record quickly and reliably. You can even SET RELATION on that,
- so you don't have to GOTO the record, Foxpro does it for you.
-
- Good luck,
- Randy
-