Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VFP newbieeee

Status
Not open for further replies.

cyexpert

Programmer
Jun 16, 2002
40
CY
Hi i new to VFP and i want to make a simple program that reads from a file or table and store some values to another. where i can read some tutorials about the languange generally? I have search the web and found nothing to start with, anyone knows something to help me ?

Thanks a lot


Nicholas
 
Since your question is general in nature, you might want to consider posting it in:
Microsoft: VFP -General Coding Issues Forum
forum184
instead of in the more-specifically-focused forum:
Microsoft: VFP - Databases, SQL&VFP, and Reports Forum

Also, within that General Coding thread, you might also want to look at posting:
thread184-530939

Good Luck,
JRB-Bldr
 
For starters, VFP's own Help is quite useful.
By the way, which version do you use?
For VFP6 there is on-line tutorial at ).
For VFP7 & VFP8, you can find on-line Documentation in MSDN Library on Microsoft site at There are tons of other resources out there, including books, articles, etc.
VFP has 5 forums here on Tek-Tips, so if you read the threads and FAQs, you will pick up a lot, too. With questions you can come here for help.
 
Thank you all and sorry if i posted my question in a wrong place :). by the way i use the VFP 9 but i have also v8 install in another pc
 
To give you a quick intro to VFP file i/o:

VFP has multiple ways of doing file i/o:
1) R/W: native data access to .DBF files: USE (cFileName); REPLACE fieldname WITH value
2) R/W: ODBC access to any ODBC data source (including .DBF files, .MDB files, .XLS spreadsheets, SqlServer, MySql, etc)
3) R/W: Low-level functions: fOpen, fRead, fGetS, fWrite, fPutS, fEof(), etc
4) R/W: quick and simple access: FileToStr(cFromFilename), StrToFile(cString, cOutFileName)
5) Write only: SET TEXTMERGE TO (cFileName)

Look for these keywords in the help.

Also look at READ EVENTS in the help.

- Bill

Get the best answers to your questions -- See FAQ481-4875.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top