Answer Questions
Tomas Restrepo Grids are readOnly. How do I put text in them?
Hi there. Kind of embarrassing asking simple question when other people post such advanced requests. I am new here. I got as far as creating a form with two grids and other controls I need. There is a Pageframe that switches between pages and I have each grid on the corresponding page. All the way I am making comparisons with dBASE stuff which I hope soon will be a thing in the past. Anyway, when I run the form all rows in grids appear to be rea ...Show All
Paully13x function argument is invalid...
I have a problem with this message and a few similar once. When I get it I invoke the debugger and attempt to examine the variable/argument. In this particular case it is a memner of an array. I suspect that instead of a character string it got an .F. value but it is hard to prove because I cannot examine it. If I attempt to look at it in Command Window I will get the same message that it is invalid. More than that, some other related, neighbour ...Show All
Equinox_d FoxPro v9 vs Visual dBASE Plus 2.01 BDE 5.2.02
Hi there. I just installed a Visual FoxPro 9.0 and started "playing" with it. Tried to create a table - it is straightforward and then a form. It seems to be a rich platform. Something puzzles me though. I do have extensive experience with Visual dBASE PLUS and previous versions in terms of OO language and form/table designer. Thus I am trying to compare. I am attempting to migrate to MS software/platforms wholesale since the dBASE is offering l ...Show All
DevGuy _screen.ContinuousScroll problem
I noticed this problem just this morning after spending many hundred hours debugging my app for the past few months when everything worked just fine. This is the setup which is hardly unusual. There is a function in a prg file and a Click method that calls it. There are a couple of print statements like: "coimng out of the function: "+numeric_id and such in the function(s) and one in the Click method. All output is character s ...Show All
Jason Zhang Calling a report with a command button on a form
I'm trying to call/open a report with a command button that resides on a form. How can I do this I'm new to VFP & I've searched the help file but found nothing. If you normally issue the REPORT FORM ... command to run your report, you can just issue that command from the Click of your CommandButton. Drew Speedie VFP MVP As Andy said, you can set it up in ...Show All
Rup Bulky package
My app takes up less than 0.5 MB and the required ressoucefiles (vfp8t.dll & vfp8renu.dll) take up 4.8 MB and yet the setup.exe created by Installshield Xpress is more tha 10.5 MB large. Any suggestions to how I can reduce the size of my distribution setup file The setup is larger than just the runtime, because the runtime itself has dependencies, too. For instance, it uses the MSVCRT70.DLL or MSVCRT71.DLL ...Show All
Brandon Teoh Excel to VFP
Dear Experts How to import data from Excel to Dbf. Excel sheet columns heading will be DBF column names Please help Use the IMPORT command: IMPORT FROM MySheet TYPE XL8 Tamar Tariq, Check import command. You can also use ODBC,ADO or automation. ie: lcXLS = GetFile('XLS') lcConn = "Driver={Microsoft Excel Driver (*.xls)};"+; "DriverId=790;Dbq="+m.lcXLS+; ";DefaultDir="+JustPath(m.lcXLS ...Show All
Aniekan Daniel Usen Additional fields in table exported to txt
Hello, I need to output from a VFP 6 table to a text file. When I use "copy to mytext.txt delimited with ," I get an additional field before and after each of the original fields from the table. This means that in my new text file, fields 1,3,4,6,7,9,10,12,13 etc are empty fields that were not present in the table and fields 2,5,8,11,14 etc are the fields with data. Can anyone tell me how to avoid these "extra" field ...Show All
Peter H40 feature not found
This is the fourth inning. I am still struggling with an exec build. No luck so far. Now there is some help in the form of the error reporting authority of the error control. Unfortunately, for some strange reason only a small fraction of runtime errors are in the log file. I cannot understand why. But what I have seen so far is very revealing. The error message is "feature is not available" and the line in the source code is idenfi ...Show All
CPlusPlus COM server problem
I have a VFP6 project that when compiled worked great as a DLL lookup on an included table. As I no longer have access to VFP6 and the table needed updating, I tried to test out VFP9 with this project. It builds to the DLL with no errors but when I tried to register it, I got the dreaded message" DllRegisterServer in ....failed. Return code was: 0x80004005". I used Dependency Walker to profile this dll and got the following results: ...Show All
Wolfwang CommPort
Can I know how to detect the commport with coding And what dll file I need to import Can I know what is the code for WD-202 VFD display Thanks a lots for helps. Hi >> Can I know how to detect the commport with coding And what dll file I need to import To access the comm port you need to use MSComm32.ocx. You can instantiate this as an object in VFP: oComm = CREATEOBJECT ( 'mscommlib.mscomm' ) ...Show All
Hemantsj Very nice!
Hello anyone, it's very nice to see Microsoft enhancing their community activities. Go for it! Providing a forum platform is one of the best aspects a company might offer. Thanks. I hope that this one doesn't compete the ones at Compuserve or UniversalThread. Sincerely, JoKi i got a lots of help from here thank you very one again Jet Yes, nice forum. Congrats. Uh.. Compuserve, I'v been there a lot of (yea ...Show All
withRajeev during compile got error
Compiling c:\sddms\reports\r_bl.scx LOCAL DIMENSION LSayaddr[2] Error in line 520 of Form1.sayaddr (record 3): Syntax error. PUBLIC dimension Sayaddr[2] Error in line 9 of Form1.cmgReport.cmdPrinter.Click (record 4): Syntax error. Compiling c:\sddms\screen\q_master.scx PUBLIC DIMENSION GAMaster[GiRowcnt,GiColcnt] Error in line 5 of Form1.Load (record 3): Syntax error. Form c:\sddms\reports\r_bl.scx has the following errors: Unknown LSAY ...Show All
ThomasHo Printing from Print preview goes to wrong printer
I'm having a problem with VFP9 sending reports to the wrong printer. Assume that the user has their default printer set to a local printer. If the user selects to preview the report, I issue REPORT FORM &reportname PREVIEW If the user selects the print icon on the print preview toolbar, the report is sent automatically to a network printer instead of the user's default local printer. Sometimes this network printer is ...Show All
Gili VFP linked server issue
We're using SQL Server for the majority of our applications, but our accounting package is still in VFP 8.0. I need to make some costing adjustements from our inventory program. I have linked the VFP database to SQL Server just fine and, using OPENQUERY, I can SELECT data without a hitch. Performing an UPDATE or INSERT, however, is a different story. I get the following error: "Server: Msg 7301, Level 16, State 2, Line 1 ...Show All
