thread782-1462782
I have a printersetup(0) in my code in visual foxpro. When cancel or close is chosen, I still print. But I do not have any code that captures the cancel or close.
orpt.PrinterSetup(0)
** I need something here to recognize a cancel or close.
orpt.printout(.F.)
Thank you,
The primary table is employees (employeeid) that contains the field "manager" with their employee record.
The secondary table (lookup table) is their time sheets with employeeid.
Each employee needs to submit a daily time sheet at the end of the week.
A report needs to be run weekly detailing...
This should be nothing for someone to answer.
There is no subreport. This report is a main report only.
I have group by employee. I want the cost rate for each hour work. This depends on the type of job this employee does.
example
Employee cost when training may be charged off at $25.00 an...
Latest version of Foxcharts. I think it is great!
m.object.addproperty('_Original Width') .... addproperty not found
If I put the foxcharts on a form (pctform) and "do form pctform" from the page frame, the chart displays within the form at the top of the form that contains the page frame. I...
From another system downloaded from Microsoft malware. From problem system, in safe mode, ran malware and diagnosis on the system and everything passed. I have Norton Internet security installed.
The Vista screen initialized all the way up and looks great. No errors. The mouse will move all...
I need to know what listbox row that the user has selected. There are 9 fields on the row. I need to be able to located two fields to retrieve data from another table.
Rowsource is default
I do select to select f1, f2,f3,... f9 from ctable into cursor olist1 where f1= 'AC' order by f3
lnI...
I have an image in the first field of the list box. The following code below works perfectly with one exception.
If I click below the list items into a blank area in the listbox, nothing seems to fire that would trigger the code. I have put messageboxs into the click, refresh, gotfocus, when...
I have a list box that displays the items bought for a specific part (9 max). The user was having problems reading across the list box and keeping his place, so I put a picture in the attribute to increase the white space. Doesn't help to remove this. Problem still exists.
There is an image...
I can run the form outside the project and the pie graph will appear.
Looks fine. I have added the classes that are in the sample project to my project.
I have a messagebox in the init and it displays. I get an hour glass then nothing happens when I
do form pctsum except the messagebox()...
I need to create a pie chart, line graph, graph design of data, etc for the user from his data. I can do this in excel but he wants me to automate this within the VFP app. Can someone steer me to a good book to buy on creating graphs? I am a total beginner on this. Are there a third party...
I want to reproduce the object name in a do while loop.
this.parent.iimage1.value='ABCD'
iimage1
iimage2
iimage3
iimage4, etc
local iimage
add1=add1+1
iimage=alltrim(iimage)+alltrim(str(add1,1,0))
this.parent.iimage.value='ABCD'
I get an error object not found on iimage.
Are there a way...
VFP 9.0. I created an image control. In the control picture.filename.bmp, displays fine. I don't know how to insert a picture on a form that changes depending on the selection. I want to change the picture depending on the screw type, to show the buyer what they are purchasing. I use a listbox...
PUBLIC OCR AS CRAXDRT.APPLICATION
PUBLIC ORPT AS CRAXDRT.REPORT
I issue a createobject at the beginning:
ocr=CREATEOBJECT("CrystalRuntime.Application. 9")
ORPT=OCR.OPENREPORT("c:\foldername\PF_DOCUMENTS.rpt")
ORPT.PRINTOUT(.F.)
As you can see I have it hardcoded. I could use a variable...
I have a user that travels to Japan and wants to log his trip into a reporting system written in VFP 9. He needs his system to be Japan language to use some of their software when he is there and sets it somehow.
How to set the language within the software to stay English? Are do you think...
I am using windows 7 on a laptop with a monitor configured as an extended display. Windows 7 will expand my application to fit the screen if I drag the application to the top of the screen. If I drag any of the open form displayed to the top of my laptop display, the apps crashes with.
example...
I need help. This is my problem. It is located on a page frame in a edit box, attached to a memo field in a DB.
I have the short cut menu as defined. When doing a find/replace the users requested 2 things.
The ability to ctrl C/copy into the find area and Ctrl V/paste into the replace...
I am at a loss on how to do this. I have a number of people charging to activities. These are calculated fields using the activity table (activity code) and hours worked table by activity.
When the report completes, the user wants a total by activity code combining all hours worked within the...
I want to set a directory for the user to select a file. The getfile allows them to select a file but uses the program directory for file location. I know the getdir() allows you to point to a directory but not retrieve a file. Are there any function that combines both?
Thank you
In a memo field -- I added a find and replace. This is done by right clicking on the memo field, short menu will show the find and replace and etc for selecting. At that point any info that has been keyed will be erased/removed automatic. I have a table update prior to "Do menu ..." The...
Users want spell checking on a memo field that is on a page frame.
They edit this field. I found foxspell checker while searching. The
tech notes here were for older version. Does it works with VFP 9 when there is a form with a pageframe with an object=editbox with controlsource=memo field...
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.