Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
>select * from yourtable where [a very simple condition here] into cursor blabla
>That should give you a filtered cursor, but I'm not sure if/when would you get the dbf('blabla') equal to dbf('yourtable'). I just know I saw it a few times in VFP5 (or was it 2.6?) and I'm usually creating cursors with Nofilter whenever I need the file.
I thought I had done that and gotten a .tmp file, but I could be mistaken. I was trying a lot of things at once. :)
>You might have used a Session object instead, but then form may have other advantages. Seems to be you've taken a shot at a very strange thing and it seems you're on the right track. Just let us know how you solved it in the end. This is becoming very interesting.
What I did was put all the code in the init of the form and then return .F. So far it's working well. I'm doing more testing as we speak to try and catch any glitches.
Thanks,
Michelle
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement