In my app I want to give the user the possibility to directly print a Word document or to preview a Word document.
I have created a class which supports both requests. I use the following code to create the class
lparameters tnInvoiceNr, tnOutput
*-- tnInvoiceNr = invoice number to print
*--...
I have a Word document containing the fields [Page] and [NumPages] to create [X of Y pages]. During automation I create one or more pages, so at the end I want to update the fields.
Updating field [Page] works fine.
Updating field [NumPages] does not work.
I have the following code:
*-- First...
Hello all,
In my current application I use a VFP report for printing invoices. This is a fixed report, the user cannot modify the layout. Now you know customers, they all have specific demands for invoice layout. So I thought creating a Word template would be nice. I know how to automate from...
Hi all,
My application is created with VFP70-SP1 and works fine on Win2K en WinXP platform. Now when installing this app on Window 98 it crashes each time when a report is printed or previewed. Sometimes it does not immediatly crashes, but when activating another function via the menu, it...
Hi all,
I'm using VFP70 for a several month now and noticed an irritating bug. I just want to know if someone else is experiencing the same.
Sometimes I have the following GPF (General Protection Failure) and VFP70 exits. I create in a Form a new method, for example [m_calculate]. In another...
Hi all,
I'm using VFP70. Built my application in Win2K. Use SET HELP TO command to call HTML based Help. After installing app to a machine with WinXP the F1 function does not work. Calling the Help file from explorer works fine.
Why does it not work (maybe it is not a WinXP ussue but the first...
Hi all,
I'm trying to create an install package with InstallSield VFP70. All goes fine, except when installing the application on a PC, the function which uses MSCAL.OCX does not work....it cannot not find the MSCAL.OCX
Which MergeModule do I have to use? I already tried MSCOMCT2.MSM en...
I have an application created with VFP60. Now while testing this application with VFP70, strange things happens.
In a Form I put code: p_set_env() which is a procedure in UTILITY.PRG. The first thing to do when starting the application is: SET PROCEDURE TO UTILITY.PRG
Now this works fine when...
I have a grid with 2 columns. The second columns has next the default Textbox1 the controls txtNum and txtChar and cmbJaNee. The following setting for the grid:
table: aTable
columns: type n(2); num_value n(10); char_value c(100)
grid.recordSource = [aTable]
grd.columns(2).bound = .f...
Hi All,
I have had this before, even more than once, and did not find any solution.
The problem:
I create my reports without using the report's dataenvironment, so tables and cursor used in the report are opened/filtered and created in my application. Printing or previewing reports often...
I have a form with 3 grids where the table relations are set in the DataEnvironment.
The rows in each Grids are displayed fine.
Insert question:
When inserting/appending a row in the parent (by doing APPEND BLANK) the rowfocus moves to the last line of the Grid (at my empty line position). That...
Hi all,
I have two combos in a Grid.
The first combo named cmbGroup contains data from a table called GROUP.
cmbGroup is bound to tablecolumn DATA.grp_nr
The second combo named cmbSubgroup contains data from a table called SUBGROUP.
cmbSubgroup is bound to tablecolumn DATA.sgp_nr
Table GROUP...
I have a Form with a Grid.
In the Form I've created
- a property p_cOrderBy
- a method m_load() which creates a cursor named cr_data ordered by p_cOrderBy and does thisform.refresh(). Because I use VFP 6.0 I first create cursor cr_data in Form.load(). In Form.m_load() I zap cr_data, select the...
Hello all,
I try to call an Oracle Stored Procedure through ODBC without succes. Does anyone know how to do this?
The connection handle is stored in thisform.nConnection.
Running the code will result in errorcode -1.
This is a piece of my code where TFX_PC_COMMSDK is an Oracle package...
When running my application from VFP development environment, my login form appears and behaves the way i expect, but when creating an EXE an start the EXE, the login form does NOT appear. I put some debug code in the login form with a WAIT WINDOW. The message is displayed, so the login form is...
I have created a button class when clicking the button a popup menu appears. This worked fine for some time. Quess what, now it doesn't. Maybe you guys can help me out.
When clicking the button, the popup is not displayed like it was before. That's not really a problem, but when moving the...
faq184-2324 explains how to make grid columns/cells individually enabled. Works fine!
But ... I want to make them individually ReadOnly, so I can respond to a rightClick event (which won't fires when the TextBox.enabled=.f.)
When testing this situation, I still can modify the contents of the...
Hi all,
I have noticed that the grid's recordmark doesn't always change when programmaticly moving the recordpointer (by using for example SKIP 1) at a time the Grid has not the focus. When clicking on the grid's header and becomes the focus, the recordmark moves to the right position.
Is...
Hi all,
VFP70 now delivers InstallShield Express VFP limited edition to create install disks/CDs for distributing your application.
I'm not able to select any Objects/Merger modules, like the VFP runtime library module. The documentation describes that these modules should be available in...
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.