Gene I would like to see an actual situation where set filter is preferable over select() according to you. Regards Koen
Op wo 15 mei 2019 om 19:49 schreef Gene Wirchenko gene@shaw.ca
At 02:00 2019-05-15, Koen Piller koen.piller@gmail.com wrote:
Hi, The use of 'Set Filter' in VFP is outdated. Nowadays we use Select....from...Where...into
Who is "we"? Your select statement does not do the same thing. I use setfilter to check for data having certain properties especially when I am likely to change said data. It is excellent for when I wish to diddle some data to force an error condition during program testing.
Many xBASE commands are very good for use in exploration,debugging, testing, and the like.
[snip]
Sincerely,
Gene Wirchenko
[excessive quoting removed by server]
I totally agree with Gene. xBase was originally developed for interactive use, and those commands are just perfect for hacking around in real live data. No clumpsy and verbose SQL statements, just USE your data and massage it as you want.
I often also do some ON KEY LABEL xx REPLACE / STUFF / STRTRAN and visually skip through a BROWSE and if I find a culprit I then just press my F-Key for some magic...
Believe me, xBase commands are even better than sliced bread! <g>
wOOdy
-----Ursprüngliche Nachricht----- Von: ProFox profox-bounces@leafe.com Im Auftrag von Koen Piller Gesendet: Mittwoch, 15. Mai 2019 20:02 An: ProFox Email List profox@leafe.com Betreff: Re: Filtering Oddity
Gene I would like to see an actual situation where set filter is preferable over select() according to you. Regards Koen
Woody And where is set filter in this respect? Browse is not for end users, with a grid you are better of. Koen
Op wo 15 mei 2019 om 20:32 schreef juergen@wondzinski.de
I totally agree with Gene. xBase was originally developed for interactive use, and those commands are just perfect for hacking around in real live data. No clumpsy and verbose SQL statements, just USE your data and massage it as you want.
I often also do some ON KEY LABEL xx REPLACE / STUFF / STRTRAN and visually skip through a BROWSE and if I find a culprit I then just press my F-Key for some magic...
Believe me, xBase commands are even better than sliced bread! <g>
wOOdy
-----Ursprüngliche Nachricht----- Von: ProFox profox-bounces@leafe.com Im Auftrag von Koen Piller Gesendet: Mittwoch, 15. Mai 2019 20:02 An: ProFox Email List profox@leafe.com Betreff: Re: Filtering Oddity
Gene I would like to see an actual situation where set filter is preferable over select() according to you. Regards Koen
[excessive quoting removed by server]
We don't talk about endusers, we are the experts. Experts are using data directly and edit directly in a browse. PAH!!
wOOdy
-----Ursprüngliche Nachricht----- Von: ProFox profox-bounces@leafe.com Im Auftrag von Koen Piller Gesendet: Mittwoch, 15. Mai 2019 20:37 An: ProFox Email List profox@leafe.com Betreff: Re: Filtering Oddity
Woody And where is set filter in this respect? Browse is not for end users, with a grid you are better of. Koen
Agree
Op wo 15 mei 2019 om 20:40 schreef juergen@wondzinski.de
We don't talk about endusers, we are the experts. Experts are using data directly and edit directly in a browse. PAH!!
wOOdy
-----Ursprüngliche Nachricht----- Von: ProFox profox-bounces@leafe.com Im Auftrag von Koen Piller Gesendet: Mittwoch, 15. Mai 2019 20:37 An: ProFox Email List profox@leafe.com Betreff: Re: Filtering Oddity
Woody And where is set filter in this respect? Browse is not for end users, with a grid you are better of. Koen
[excessive quoting removed by server]
Gene and Woody's point is that XBASE tools are quite useful for us when developing/testing, not that they are necessarily preferable for production code.
--
rk
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Koen Piller Sent: Wednesday, May 15, 2019 2:37 PM To: profoxtech@leafe.com Subject: Re: Filtering Oddity
Woody And where is set filter in this respect? Browse is not for end users, with a grid you are better of. Koen
Op wo 15 mei 2019 om 20:32 schreef juergen@wondzinski.de
I totally agree with Gene. xBase was originally developed for interactive use, and those commands are just perfect for hacking around in real live data. No clumpsy and verbose SQL statements, just USE your data and massage it as you want.
I often also do some ON KEY LABEL xx REPLACE / STUFF / STRTRAN and visually skip through a BROWSE and if I find a culprit I then just press my F-Key for some magic...
Believe me, xBase commands are even better than sliced bread! <g>
wOOdy
-----Ursprüngliche Nachricht----- Von: ProFox profox-bounces@leafe.com Im Auftrag von Koen Piller Gesendet: Mittwoch, 15. Mai 2019 20:02 An: ProFox Email List profox@leafe.com Betreff: Re: Filtering Oddity
Gene I would like to see an actual situation where set filter is preferable over select() according to you. Regards Koen
[excessive quoting removed by server]
_______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/CACUu1St0wHMWVUoBryE1AqpLFXHQFpkHtnLN0z7sa9... ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious. Report [OT] Abuse: http://leafe.com/reportAbuse/CACUu1St0wHMWVUoBryE1AqpLFXHQFpkHtnLN0z7sa9FvWn...
Le 15/05/2019 à 20:36, Koen Piller a écrit :
Woody And where is set filter in this respect? Browse is not for end users, with a grid you are better of. Koen
NO !
having begun with Fox Dos, I am very easy with command lines, on key label, browse, ... a lot more easy than using the mouse ! And using a grid means that you have built a form : an extra work that can be easily avoided with the command window !!
The Foxil