To add to what you added to what I added...
You can set the ColumnCount = 1 even when the RowSource contains multiple columns.
By doing that, you don't need to specify any ColumnWidth for the other columns.
Andy Rice
San Diego, CA
Set these in the Property Sheet:
RowSourceType = 6
RowSource = dbf.col2, col1, col3
A unopened FoxPro combobox only displays its first column.
Andy Rice
San Diego, CA
This is from the Universal Thread
I think it still applies to VFP 8:
"If you've upgraded to VFP 6.0, you may have noticed that calls to WAIT WINDOW don't display the window with an SDI form.
This will occur if the form's ShowWindow property is set to 2 (As Top-Level Form) and the Desktop...
Mike:
I have only used Autoinc fields with a CursorAdapter.
I was deferring to YOUR superior knowledge of how they worked on a regular table!
Thanks,
Andy Rice
San Diego, CA
...of the CursorAdapter class to capture the autoinc value:
PROCEDURE AfterInsert
LPARAMETERS tcFldState, tlForce, tcInsertCmd, tlResult
* You must previously create iIdentity as a Class Property.
THIS.iIdentity = yourTable.yourAutoIncField
ENDPROC
In your code:
1. Do the...
I take a different approach, and try to get rid of the resource file!
This is documented for VFP 6 or higher, and may works in version 5:
Make a Config.fpw containing this line:
RESOURCE = OFF
Include that file in the project.
VFP will look for a Config.fpw from the project...
In the Property Sheet, set the Form Variable value for:
Character: ="StringEnclosedInQuotes".
Note the equal sign and quotes.
Number : Just the number.
Date : { / / }.
The last two do not have quotes.
Andy Rice
San Diego, CA
...= Kodak Image Admin control.
2. oleImageEdit = Kodak Image Edit control
Here is my code to print:
WITH THISFORM.oleImageAdmin.Object
* Set filename to be printed to the displayed file. If this property
* is not set the dialog box will not display.
.Image =...
At the Command Window:
m.loIE = NEWOBJECT( "InternetExplorer.Application" )
will get you the Internet Explorer object.
Andy Rice
San Diego, CA
A very fast way:
************************************************************* Parameter: Name of URL which points to a file to download.
* Parameter: Local file to which to download.
* Return : .T./.F.
************************************************************
FUNCTION lURLGetFile( tcURL...
"PARADOX.NET" was used by Paradox 3.5 and earlier.
That changed to "PDOXUSRS.NET" in version 4.
The key thing was that each user needed to map THE SAME DRIVE LETTER to where that file was.
So map the same drive letter on your PC.
Do this even if you copied the .db files...
I used to work with a DB2/400.
That message meant the data type did not match.
So "vprhrec" would have to be in DB2/400 format.
Sorry, don't know what that format is.
Andy Rice
San Diego, CA
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.