I have a grid that is pointing at a view. As soon as I set order on the view using an IDX index the vertical scroll bar on the grid goes funny. ie. when the top record is at the top of the grid the vertical scroll bar looks as though there are lots more records above.
Weird
Has anyone come...
How can I update a table in a data environment using tableupdate() without having to select a different workarea.
eg.
tableupdate(site)
instead of
select site
tableupdate()
Appreciate the help
Chris
Stewart
There is a very handy tool in VFP6 where you can copy all of your Options setting to the command window. I presume it is the same for VFP7.
Make sure your command window is cleared of any commands. Open the Tools Options dialog screen. Hold down the shift key and click OK. All of your...
...prod_grp = "92"
person_no = "00000002" prod_grp = "13"
person_no = "00000002" prod_grp = "93"
***** code example *******
USE ISQQPERSON IN 0 ALIAS PERS
USE ISQQCODE IN 0 ALIAS CODE1
USE ISQQCODE AGAIN IN 0 ALIAS CODE2
SELECT PERS.* ;
FROM...
Hi guys
Just got round to testing that code and i'm having a few problems. Below is what I am writing :
SELECT * ;
FROM PERSON P INNER JOIN CODE C1 INNER JOIN CODE C2 ;
ON PERSON.PERSON_NO = C2.PERSON_NO ;
ON PERSON.PERSON_NO = C1.PERSON_NO ;
INTO CURSOR CODERESULTS ;
WHERE...
I am using SQL select in VFP6 and I have two tables with a “One to Many” relationship. Person.dbf & Codes.dbf
I want to select all the people from the person table that have both code A1 and code A2 on the code table. The problem I have is that on the Code table these two codes would be on two...
...files and saves them as a .h file. Then all you have to do is include the file in forms or programs whenever you are automating office proucts.
****************START CODE****************
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.SHOW
RETURN
****************FORM...
I have been using the below code to move codes from one lstbox to a another.
THIS.PARENT.LSTSELECTED.ADDITEM(THIS.LIST(THIS.LISTINDEX,1))
My problem is I now want to use 2 columns in my listboxes and be able to drag and drop both columns into another 2 column listbox.
Any tips would be...
...files and saves them as a .h file. Then all you have to do is include the file in forms or programs whenever you are automating office proucts.
****************START CODE****************
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.SHOW
RETURN
****************FORM...
...files and saves them as a .h file. Then all you have to do is include the file in forms or programs whenever you are automating office proucts.
****************START CODE****************
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.SHOW
RETURN
****************FORM...
Hi Holm
A public variable should do it.
Simply declare your public variable. Set the variable to the various strings in your buttons and then set a text boxs expression property in the report to your variable.
Hope this helps
Chris
I think it is the actual word array vfp doesn't like. I keep getting the error : "array.prg does not exist"?????
I am using the numeric qualifier for the above commands in the 2nd parameter but I think you can do it either way.
Thanks
Chris
This code is from Excel 2000 when I am opening the file. It shouldn't be too different from 2002
XLSHEET.OPENTEXT FILENAME:="C:\nickhvfp\xls.auto\SPRZ.TXT", ORIGIN:= _
XLWINDOWS, STARTROW:=1, DATATYPE:=XLDELIMITED, TEXTQUALIFIER:= _
XLDOUBLEQUOTE, CONSECUTIVEDELIMITER:=FALSE...
I am trying to open a text file in Excel 2000 - (sounds easy!) BUT I need the first two columns of the file to be declared as text (I have leading zero's that I want to keep).
I am recording a macro in excel and then converting the code to VFP. As I'm sure you know, some of the Excel functions...
Thanks again mgagnon
Unfortunitly I am dealing with about 12 pages of html from a different file that would be sent to me regularly. I think it would be far to time consuming to convert the code every time.
I have an outlook.h file that I include in the form.
It has lots of useful commands...
Thanks again mgagnon
Unfortunitly I am dealing with about 12 pages of html from a different file that would be sent to me regularly. I think it would be far to time consuming to convert the code every time.
I have an outlook.h file that I include in the form.
It has lots of useful commands...
I have the html code in the .htm file but when I tryed your example it literally put the html string in the body ie. it didn't convert it (outlook is set to send HTML messages). Any ideas?
Thanks for the help
Chris
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.