Answer Questions
Adam24 runing total in vfp report
hi; how i print runing total in vfp report thanking you >> how i print runing total in vfp report Use a report variable to accumulate it as the detail lines are processed. If you need more information you'll have to give us a lot more than you have here... ...Show All
AaronSchurg return from a form.
Still struggling to communicate with some of my secondary forms. This problem, again, happens only in StartMode = 4. Everything is fine interactively. LOCAL cUserReturn AS String DO FORM <formName> WITH par1, par2 TO cUserReturn. I get an error message that there is operand/operator type mismatch. I tried to define cUserReturn as Variant - the same thing. The expected type of return is String . According to the Help FoxPro is s ...Show All
thmccarthy Embed a report into a form…
i would like to Embed a report into a form… Is this possible If so how Thanks Sammy Not quite sure what you mean here. A report is either printed, run to file, or run to preview. The preview, by default is its own self-generated window, but you can specify the output destination with the PREVIEW IN WINDOW clause. However, you cannot use a form as the destination for output - a VFP fo ...Show All
Stormblade MSComctlLib.TreeCtrl.2 BackColor ???
MSComctlLib.TreeCtrl.2 does not have BackColor property. Is it possible to define one (it is of course possible) and actually make it functionable Thanks. Unless you're the only one who'll be using your applications, you shouldn't introduce any colors that the user hasn't chosen in the Windows Display Properties dialog. Doing so raises several problems: 1) The colors you add may be incompatible with the user's Windows colors, re ...Show All
mauricio agudelo GRID REFRESH
Im having problems refreshing a grid.i have placed a table in data enviroment.then i drag and dropped all of his items creating a grid.then in a button i have a select...where..into this table.this way i put new values in the table,basically i overwrite the entire table.at that time grid becomes white,no values i tried grid.refresh nothing i tried to grid.recordsource="" select where into... grin.recordsource=mytable still nothing is there ...Show All
obixena Cursor help
Hi I am new to foxpro and have a question reguarding cursors. I am using VFP 9.0. I am working with a local VFP data base. As I understand it a cursor is a recordset created by a SQL statement that is stored in memory (or also on the hard drive if it is to big to fit into memory) on the client computer that the application is running on. I also understand if it uses the hard drive for temporary files that they will be deleted when t ...Show All
Shams Zia Report Form noreset
I have a series of reports to chain together in a FOR loop. For simplicity, I tried to issue a single REPORT FORM with a NORESET. The first time I run the report in the app, the first page of the report is 1. If I run the same report again, the first page is not 1. It will not revert to 1 again until I exit VFP and re-run the app. I am using the ReportListener. The RL object is created on each report run, and released a ...Show All
Mike Graser [noob questions] Arrays..
Aaaaaaaaaaaaaaaarrrrgggghhhhhgadsfhasdjhf 1. Is foxpro incapable of returning an array from a function by using the return statement 2. Does foxpro have a function that merges 2 arrays 3. How do you pass an array as an argument to a function in a class when the array is a class variable For example: define class test as Custom dimension Arr(1) procedure asdf(tmpArray, tmp ...Show All
PascalJC Spacing columns in a grid.
Is there a way to set up grids so there is a slight margin between the columns (I'd like a little space between the text of the control and the left grid line) I can't use the margin property though because its not just for the left side of the control but all around. Thx, Aleniko They probably wasted, and hour and half over this, then decided it will be better to go over the core functionality a d ...Show All
Dmitry N. Oleshko Create a Directory
How can i create a directory when the app begins but validating if the directory exists avoiding an error code thanks a lot! Hi Christof, Your #1 comment is not true. MKDIR "C:\Customer1\Data" DIRECTORY ("C:\Customer1\Data") && .T. And in VFP8 and up, you can pass a second parameter to DIRECTORY(): DIRECTORY ( GETENV ("APPDATA"),1) && .T. *//ummh, may be somethin like th ...Show All
newbie_lg Use Customer VB Functions with FoxPro
Hi there, I have heard that you can create a custom Class Library DLL in Visual Basic to be included in FoxPro 9.0. I have custom code to manipulate PDF's and would like have access to the classes in a FoxPro interface. Does anyone know how to do include a DLL Thanks for the help. Andy: Now you've got me doubting. Just as you, I have never created a COM object other than in VFP. My work in other languages ( ...Show All
roughfalls Pageframe Control
Hello, New problem with pageframe. I have many pages on a pageframe. When I click "add button" the controls on the page are not active and I cannot enter any info. I have used the this.refresh() in activate event for all pages and also this code in the refresh method for the pageframe. LOCAL lnPage FOR lnPage = 1 TO this.PageCount this.Pages(lnPage).Refresh() ENDFOR Please can anyone guide me Thanks in advance, Malini Hi >&g ...Show All
Ach25572 My software helps young woman win Microsoft's "Start Something New" Competiton!
A customer of mine won an award from Microsoft using my software today. Bill Gates met with her and received a crash course in my program . Pretty wild. Again not a programming message but you all helped me make this program the best it could be and it is nice to see it on Microsoft's web site : htt p://www.mi crosoft.co m/windowsx p/homeuser s/awards/s ports.mspx Don Higgins Don Higgins www.crewchiefpro.com ...Show All
Hyperiest [URGENT] help extracting FoxPro DBF Encrypted fields
Hi everyone. I'm working with a Foxpro DBF database, but I'm not using Visual Foxpro to read the data. I'm doing this from C#.Net. In fact .. I've never really used Foxpro before. My problem is as follows: In C# and Crystal Reports .. a lot of the string fields simply return blank strings (i.e. "") When I view the table in FoxPro, they are fixed-width character fields, and browsing the table shows that they contain a bunch of special A ...Show All
MrYanda0 How to open a form each time w/different random image
Greetings everyone, Each time the form is called it should display a different .bmp. The filename+number allows selection via a random number generator. =Rand(-1) & seed the random number generator once only gnLower=2 gnUpper=7 store INT((gnUpper - gnLower + 1) * RAND() + gnLower) to value store "randomPic" + alltrim(str(value ...Show All
