Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is the record is out of range bug fixed ?
Message
De
14/01/2005 12:24:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Is the record is out of range bug fixed ?
Divers
Thread ID:
00977259
Message ID:
00977259
Vues:
100
Can anybody check, is the record is out of range bug fixed in VFP 9.
It exists in VFP 9 beta.
I reported this at July 13, 2004 to Microsoft (Jim Saunders) but havent got any reply.

Any idea how to fix this ?

I need to edit filtered buffered table in grid and asking save for
each row. This bug breaks my application.
This occurs if at least 3 rows are visible in grid.

To reproduce:

1. Run the code
2. Press Page Down key

Observed result:

Error "Record is out of range."
ON SHUTDOWN QUIT
CLOSE DATABASES ALL

SET CONFIRM ON
SET TALK OFF
SET SAFETY OFF
SET EXACT ON
SET DELETED ON

CREATE TABLE test ( test N(1) )
FOR i=1 TO 50
INSERT INTO test VALUES (1)
ENDF
SET FILTER TO test=1
GO BOTTOM
SKIP -1

SET MULTILOCK ON
CURSORSETPROP( 'Buffering', 5, 'test')
obrowse1=NEWOBJECT("browse1")
obrowse1.SHOW
KEYBOARD '2'
READ EVENTS

DEFINE CLASS browse1 AS FORM
ADD OBJECT gridbase1 AS GRID

PROCEDURE INIT
* At least 3 rows must be visible
THIS.gridbase1.DOSCROLL(0)
THIS.gridbase1.DOSCROLL(0)
ENDPROC

PROCEDURE gridbase1.BEFOREROWCOLCHANGE(nColIndex)
TABLEUPDATE(2, .T., 'TEST' )
ENDPROC

ENDDEFINE
Andrus
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform