Hi again,
I just found out that it is not only a question in precision of the code. I just had "thisform.grid1.setfocus()" in the wrong place. It has to be placed before the "GOTO" command and not after it! Never the less it semms that a precise code is very impotant.
Thank you all for your...
Wow, so many helpful people, thanks a lot for the answers!!!
This one did it, thanks OlafDoschke!
I just moved from FP2.6 and since I am only a "hobby" programmer, I am lost many times.
When changing the order in an open table from the command-window the pointer does not move, that's why I was...
Mike,
hard to say, always differnet ones. e.g. when starting from recno 3977 it goes on 2931 after the click event...
And after running the form again it will point to completly different recno's. ???
Carsten.
Hi Mike,
thanks for the fast reply. Now I used "thisform.gridname.setfocus" in the headers-click-events, but that doesn't work either. I should say that I am using VFP 6.0 (SP5).
Thanks again,
Carsten.
Hello,
I created a grid that can be sorted with a headers-click-event:
set order to xxx
thisform.refresh
That works quite well, but the datapointer does not remain on the same recno(), it jumps from click to click to differnet recno's.
This one also works perfectly:
set order to xxx
go top...
Hi,
I am using VFP 6.0 (SP 5). In a form I have a textbox with the alignment property set to "center". The text however appears with the first line aligned "right" and all other lines "center".
What am I doing wrong or is there a workaround?
Thanks.
Hello,
thanks for the help. Since it seems not to be possible export a table to Excel with having the german "Umlaute" and the date in proper format I decided to proceed as follows: I use copy to type delimited with tabs to a *.txt file (that gives me the correct "Umlaute" and the date in a...
Thank you for your soon reply,
but that won't work. In the "global" settings I have set the date to german and now after your tip I also tried some different date settings in the code but I get always the same result after copy to/export the date looks like this: 01-May-99 (???). OK, if...
Hi,
when opening a *.dbf file in Excel the german "Umlaute" (special characters like ä in HTML) are not shown properly.
When using the EXPORT or COPY TO ... XLS function the german "Umlaute" are ok, but the dates have a format like "01-May-1999" which can not be used well in Excel.
Has...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.