----- Original Message -----
Sent: Thursday, September 29, 2005 10:49
AM
Subject: [RBG7-L] - RE: cursor is not
positioned on a valid row
Jan,
Proabably because you deleted the row where the
cursor is expected to be. If you're deleting the row in code
(delete rows from table where x = x), then you need to refresh the data.
After you delete a row, issue a PROPERTY TABLE tablename 'REFRESH'. That
will re-fetch the rows and position the cursor on the next available row. You
should do the same if you INSERT into the table from code (as opposed to
adding a blank row using F2 or a predefined Add Row eep.)
Dawn
OK, now what have I
done??? I have a form which has a variable lookup listbox and 2 bit
buttons, one to add and one to delete. I can add subcategories all day
and the list refreshes properly. However, if I delete more than one
subcategory, I get the dreaded error 2378. My listbox is based on a 2
table view which links the customer and subcategory ID from one table to the
subcategory ID and subcategory description from another, so that only the
subcategory's description for that customer is displayed in the listbox.
Can anyone explain what causes this error message or what I can do to resolve
this? Thanks very much!
Jan
Barley