From help... To prevent a control from being created, return false (.F.) from the Init event. The Destroy event will not be triggered. For example, the following code returns false (.F.) if the Invoice table is not available:
PROCEDURE INIT
IF NOT FILE("INVOICE.DBF")
ERROR 'Initialization...
If band's height is greater than 22", you get error 1298 "Detail 1 band is too large to fit on page". This is not VFP limit, but Windows limit. That's all.
https://learn.microsoft.com/en-us/sql/t-sql/data-types/int-bigint-smallint-and-tinyint-transact-sql?view=sql-server-
Data type Range Range expression Storage
bigint -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 -2^63 to 2^63-1 8 bytes
int -2,147,483,648 to 2,147,483,647 -2^31 to...
Hi,
Specify Controls Source as: CreateImageOnFly(BARNAME).
Variable BlobImage can you drop and "On Entry" expression can you clear too.
PROCEDURE CreateImageOnFly
LPARAM m.lbBARNAME
LOCAL m.loImage
m.loImage=CREATEOBJECT("Image")
m.loImage.PictureVal=m.lbBARNAME
RETURN loImage
ENDPROC
mJindrova
It's very strange because SQLTABLES() and SQLSCOLUMNS() (VFP) works prefectly,
but SQLEXEC() (VFP) return randomize data (at calls SQLGetData() (API))
Column PSCHEDNO is VARCHAR(30), db is MariaDB.
IMHO, it's a bug in MySQL ODBC 8.0 ANSI Driver (8.0.35/8.0.36) 32bit because MySQL ODBC 8.4...
Hmm,
If SQLEXEC() cause C5 periodically, then problem will be (mostly) in used ODBC driver.
If SQLEXEC() cause C5 randomly, then problem can be anywhere:
- damaged DBC container
- damaged used VCXs
- called API functions with wrong buffer length
- 1., 3. - 6. by Mike Lewis
mJindrova
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.