|
All, I have a dspf pgm which uses embedded sql. I want to update a row the user selects using 'where current of cursor'. To do that, I first reposition the cursor with FETCH RELATIVE. Once that happens once, subsequent FETCH RELATIVE's are inaccurate because it's relative to the current position. I've tried doing another FETCH RELATIVE using the opposite value to put the cursor back where it was originally. This works but seems hokey to me. Does anyone have a solution for this? Thanks, Phil _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.