Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Value in grid from one row carries forward to another
Message
De
30/04/2009 08:33:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
29/04/2009 20:19:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01397096
Message ID:
01397143
Vues:
66
>I have two pages on a page frame. the first page has a grid with a list of items that have backorderd
>the second page has a list of the order lines that have the backordered item
>the idea is to start out on the first page with the record pointer positioned on the item of interest. then you click to the second page
>and find one of the lines that you want to change a value for - in the column we call 'reserved'. so say for example
>we highlight item A in the first page, then we click to activate the second page. in the page activate
>I set a filter to citemno = 'A' in the order line items cursor
>then, I key in a value in the reserved column, say 30.
>now, I click back to the first page, scroll down to item D, for example.
>then I click to activate the order lines page. the first line in the grid, in the reserved column, always has the PREVIOUS value that I keyed in for a different item.
>
>i hope this is enough info to explain the problem. any ideas appreciated.

A Refresh() may be missing. Note that when you do, e.g., ThisForm.Refresh(), only the active page will be refreshed for any PageFrame. Pressumably, this is designed thus for efficiency. You can do an additional Refresh() when you activate a page.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform