Answer Questions
Simon Heffer Tiff files
Hi gurus I am very new to VFP, so go easy on me. I would like to create a tiff file from a report, I dont want to view the tiff file or to open the tiff file once created, once the report runs, I just want to be able to give it a name and to save it on a folder as a tiff file. Can some help me with some code that I can see and learn or point me to the right direction or let me know where can I find some help on this matter. Thanks a bunch gurus OHHH.- VFP9 almost forget Thanks again gurus You may use ReportListener for tiff file.You will find a code exaple here: http://msdn2.microsoft.com/en-us/library/ms965281.aspx Thanks a bunch D Do you know of any place where I can ...Show All
gtimofte Future of Visual Foxpro
Hello friends, I have a general question. What will be the future of VFP The reason for asking this question is because, our company is planning a major commercial software development. So far we were very much satisfied with VFP. But now doubts are being raised whether we should base our investment on this platform or consider something new like VB.NET. Especially when we hear that the products will not be served beyond 2009!!! Any sincere opinion will be a big help. Thank you. >> Are you (and/or others on this forum) certain there won't be a VFP 64-bit version, verily http://msdn.microsoft.com/vfoxpro/roadmap/ >> Are you (and/or others) certain 32-bit VFP software is doomed in 7 years To say I'm certain w ...Show All
pfear Line Drawing in Report
I want to draw a triangle in report. Three points of the triangle will vary based on the values I specify. The triangle should be printed in a normal foxpro report. If it is not possible to do this in VFP, kindly let me know where it can be done. Thanks. What version of FoxPro do you have It's possible with version 9. You need to use reportlistener and GDI+ functions. >I have done line drawing in forms but not in reports. Where can I get a simple sample. Walter Nicholls published 3 part article sing GDI+ in VFP 9.0 with the FFC Library in FoxTalk 2.0 Magazine starting with August 2004 issue. Also: http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,1e3a72fe-ffba-43fe-97bf- ...Show All
Alan Robbins Deleted -SQL HELP
I am having trouble with a form i created. It is a form with a grid of an email address book - table. I want to the user an option of deleting names from the grid/table and it works fine when i "Set Delete On" and test it. But when I implement it into the program and call the form from a main program it gives me an error that says "Deleted variable not found". any suggestions this is the code for the command button that deleted the record: select emailaddressbook DELETE FROM emailaddressbook where idemail = temp thisform.grd_Email.Refresh like i said, it works stand-alone Try putting thisform.resfresh() after the delete command and see what happens. Greg Gum ...Show All
chunkylover37 Organizing project files
I'm trying to clean up unused files. Over the years my.pjt has piled up about 400/800 files of all sorts (.prg, .scx, .vcx, .mnx, .bak, .ini, .xml, .vbr, .err, .dbf, .fpt., .txt, etc.): located in 10 directories ... which is just cluttering up those directories. Is there any suggestable (lazy) way to re-organize and/or clean up (discard old unused files) or copy out only the my.pjt vital files (other than excluded report files, help files, and picture files). Thanks in advance, Thanks again, David, for your thoughtful feedback, That'll seem to help keep My.Pjt clean before dissecting out obsolete files; I'll have to test it though for 'included' vs. 'excluded' files and such. Thanks again for your invaluable feedback. The eas ...Show All
dariodario Create menu or command
Hi there, How to create a command button or menu to acess 3 different form. Pls advice. Thanks. Hi, I didn't create the from using either way. I copied the form from another program which is in K:\ drive and paste to other location/drive F:\. From there I start to modify the form, and run the form. The form works fine in the beginning. After that it came out program error when I try to create a command or menu to link up the form. Therefore I tried to copy the form and paste to C:\Program Files\Microsoft Visual Studio\Vfp98. Then I try to run the form from my F:\. Now the form able to run. Will I face any problem later on when I create exe or distribution file if i'm using the same form Kindly advi ...Show All
ION T How to implement Mouse leave for a form.
I have a very small form that opens up to display some info. I'd like the form to close when the mouse leaves the form. I noticed there is no mouseleave or mouseenter for forms. Any other method to do this Thx Another approach might be to use a timer that checks AMouseObj() and acts accordingly. Tamar http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=905860&SiteID=1&mode=1 Perhaps note my own elementary use of "define window ... name" (command) here (today). ... with addobject() of an image object to the resultant form-container. ... as a workaround bridge to implementing swift form release during mousemove or mouseleave even ...Show All
sureshv Automate appending data from an MS Access.mdb to two different Foxpro tables (including memo fields)
I have 1 MS Access table calles Notes.mdb. I have two FoxPro tables called Measures.dbf and Special.dbf. I need to take data from Notes.dbf and import it into the FoxPro tables. Notes.mdb Special.dbf ID Number local.id Date/time datein comment code scode comment stext ARKS=yes SUP=yes Notes.mdb Measures.dbf ID Number local.id Date/time mdate Weight mvalue Weight unit munits ARKS=yes Sup=yes Need ideas for coding this. Tried to do an append query but the memo fields were empty. One of the fields in the FoxPro Special dbf is an autoincremental field. What is the code for incrementing the number. I tried to append blank record then insert b ...Show All
Enkht Tiff files
Hi gurus I am very new to VFP, so go easy on me. I would like to create a tiff file from a report, I dont want to view the tiff file or to open the tiff file once created, once the report runs, I just want to be able to give it a name and to save it on a folder as a tiff file. Can some help me with some code that I can see and learn or point me to the right direction or let me know where can I find some help on this matter. Thanks a bunch gurus OHHH.- VFP9 almost forget Thanks again gurus loListener = CREATEOBJECT ('ReportListener') loListener. LISTENERTYPE = 3 REPORT FORMAT myReport RANGE 1,1 OBJECT loListener loListener. OUTPUTPAGE (1,'c:\quaro.tif',101) & ...Show All
bhavu Why the datas from the .dbf file (table) on the form are not displayed?
Hi all Need help very badly.. I purely have no idea where i go wrong. I'm trying to get the datas (such as CHEVSINSMZ 100,CHEVSINSMZ 100, CHEVSINSMZ 101, CHEVSINSMZ 102, etc) from the table (.dbf) display and then trim into "CHEVSINSMZ 100 & 101 & 102 itself. What i get the result on {.xdf_bl.value= OutPutSTring} of the form is (1)_________ when testing this form. Why cannot the datas be shown on the text field when searching for the value in the .dbf _-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-__-_-_-_ tnfjob is the name of the table. Jt_hblno is an attribute of the table (.dbf)in the form. It is like something that originally contains CHEVSINSMZ 100,CHEVSINSMZ 100, ...Show All
Sergio Ortiz Search Company function: Type any letters to find a few similar company names
Hi all I create the form to search the company name. I have the long list of company codes & names inside the table (company.dbf). Form Designer Company Name : <Text1> <Grid> Code | Company Name Search Command Exit Command For example, let say the company name is Visual Foxpro Ltd. Just type any letters such as ‘Fox’ on <Text1 > and then click on Search Command to get a few company names and u will see the result as below.. Company Name : “Fox” <Grid> Code | Company Name FASP &n ...Show All
Steve Kibble Future of Visual Foxpro
Hello friends, I have a general question. What will be the future of VFP The reason for asking this question is because, our company is planning a major commercial software development. So far we were very much satisfied with VFP. But now doubts are being raised whether we should base our investment on this platform or consider something new like VB.NET. Especially when we hear that the products will not be served beyond 2009!!! Any sincere opinion will be a big help. Thank you. Financial Investment companies here in the US often use the phrase "past performance is not an indicator of future returns". The same holds true with software. Just because old applications continue to run fine does not mean they will cont ...Show All
paso just asking....
how can you make your database more interesting rename it to 'myMoreInterestingDatabase":) Sorry couldn't resist. What do you mean really ..yes, or build a table with pictures. I had good results with pictures converted in bmp format and "adjusted" with Corel or Photoshp. Interesting. How to display a picture as part of each record on a form The image will be too small to view. Add an additional column in the personnel table. Use employee's photo as the image You may change the background of a form or page with a background picture. Brighten your forms, reports. Put a picture instead of text on a command or toggle button Put lin ...Show All
gabit7 getting things working on a network
im having problems when 2 people save at the same time on my network. the person who saves last is going to over write everyone else. PRIVATE B DO WHILE !THISFORM.MULTIUSER() WAIT 'Getting Network Attention... Please Wait' WINDOW NOWA NOCLEAR ENDDO B=THISFORM.SAVEUPDATE() SELECT CLIENT UNLOCK WAIT CLEAR IF B=1 MESSAGEBOX("Client Successfully Updated",'KM SYSTEMS') ENDIF IF B=2 MESSAGEBOX("Client Successfully Saved",'KM SYSTEMS') ENDIF _______________________________ this is what is in the method multi user SELECT CLIENT IF FLOCK() RETURN .T. ELSE RETURN .F. ENDIF save update is this _______________________________ PRIVATE A SELECT CLIE ...Show All
johnconstantine Grid and textbox Refresh issue.
I'm having this problem with an application I’m writing. I have a Grid with a couple of text boxes next to it. When you select a record it updates the values in the textboxes with the values from that record. I also have a few command buttons that switch the tables viewed in the grid. Now here’s my problem... The text boxes stop updating after I change the tables a few times. Not sure what I am missing because I don't get any error messages and it does work for a little while. If you need more information let me know. What's the code in AfterRowColChange What's the controlsource of one of those textbox that stop updating Do they really stop updating or there is nothing to update After switching tables a few times ( ...Show All
