Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to delete a cursor? Or should I?
Message
De
25/06/2002 04:04:53
 
 
À
25/06/2002 02:35:35
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00671900
Message ID:
00671917
Vues:
16
Hi Vladmir,
I know is virtual
but when i skip record, it saids it cannot update the temporary data field (I am translating it from chinese, which I think temporary cursor). I am pretty sure is the cursor or the temporary virtual data storage which is the problem using code isolation. would you have any idea what I might be doing wrong.
this is what i am doing

combo box A --controling via SQL --> combo box B --on click event, combo box B acts as a criteria--> text box A

From A to B is working fine, the cursor stuff is ok... But from combo B to text A, I tried using something like,

local displayscr
displayscr = 'select * from abc where'
displayscr = displayscr + alltrim(str(combo box B.value)) = some field.
somethjing like that, up to this part, I have ensure combo box is returning the value i need and SQL look fine.
now after adding..
displayscr = displayscr +'into cursor dis'

&displayscr

textboxA.value = dis.field1

this does what is required, but during record navigation, it errors on me
would you have any ideas on how to solve this?

Thanx lots~
Tom
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform