-
- How to use sql server database
by Hemangi
- 6 Replies
- Last post
by Darren5559
- Hi All,
I got really very good help through this forum!
i need to access sql server database through VFP. pls show me how can i do that.
how connection string works in VFP.
Regards
Hemangi
-
- how can i recover the file?
by honey1016
- 4 Replies
- Last post
by CChalom
- how can i recover the file (.bak) because the dbf file s corrupted and the only chance to recover the data is the bak ile. How can i export the file in dbf thank you very much.
-
- The Fundamentals : Building Visual Studio Applications on a Visual FoxPro 6.0 Foundation
by mathmo
- 8 Replies
- Last post
by MarciaAkins
- Arrrghhh.... been trying to buy this book, but Amazon will not allow shipping to the ends of the earth (i.e. New Zealand). Try as I might, I can't find anywhere else that is selling this book. Certainly I know my local bookstores will be a waste of time, it is out of print. I believe this is the best book to get to learn Visual FoxPro, but because I can't get hold of this one what suggestions are
-
- How to get the dbf table's Field Name and Field Type and Field Size
by polachan
- 10 Replies
- Last post
by polachan
- Sir
How to get the dbf table's Field Name and Field Type and Field Size . Please help me by providing a program tips in foxpro to find out name , type,size of each field in a table
For example
I have a table employee having the following field
code c(5)
Name c(10)
dept c(30)
Salary n(10,2)
remark memo(50)
I
-
- Information on FoxPro
by bdewong
- 8 Replies
- Last post
by Naomi Nosonovsky
- Hi, I am a little new to foxpro and my employer has an application that is written in foxpro 8; and I am looking for a little more information. For a little background information: This application resides on a network share as do the foxpro tables. Users access this application on the shared drive. The table files range in size from a few KB to almost a GB. I was wondering a few things: How does
-
- Move pointer of a table to last record
by Ahsan Amin
- 12 Replies
- Last post
by CetinBasoz
- Is there any way to move the pointer of a table to last record apart of 'go bottom' func.
Regards
Ahsan
-
- Older Foxpro Dos freezing on XP.
by Aleniko
- 8 Replies
- Last post
by Rick Borup
- Hi everyone; I hope you don't mind the pre historic question:
I have an older app written in FPD2.6.
On some new machines, the app will freeze up roughly a few times a day. It always happen when the user clicks a 'popup'.
Any one experienced this Any ideas where to start
I am in the process of updating my app to VFP but it will take some time and I would want the old app to
-
- Validations
by Ahsan Amin
- 11 Replies
- Last post
by CetinBasoz
- I am trying to validate numeric and character type data, entered by user in textboxes placed on the form. Can any expert tell me which functions to use or you could tell me what should i type index button of VFPs help to find all type of data validation functions
-
- Skip Command
by Ahsan Amin
- 9 Replies
- Last post
by LeoLems
- In a navigation form i am using skip command on a button but it's not working fine. When it comes to 2nd last recoed it does not proceed. There also some records in table marked as deleted. I am using Set deleted On on form's Init event. I have also clicked on button many times so that it could give eof error but it does not. Also record no. message on bottom of VFP's window is always same. It doe
-
- Forum Usage
by Naomi Nosonovsky
- 14 Replies
- Last post
by AndyKr
- Since this thread has gone off-topic, may I please ask few questions about this forum usage.
1) How can I see replies in the chronological order E.g. I only want to see the latest replies but I can not figure out how to do it.
2) Can I turn off Alerts for good I often forget to uncheck them when posting a message.
3) Why most of the messages appear in a very small unreadable f
-
- DEFINE CLASS problem
by Deni Atanasov
- 4 Replies
- Last post
by Deni Atanasov
- I create my own class but when but i cant use function wich is included in this class. This syntax didnt work: SET DEFAULT TO "D:\working\class" CREATE CLASSLIB "hostupd" DEFINE CLASS CHostUpd as Custom FUNCTION Select CLOSE TABLES ALL SET DEFAULT TO "C:\customClass" SELECT * from merchants ENDFUNC ENDDEFINE Then i call for function wit
-
- application question
by dvidal
- 3 Replies
- Last post
by dni
- Hi,
I have the following problem: when I run a form in fox environment, it runs well. Then, I generate a file with extension .app that includes this form. But when I want to execute the file .app from windows, it executes the form and it disappears immediately. How can i solve this problem
I work in visual fox pro 7.
Thanks,
.
-
- Memory Pointer from ADODB.Stream
by CChalom
- 10 Replies
- Last post
by CChalom
- I need to Save an Image to a Stream using GDI+ Rick Strahl suggested me to try using ADODB.Stream To make it work, I need to obtain the Handle, the memory pointer that ADO reserver for my Stream This handle will be passed to GDI+ further I've searched all over the web, but did not find any tip on that... Maybe I didn't look at the right places... Any tips Below is the code that I want to use for
-
- VFP and Word Merge
by Stuman99
- 3 Replies
- Last post
by Stuman99
- I am adding word automation to our VFP application. I like the ease of use of Bookmarks and have no problems navigating thru a document that has existing bookmarks. My problem is that users will need to create new documents and add bookmarks into the appropriate places of the new documentation. How do I provide the user with a pick list that will allow them to insert the available bookmarks. Is th
-
- settings lost
by bgailer
- 2 Replies
- Last post
by AndyKr
- VFP 9 (also happened with VFP 8). browse preference and browse last do not remember changes from one browse to the next. Command window settings are not rememberer from one VFP session to the next.
-
- VFP9 - Windows Vista - proble with writing in ProgramData folder
by Klaudiusz Witoszek
- 5 Replies
- Last post
by Klaudiusz Witoszek
- Hello,
I have application lately moved from VFP8 to VFP9. As it is recomended for Windows Vista, I have program files installed in "Program Files" folder. There's no any write operations to this folder. DBF files are installed into "ProgramData" Windows Vista special folder. I tested it on my Vista test machine with UAC turned on and it works fine. It works fine also on
-
- Clipper bug in record 1220?
by twindragon
- 5 Replies
- Last post
by Alex Feldstein
- we had an error during rebuilding indexes in a clipper program. we run the records by 100s to see what is really wrong with it. when it reached the last record, that is 1220, an error appeared. but when we added a blank record, the program run smoothly. what could have caused the error
-
- Returning Arrays And Cursors to .NET from VFP???
by AlexBB
- 14 Replies
- Last post
by CetinBasoz
- It is all about the business of Stored Procedures which I am trying to perfect. The SPs are called by my .NET C# app. A lot of the stuff I've had difficulaties initialy appears to be working now. Still there are numerous limitations and one has to get used to them. It is a new style of programming. Very austere. If you want to DELETE a record in a table and you have 15 of them and want to determin
-
- 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
-
- Primary Key Set up
by AlexBB
- 10 Replies
- Last post
by AlexBB
- I have a very pessimistic view on the FoxPro prospects in Vista. Nothing is working and it does not seem to make any sense even trying to fix it. Just too many things are screwed up. So I've decided to use my VFPOLEDB databases, write completely new C# ADO .NET code for handling all operations that before in XP were done by FoxPro Code. In order to do it I have to set up primary keys on my tables.
-
- How to add my own objects to a grid programatically
by Aleniko29139
- 7 Replies
- Last post
by AndyKr
- Hi all;
I'm using this method to construct the columns within the grid. I need
however to construct the grid so the cells are my own class objects.
WITH thisform.kgrdledger1
.columnCount = -1
.RecordSource = "CurRpt"
.addcolumn(1)
.columns(thisform.kgrdledger1.ColumnCount).name = "colAmount"
.colAmount.controlsource = "curRpt.Amount&
-
- Change default printer works only once
by CFutino
- 6 Replies
- Last post
by DaCosta11
- This one is weird... I use the followin function to change my default printer: FUNCTION SetaImpDefa(imp,muda) Declare long WriteProfileString in "kernel32" ; string lpszSection, string lpszKeyName, string lpszString Declare long SendMessage in "user32" ; long hwnd, long wMSg, long wParam, String lParam if muda HWND_BROADCAST = -1 WM_WININICHANGE = 26 endif printer_name = imp printer_buff
-
- refresh form
by NILKAMAL
- 14 Replies
- Last post
by Naomi Nosonovsky
- hi!
i create simple form with table field and i create another two textbox in sam form (which is not table field) when i go to next record the table field got refresh but other two textbox have same value of previous record so can anybody tell me how do i do to refresh all field including textbox( not table field)
thanks
-
- How to preview the data from formset to report designer?
by MillBear
- 4 Replies
- Last post
by SharathMum
- Hi
I have problem setting the exact information from formset to report designer.
For example
There is re_depot field in the tnrepair.DBF.
In tnrepair table, there are inputs such as CHEM, CPDG, SHOC, PTGS, etc¡
I key-in CHEM in the textbox on the formset and then CHEM is preview on the report designer.
The coding is ¡° report from report desi
-
- Error Installing VFP VS_SETUP.MSI
by 12l
- 14 Replies
- Last post
by Anonym_123
- ReInstalling VFP9 en mi W2k3
Standard SP1 the error message:
"The windows installer:
z:\vs_setup.msi could not be opened.
Setup will not continue.
This is a default response to an error. If
you see this please save log files and RAID a bug."
What happend Thanks