-
- Programatically set report to print in landscape
by Aleniko29139
- 6 Replies
- Last post
by Aleniko
- I have a report which has a dynamic number of columns. I need to print
it in landscape or portrait depending on the number of columns. Anyone
can suggest how I would programatically set the report to print in
landscape
Thanks.
-
- Help with code for updating table on website
by Jim Holloway
- 10 Replies
- Last post
by Stuart Dunkeld
- This is the code I am attempting to usw to add/edit date in a free table on my website. It opens the table fine and will display what is already in the table, but any changes I try to make do not arent being saved. I dont get any errors. Any help
USE \\www.infotizer.com\lotterydata\NewData.dbf
SET SAFETY OFF SELECT NewData INDEX ON state TO IdxState SET SAFETY ON
SELECT StateLinks SET ORD
-
- Export DBF into Text file
by polachan
- 14 Replies
- Last post
by hangover
- Dear All
I am new in FoxPro and dBase
Please help me for writing a routine in dbase/foxpro that will export any dbf file to a text file that we can read in.
Regards
POL
-
- reading a directory for a existing files
by Novelle
- 14 Replies
- Last post
by Novelle
- hi there!
im new to vfp and i want to make a programm that reads a certain directory and which gives me back the number of the files in that directory and the filenames.
can someone tell me how it works in vfp it will really be great... thanks in advanced!
novelle
-
- How do I.... Insert multiple columns into the same cursor from multiple tables in VFP 9?
by JLWtheNoob
- 4 Replies
- Last post
by CetinBasoz
- If there is a question/answer already similar to this one, please point me there and forgive the noobie question, I've searched both here and the web and couldn't find an answer. Here's my situation, I have multiple tables, 8 total - 4 for each company, that I need to do counts on by year and return all the results into one cursor so that may then be exported into an MS Excel worksheet. The tables
-
- Help With Earlier Verison of FoxPro
by DJL2000
- 8 Replies
- Last post
by Alex Feldstein
- I had a application builted for me in 2002-2003 timeframe. I believe I have the source code but I cannot view it. The file types I have are - DBF, CDX, FPT, FRT, FRX, PJT, PJX, PRG, SCX, and SCT. Is there a environment that still is avialable that I can use to see the code so that I can port it over to a more modern IDE Any assistance is appreciated. Thanks
-
- Errors running FoxPro Stored procedures in .NET windows app
by TechMate
- 10 Replies
- Last post
by TechMate
- Hi
I want to run a stored procedure in user selected database which basically creates two new tables to be persisted in the same database. I am able to call this stored procedure but I keep getting the same error "One or more errors occurred during processing of command." There are no details of what the error is specifically about. I am able to run the same stored procedure using Mic
-
- vfp8 code errors in vfp9
by orderinc
- 11 Replies
- Last post
by orderinc
- The following code snippet works fine in VFP8 but the 'use (mfile)' invokes the catch code in VFP9. When running without try catch, use (mfile) simply does nothing the 1st time it is run, but does open up the file the 2nd time it is run. I am deleting the CDX file previous to this code being run.
mfile=mmomfile
select 0
try
mtagfound=.f.
use (mfile)
mi=1
milen=30
-
- How To Link Combobox Columns to Grid ColumnsĦ.?
by Paramu
- 4 Replies
- Last post
by Paramu
- Hi There,
First if anything got bore, please forgive me and let us clear our doubtsĦ.
The coding will show the details of Combobox to Grid Control
thisform.grid1.AllowAddNew = .T. thisform.grid1.RecordSource ='wkassign_1' thisform.grid1.ColumnCount =9 thisform.grid1.RowHeight =25 thisform.grid1.Column1.controlsource='srl_num' thisform.grid1.Column2.controlsource='emp_id_1' t
-
- How to access methods of an ActiveX in a .prg
by Geoffrey Callaghan
- 6 Replies
- Last post
by Geoffrey Callaghan
- I have created a Winsock Activex control in a FoxPro 6.0 program, and it works OK, but I don't know how to access the DataArrival function in code. If I was in a form, I'd just double click on the control and it would be there, but since I created it using CreateObject, I don't know how to tie a function to that event.
Geoff Callaghan
-
- How to check if a local printer is shared in VFP at runtime.
by ControlNode
- 11 Replies
- Last post
by ControlNode
- I'm looking for a way of determining if a local printer is shared. I've looked into APRINTERS(), ENUMPRINTERCONNECTIONS of WSCRIPT.NETWORK and a couple other places/things and not found a way of doing this. I know there has to be a way of checking, but again time limits are preventing me from looking for an extended period for a fix and again I turn to asking.
-
- C++ to VFP Translation?
by Cody King
- 14 Replies
- Last post
by CChalom
- First, I'll have to admit that my coding skills have been unused for several years now, but this is one thing I believe that VFP should handle no problem. Here is the setup:
This program gets data from an A to D board and it utilizes DLPORTIO.DLL to address the parallel port and go thru 8 channels. (I know.... old school...but that's why I got it!)
I've done the Declare statements t
-
- "Cannot find the menu-generation program."
by AlexBB
- 14 Replies
- Last post
by AlexBB
- Hi there,
I actually posted on this subject twice before and once got a satisfactory answer, the other time I simply figured out how to get this file myself.
Now it seems to be different. When I make and attempt to build a project I get this message. So, I click Add, go to Program Files\Microsoft Visual FoxPro 9\ and find a file: genmenu.prg .
Click on it and I get another error message:
-
- How to build my custom dll and use it in visual foxpro project?
by 31128839
- 1 Replies
- Last post
by dni
- Hello everyone:
Could you give me any advice on how to build my custom dll and use it in visual foxpro project, thank you!
-
- help needed on troubleshooting label printer problem
by jimcjr
- 9 Replies
- Last post
by Naomi Nosonovsky
- I've inherited a Visual Fox Pro application (originally written in Foxpro for Windows, but more recently compiled with VFP 7 and then VFP 9). It creates several different types of labels using the standard .LBX and .LBT files that the Foxpro label designer creates. (All of the users are running the application on Win XP SP2 machines.)
The labels were designed using a Smart Label Printer Pro
-
- How to get the Report Preview in Full Screen ?
by Paramu
- 3 Replies
- Last post
by Naomi Nosonovsky
- Helo,
Is there any idea to get the report in full screen... my codings as follows....It's not working properly...
Is the any genius to help me Please.........
-------------------------------
SET REPORTBEHAVIOR 90
LOCAL loPreviewContainer, ox AS ReportListener
DO ( _REPORTPREVIEW ) WITH loPreviewContainer
loPreviewContainer. Caption = 'PIS Special Report
-
- How to: UPDATE into Visual Foxpro Database in Numeric format from VS2005
by shippers06
- 2 Replies
- Last post
by AndyKr
- Hi everyone...
Please help me to solve this problem.... I Have deadline on Friday
Im having problem on updating and inserting data in visual Foxpro in numeric format using the Visual Studio 2005...
Anyone that can help me please...
---------------------------------------
T_T newbie in Programming
-
- Unknown Publisher Error Running Compiled Visual Foxpro Program
by Del573131
- 7 Replies
- Last post
by Aleniko
- We have been distributing a Visual FoxPro program for eight years with no problems.
Ever since installing Internet Explorer 7, we get the following error on startup:
"The publisher could not be verified.
Are you sure you want ot run this software "
"Name: Program name
Publisher: Unknown Publisher
Type: Application
From: Drive and Folder name"
"This
-
- Append Records with multiple child tables
by honey1016
- 4 Replies
- Last post
by AndyKr
- What can i do if i will append the records with many child tables and it wil not affect to the database if your already append the records Please give some example of append. Thank you very much
-
- SQl Select question
by Gemstones
- 7 Replies
- Last post
by Naomi Nosonovsky
- I have a problem that I hope there is a solution. I am trying to search through several tables to find records that match the data the user enters. On finding the records, I want to be able to show that information in a list box on the form. For eg, the user will enter a customer number they are looking for and I then have to search through several tables to find the records that are tied to this
-
- Opening VFP tables with Fox2.6 (Dos)
by Foxmonkey
- 9 Replies
- Last post
by CetinBasoz
- Hello. I am a novice user of Foxpro, occaisionally using Foxpro 2.6 for Dos for data manipulation. I am wondering if there is an easy and free way to convert DBF files produced with Visual Foxpro with 2.6D. We get batches of files that are produced by some later version (it signs a "30" in byte zero of the header, while our tables have the "03"). I get a message stating it is
-
- cursors and html
by jmom
- 18 Replies
- Last post
by jmom
- I run a query and and information is stored into a cursor. In VFP 6 I can open a report and preview it with cursor and save it as html. In VFP 9, I do the same thing. When i choose to save it as html, the open dialog box pops up. Since info is in cursor, I can't choose a table. Then the GenHTML error stating the htm could not be created. Is there something I am missing
-
- Little Doubt with Grids
by Paramu
- 14 Replies
- Last post
by Paramu
- Hi There,
Actually I have a Grid containing 2-columns, and through the Add Object Method, I added the object of Combobox to the grid [column1]. Also the Combobox is having 2-columns...datas from table.
When I click the 1st column of grid the combo box is acting properly..
My requirement is, If I select the First column of combobox, The First column data is replacing to column1 o
-
- auto increment
by NILKAMAL
- 8 Replies
- Last post
by Tamar E. Granor
- I have a table that I want to add a auto increment integer field. I go into the database designer, Right click on the table I want to add the field to then select modify. Then I insert a field and give it the name client_id set the type to Integer (autoinc) it defaults to a width of 4. Then I tell it to index it accending. This works but on all the existing records it sets the field to 0. If I a
-
- How to use an updateable parameterized view.
by Aleniko
- 7 Replies
- Last post
by Naomi Nosonovsky
- Hi all; This is my first try with updateable views, so please go easy on me :-) I have a table with a primary autoincrementing key. I have created an updateable parameterized view. I'm using this view in a grid. I need to be able to add, delete and modify grid items. I am NOT setting any buffering at the load event of the form. I'm not sure if I should - isn't the view my buffer I'm experiencing