These two statements seem to contradict each other:
If you can't check the filter, how do you know that x is correct?
Anyway, it seems that you are saying that the "GO" statement (except a GO to a particular record number) erases the filter in a program but not in the command window.
Teresa
What is the value of myfilter? And, if you have created a logical condition as a string, such as:
myfilter = "field1 = 5"
don't you have to use macro substitution? Such as:
SET FILTER TO &myfilter
Teresa
Bart,
One other thing to note (maybe you know this already) is that a setting you "tick" in the "Tools, Options" window will not stick the next time you start VFP unless you've clicked the "Set As Default" button on the Options window.
Teresa
Have you tried the Picture/OLE Bound control on your report? I have used this to retrieve a general field that contains a rich text document. In my case, the text is static and not generated from data in a table as it seems you need to do. I found a Microsoft article on generating a Word...
Carolx,
Just throwing this out there; not sure if it will help. I ran into "Position is off the screen" errors in FoxPro 2.6 for Windows that were caused by an old font. I changed all "MS Sans Serif" to "Microsoft Sans Serif" and the errors went away.
Teresa
The following was tested in FoxPro 2.6 for Windows. I do not know if it works in FoxPro for DOS.
You can add a VALID clause to each of the @ GET lines so that the total will be recalculated as the user leaves each of the QTY or PRICE fields.
This shows the revised code:
@ 5,67 GET mqty1...
Tkee,
You mentioned using ON KEY LABEL to do a keyboard Tab and PgDn. I experimented with that and couldn't exactly get it to work and it seemed to get caught in a loop (even if I attempted to clear out the ON KEY LABEL for PGDN).
However, looking at the help for READ in FoxPro 2.6a, I found...
Not sure if this will be the solution, but your problem of an app causing an error on only one PC reminds me of a problem I had (and solved):
thread1252-1320770
Teresa
Well, if 254 characters worked, it wouldn't be a bug now, would it? :-)
Same thing in VFP 9, too, and I have to remove W10, W11, W12, and W13 before the dialog will appear. (In that instance, the expression string is only 71 characters. Still not 254 but also not 84, either!) Strange!
Teresa
Neil,
Don't have an answer for you, but some observations:
I see this odd behavior in VFP 9 (SP1), too, and cannot make it go away by first assigning the file extensions string to a variable! It doesn't seem to be tied to the number (22 or more) of extensions but the length of the string...
Mike,
No need to apologize. This has given me an idea for something to try in one of my legacy 2.6a apps (even if it uses the RUN command instead of something fancier...)
BTW, there is a DECLARE in 2.6a but it is for arrays. There is no DECLARE for dlls in 2.6a.
Teresa
Mike,
Did you intend that your sample code could be run from a FoxPro Windows 2.6a prg? I got a syntax error on the first line when I tried it. Or am I misunderstanding your response to Tkee?
Teresa
I was referring to rule #3 when I said "Could it be the 'TO contains "(yourname)@wmata.com' condition?" I was considering your comment that the Tek-Tips email didn't go into the "all_in" folder. Perhaps GroupWise doesn't see mail coming from Tek-Tips as having a "To" of (yourname)@wmata.com...
Could it be the 'TO contains "mgilliam@wmata.com' condition? I've had to use my first & last name (display name) in rules (even though Tek-Tips or whomever only knows my email address).
Teresa
A quick Google search revealed at least a couple of things:
Sys(30) is a Unix command, not a FoxPro command
A substitute for sys(30) is getenv('LOGNAME')
I hope that helps!
Teresa
If anyone is interested, I did find a solution. I discovered that in fact this particular PC had been changed after the image was loaded. A VFP application from an outside source had been installed and its config.fpw was messing up my application. I have never used config.fpw files, but all I...
When you say "VFP is controlling the field with the invalid input" are you referring to the "Invalid Date" window that pops up?
Maybe this thread that suggests setting NOTIFY to OFF will help?
thread184-1296720
Is your "Save" button in a toolbar? Toolbars do not receive focus, so you may...
A few years ago, I ran across a difference between FOX2X and FOXPLUS files. I found that Access was unable to import FOX2X files that contained memo fields, but yet it could import FOXPLUS files. I never tried to figure out why.
Teresa
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.