-
- creating a form from a .vcx
by jmom
- 9 Replies
- Last post
by jmom
- I created a standard form for most of my projects and saved it as a class, but how do I create a new form based on the baseform.vcx Thanks for any help. I just getting started in creating my own classes, so sorry for what seems like a very elementary question.
-
- Using database in network
by Sixon
- 3 Replies
- Last post
by dni
- I've build a database program with Visual Foxpro, and use Visual Foxpro database/table. Example :
Select 1
use c:\data\table1
But sometimes my database/table located at server drive (my network place). So I typed, for example :
Select 1
use \\server\data\table1
It doesn't work properly, because Visual Foxpro cannot recognize the network drive. How to solve this problem ....thank'
-
- Problem indexing views
by Hans L
- 14 Replies
- Last post
by Hans L
- I am trying to index a view. After having created the view in a prg file, created with Gendbc, I add (in the prg file): USE vwMysoft INDEX ON cname TAG Namn OF vwMysoft USE In other words, I use the same commands I would use for a table. Okay Then, when I open a form where I need the indexed view open, I do: USE vwMysoft SET ORDER TO Namn Error message: Variable Namn is not found. Either I am m
-
- Printing is causing computer reboot!
by Richard1_1970
- 11 Replies
- Last post
by Vladimir Zografski
- Lately I have had many of my customers reporting to me that when ever they try to print using my software written in VFP 9 it is causing there computers to reboot. One thing in common with everyone is they all have different types HP LaserJet printers! Can anybody help me with this
Here is the code I am using for printing....
loListener = .NULL. do (_reportoutput) WITH 3, loListener loL
-
- VFP 9 on Vista
by mgc1949
- 6 Replies
- Last post
by Dan Freeman
- We sell and develop commerical applications in VFP. A customer recently purchased and installed our product on Vista Business.
As soon as th program loads, it displays "No Information Available for selected application". Although this has no impact on the program, it is annoying.
Have tried to find out more information about how to avoid having this message popup on Vista,
-
- how to gather m. variables from a form into table where it's updated in a procedure outside the form
by ibbm
- 14 Replies
- Last post
by dni
- Hi,
I have created a form to update/add info into a table depending on the actions. I use a prg file for the actual update as this routine is used in several other procedures outside this form.
in the INIT() of the screen I either do a blank screen if an add or display the record if it exists. I do this with a scatter memvar command. The objects on the forms have controlsources of m
-
- how to gather m. variables from a form into table where it's updated in a procedure outside the form
by ibbm
- 14 Replies
- Last post
by dni
- Hi,
I have created a form to update/add info into a table depending on the actions. I use a prg file for the actual update as this routine is used in several other procedures outside this form.
in the INIT() of the screen I either do a blank screen if an add or display the record if it exists. I do this with a scatter memvar command. The objects on the forms have controlsources of m
-
- stupid (?!?) function
by Annonnymus
- 5 Replies
- Last post
by Naomi Nosonovsky
- i got this code:
x= RECCOUNT ()
DO WHILE ( RECNO ()+1<x)
IF stop=1
EXIT
ENDIF
nui= ATc (def,var1) &&the prob
IF (nui>0)
thisform .list2. additem (cuv)
ENDIF
SKIP
enddo
nui is >0 only for the first check ;after that it always returns 0,and several of my def (memo) values contain var1
-
- Dbf Autoincrement with ADO
by Walker Boh
- 14 Replies
- Last post
by dni
- Hello everybody,
I created a table with an autoincrement field( CREATE TABLE `Synch_LogFile` ( `ID` I Autoinc NOT NULL, `TableName` C (100) NOT NULL, ...) )
when I try To open it by ADO with VB (Select * From Synch_LogFile) I get this error message: [Microsoft][ODBC Visual FoxPro Driver]Not a table.
What's I'm doing wrong
Thanks,
-
- drop-down combobox problem
by MillBear
- 11 Replies
- Last post
by MillBear
- Hi
I'm still struck with the combo drop-down part problem for nearly 2 weeks and need help from you.
When the values of these 2 textboxes match with each other, the list of employee is able to display on the combo drop-down. But I have one problem :- The list of employee on the combo drop-down repeat unnecessary (even a few blanks) when i changes the values of textboxes.
How to refres
-
- strtran problem - string is too long
by help11111111111
- 8 Replies
- Last post
by Naomi Nosonovsky
- Hello everyone,
I have some memo fields with carriage returns that I need to strip out. The problem is that some of the fields have more than 255 characters, so I get the error:
[Error Code: 903, SQL State: S1000] [Microsoft][ODBC Visual FoxPro Driver]String is too long to fit.
I am very new to Foxpro but no matter what sort of magic I try I can't seem to figure out how to mak
-
- How to show properties window to a file in foxpro
by surinder singh
- 14 Replies
- Last post
by surinder singh
- Hi
I want to show the properties window to the file selected by user on right click -> properties option.
(as this is shown with any file when we right click on that file and click on properties option in widows explorer)
If anybody knows about it , please tell me how to do this
If any one knows to do this in Visual Foxpro then it will be good for me.
-
- Maximum data to handle?Connect to SQL option?
by mrfitness
- 6 Replies
- Last post
by mrfitness
- Using VFP6, I plan on working on a table with 80 million records. Is this more than VFP can handle (each record has about 20 columns). Right now the data is on a SQL servier. If VFP cannot handle the 80 million I need to know how to connect to a SQL database and get what I need done.
-
- Load child form on Activate???
by Victor BA
- 4 Replies
- Last post
by Victor BA
- I have an MDI form and i want to load a Login child form when the application starts up, i thought that would be inside some event, so i checked the Init, Load and Activate events, and just works in the Activate event, but when i close that child form, it shows itself again....i suppose it's normal because (i think) the Activate event fires when the parent form is activated.....but then, how can i
-
- CommandBuilder for Foxpro
by Steve-0
- 5 Replies
- Last post
by CetinBasoz
- Does the Ole Provider for Visual Foxpro support the OleDbCommandBuilder If not, then what are people using/doing to create the SQL update/delete statements
-
- How to control the scanner with VFP?
by hoabinh
- 5 Replies
- Last post
by AndyKr
- Hi everyone,
Could I build a program in VFP to control my scanner as: connect, scan, and save file....
Where could I find out the TWAIN OCX support for it
Thanks a lot.
-
- how to highlight a grid via combo box..
by cutiegigshorty
- 2 Replies
- Last post
by MarciaAkins
- hello. U i want to know if it possible to highlight a grid with the use of combo box. Sample, you choose January in the combo box, after choosing January, all the month of january in the grid will be highlighted. Can it be possible thanks.
-
- ComboBox Control
by Ahsan Amin
- 14 Replies
- Last post
by Naomi Nosonovsky
- I have to to fill a combo box control with a table fiels with 'Please Select' at top.
-
- How to make a stand alone exe in VFP 9.0?
by Guna.G Raj
- 3 Replies
- Last post
by Carl Warner
- Hi
I wand how to mack starndered alone exe in VFP 9.0
-
- Subclassing visual foxpro base classes?
by mathmo
- 8 Replies
- Last post
by mathmo
- Just about finished reading through the first of the Learning Visual FoxPro Videos , the author is very much in favour of making subclasses for all the visual foxpro base classes. However, I'm wondering how common is this in practise Or is it merely his personal preference
-
- Change of Class Library ...
by Markish
- 6 Replies
- Last post
by CetinBasoz
- Hi, I have been using a base class library ( say X) for my application development. Now that I've created a new base class library (say Y). I want to change the class library for all the objects (in all forms in my project). I wrote a small program something like
Code Snippet
mscx_ct=Adir(mscx,'*.SCX') mct=1 do while mct<=mscx_ct mfnam=mscx(mct) use &mfnam repl all
-
- SP2
by dni
- 1 Replies
- Last post
by hangover
- May be I am late but I found SP2 at:
http://www.microsoft.com/downloads/details.aspx familyid=a28ddec6-ba3c-49d0-8176-8c0b3fca06d1&displaylang=en
-
- How to me a select using LIKE in sql server 2000 vfp 9
by Jaime Aviles
- 2 Replies
- Last post
by CetinBasoz
- Hello to all, i am working with sql server 2000 and vfp 9 and have no idea how to quaery using a like %text1% in a select statement, could you help me please
cn=sqlconnection("local server")
=sqlexec("use fianzas")
sqlstring="select * from soc_socios where nombre like "+ what¡¯s come here
=slqexec(cn,sqlstring,"c_cursor1")
tha
-
- Foxpro Windows 2.6 - How to replace a blank space with an underscore
by Amanpartap
- 3 Replies
- Last post
by Amanpartap
- Hi This is my first post in board. In a FoxPro database file, i have the following informaiton in one of fields: microsoft is great microsoft_is great In above two values, I want to replace every blank space with an underscore, irrespective of whereever they occur. like microsoft_is_great What would be the syntax Thanks in Advance. Aman
-
- Retriving data from DBF file
by Helloworld2482
- 9 Replies
- Last post
by CetinBasoz
- I am trying to retrive selected records from foxpro DBF file, i am using VB6 and for
connectivity i am using ODBC. Foxpro DBF file is having more then 4 lacks records
and it is taking lot of time to bring the records.
Can anybody help me to solve this issue,
Regards