I have a report with a header, footer and detail band that works fine to print or to preview. However, when someone clicks on the printer icon for Print Preview it starts counting down to print numerous pages. I have stopped it at a few hundred. If I set step on and go through the code it will...
I have a grid on a form which contains fields from a single cursor. The users are used to vertical textboxes where the navigation would basically go down a column. Now the navigation stays on the same row (when pressing ENTER), moving horizontally. Is there a simple way to change this, or is it...
I am currently working remotely. I have code that has been in use for a very long time and has worked fine. Both machines are using Windows 10. I have narrowed down my problem to a form refresh. I have a Search button, go to another form and do the search returning a docket number, then refresh...
We are trying to convert some of our data into SQL server. Most of our data is in free tables. We have tried using the VFP upsizing wizard but had database compatibility issues, worked with Toad SQL and tried importing in SQL Server Management Studio. Is anyone who has does this successfully...
I have finally upgraded my work computer to Windows 10. I just installed VFP 9.0 and it seems to be working okay except for help. The help file location is set to the location of my dv_foxhelp.chm file and it will search for help and show topics, but the Diplay button doesn't display anything...
I have code in a checkbox (in a grid) in the interactive change method. It validates the data, but is not in Validate because I want it to happen as soon as they click in the checkbox. The value of the checkbox control source, a logical cursor field, may be changed from true to false in the...
My program which has been working for years froze up the running versions and won't load the new version. The error says the VCT is missing or invalid. The path it shows for the class isn't even in the users' mappings and never has been. They are running an EXE on another drive, which shouldn't...
Can I pass a parameter to a compiled Visual FoxPro executable? If so, how do I pass it and where do I need to put the parameters statement in my project?
We have an old program we need to use for one department. We do not have the source code. It was written in VFP6 and runs fine on our old XP computers. However, we have to upgrade everyone to Windows 7. The EXE throws Error 11 (Function argument, value or type is invalid) and gives the program...
I have a project set up. When I run the project it works fine. I have no problem building the exe, but when trying to run the exe I get the message "Class name is invalid" and it won't run. I have removed all the forms, the menu and the reports and commented out everything in the program file...
I need to create an array to fill in information on a calendar for a printout. I create the array, then populate it. It works fine in a .prg file. I put the same code in LOAD or INIT of my form and the code itself runs fine, but when finishing I get the "Objects cannot be assigned to arrays"...
I have a report in a compiled exe (FPW 2.6a with patches) running on Windows XP that has worked fine for a long time. Now I am having problems with the computer "Not Responding" whether printing or previewing the report from within the program. If I run the report outside the program with the...
I started working on a test project in anticipation of a new networked printer being used on a legacy application instead of a local printer, thinking it would be a complete no brainer. In testing, I "set printer to lpt1" on my pc which has a local printer. It still sent my print jobs to my...
I have a maintenance form consisting mainly of a grid for accounts. The file structure has a code, description, and other information including an indexed numeric field that I use so that the order can be changed to whatever the users want. That order will be used on several other forms. Is...
I am working on a query to use for a cross tab for a ledger type report. There is a receipt file - receipts.dbf, a detail file - rcptinfo.dbf, and an account description file - accts.dbf. I want each of the accounts as column headings along with other receipt information with a row for each...
I am trying to upgrade an old program (developed in dBase IV+ and converted/updated through the years) that is currently used in FoxPro for Windows 2.5 to VFP 9.0. I have converted and renamed about a hundred reports. The new part that connects to our Oracle database and looks up information...
This is more of a networking and printer question than VFP, but what is the optimal way to send large reports from VFP 9.0 to network printers? I have statements printed on letter-sized postcards, 4 per page. After the first 500 or so (250+ physical pages), I get a PCL XL error in the kernel. I...
We have a legacy program built with FPW 2.6 and another running on Oracle that need to be able to exchange and update data. We have been able to connect and manipulate data as needed using VFP 9, but we need to be able to do it from within the FPW program. Rewriting the FPW 2.6 program is not a...
I am running Foxpro 2.6a for Windows with the patches on a Linux file server with Windows 2000 operating systems. We print receipts as follows in order to get the form length, etc. to work properly:
set console off
set device to file c:\recfile
set margin to 0
@ say ...
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.