Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FPW26 / VFP : "BROWSE FIELDS ... PREFERENCE..." command with calculated fields

787 views
Skip to first unread message

Krier

unread,
Dec 14, 1999, 3:00:00 AM12/14/99
to
I need for my application to display calculated fields in a browse window.
I also want the preferences of the customer (order and width of columns) to
be saved in FOXUSER and restored each time we display the browse window.

Here is an example, with a 3 column table : CODE, NAME, SURNAME

BROWSE FIELDS CODE, NAME, ALLTRIM(SURNAME) PREFERENCE myPref

My problem is :
If I change the order of the calculated field ("SURNAME"), then press CTRL+W
to save my preferences, then redo the browse command, the column surname
remains in third position.

Fred Armoni

unread,
Dec 14, 1999, 3:00:00 AM12/14/99
to
Krier a écrit:


BROWSE FIELDS CODE, NAME,
calfield=ALLTRIM(SURNAME):H="title" PREFERENCE "MYPREF"

note that the preference name must be less than 10 car

HTH
--
Fred - Armoni (France)


(Almost cut my hair)

Fred Armoni

unread,
Dec 14, 1999, 3:00:00 AM12/14/99
to
I forget, it's trivial but, check your set resource is on
0 new messages