Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Table Pointer Update
Message
From
15/10/1997 00:37:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Grid Table Pointer Update
Miscellaneous
Thread ID:
00054620
Message ID:
00054620
Views:
64
I have a grid bound to an alias called "Trans". The grid has 5 columns: ItemNo, Desc, UOM, Qty, Sell_price and Total.
A user can only enter ItemNo and Qty columns.
Sell_price is taken from another table called "Stock" based on the ItemNo entered by a user. Total column will be computed after Qty value is entered.

The cursor will go down and add a new blank row after Qty value has been entered.
The occurs after I have entered two rows of data and I'm on the third row which is still blank (new row). Here is what I do :
1. Press Up Arrow once to move the cursor one row up.
2. Press Enter to move the cursor to Qty column
3. Press Down Arrow to move cursor to the new blank row (qty column)
4. Press Up Arrow twice (still in the Qty column)
After that I get the Sell_price equals to 0 (zero) ; the table record pointer is NOT updated or moved as I move the cursor of the grid. Why ?

I really appreciate your help,
Regards,
Andi Hidajat
e-mail: pkshq@cbn.net.id
Next
Reply
Map
View

Click here to load this message in the networking platform