In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Se encontraron 133 coincidencias

por Milan Mehta
Sab Mar 04, 2017 11:48 am
Foro: English
Tema: Browse MariaDB Filter on Calculated Field
Respuestas: 0
Vistas: 2285

Browse MariaDB Filter on Calculated Field

DataSource : MariaDB
One particular problem while filtering on Calculated Field in Browse it gives out error.
The reason is Where condition do not allow LIKE '%xxx%'.
(However it is allowed in Having Condition).

Is there any way out ?

TIA
Milan.
por Milan Mehta
Mar Nov 29, 2016 11:15 am
Foro: English
Tema: Usage of TDataSet
Respuestas: 7
Vistas: 5386

Re: Usage of TDataSet

I tested your project. But it still do not show Primary Keys.
My Xailer is 4.0.2 (June 2015).
Should I check anything else ?

TIA
Milan.
por Milan Mehta
Sab Nov 26, 2016 3:07 pm
Foro: English
Tema: Usage of TDataSet
Respuestas: 7
Vistas: 5386

Re: Usage of TDataSet

Here is DDL : CREATE TABLE `exppcinv` ( `exppcinvbook` CHAR(2) NOT NULL, `exppcinvexunitcode` SMALLINT(5) UNSIGNED NOT NULL, `exppcinvvno` SMALLINT(5) UNSIGNED NOT NULL, `vdate` DATE NOT NULL, `party` SMALLINT(5) UNSIGNED NULL DEFAULT NULL, `buyer` SMALLINT(5) UNSIGNED NULL DEFAULT NULL, `buyerlcno`...
por Milan Mehta
Jue Nov 24, 2016 8:07 am
Foro: English
Tema: Usage of TDataSet
Respuestas: 7
Vistas: 5386

Re: Usage of TDataSet

Ok. I tried following code. However it always returns lPrimaryKey as .F. even in case of Primary Key field. I use MariaDB database. WITH OBJECT oTable := TSqlTable():Create() :oDataSource := AppData:oDS :cTableName := 'exppcinv' :lOpen := .T. aTabFields := oTable:aFields END WITH FOR i = 1 TO Len(aT...
por Milan Mehta
Mié Nov 23, 2016 3:23 pm
Foro: English
Tema: Usage of TDataSet
Respuestas: 7
Vistas: 5386

Usage of TDataSet

I am using MariaDB Data Source. My following code do not work and gives me error at cName Property assignment. WITH OBJECT oTable := TDataSet():Create() :oDataSource := AppData:oDS :cName := 'exppcinv' :lOpen := .T. aTabFields := oTable:aFields :lOpen := .F. END WITH What am I doing wrong ? TIA Milan.
por Milan Mehta
Lun Oct 24, 2016 10:07 am
Foro: English
Tema: Sqlite : How to disable Triggers temporarily ?
Respuestas: 1
Vistas: 3184

Sqlite : How to disable Triggers temporarily ?

Is there any way to suspend Triggers and then Reactivate it in Sqlite ?

TIA
Milan.
por Milan Mehta
Jue Sep 15, 2016 7:03 am
Foro: English
Tema: How to Trap key in Alt Combination ?
Respuestas: 4
Vistas: 3802

How to Trap key in Alt Combination ?

I wish to use Alt+W key in FormKeyUp Event of the Form (using VK_ combination).
I could See Control+ or Menu+ Combination but not Alt+ Combination.
I am including WinUser.api.

Is it possible or is there any work around ?

TIA
Milan.
por Milan Mehta
Lun Ago 08, 2016 10:18 am
Foro: English
Tema: How Can I add Image in Push Button ?
Respuestas: 1
Vistas: 2614

How Can I add Image in Push Button ?

I need to have Big Push Button with Image. How can I ?

TIA
Milan.
por Milan Mehta
Sab Jun 04, 2016 3:50 pm
Foro: FastReport
Tema: FRX : Null Value in DataSet
Respuestas: 3
Vistas: 3768

Re: FRX : Null Value in DataSet

My following code is giving me error : "No Exported Variable lConvertNulls"

WITH OBJECT oReport := TFastReport():New(self)

:oEngineOptions:lConvertNulls := .T.

END WITH

What am I doing wrong ?

TIA
Milan
por Milan Mehta
Vie Jun 03, 2016 2:28 pm
Foro: FastReport
Tema: How to set Master-child relationship on multiple fields
Respuestas: 3
Vistas: 3600

Re: How to set Master-child relationship on multiple fields

No we use Sqlite. Can you guide ?

TIA
Milan.
por Milan Mehta
Sab May 28, 2016 7:26 am
Foro: FastReport
Tema: FRX : Null Value in DataSet
Respuestas: 3
Vistas: 3768

FRX : Null Value in DataSet

When using FRX, if there is any Null value in the DataSet passed, it results in hanging of the application.

What is the way out ?

TIA
Milan.
por Milan Mehta
Sab May 28, 2016 7:24 am
Foro: FastReport
Tema: How to set Master-child relationship on multiple fields
Respuestas: 3
Vistas: 3600

How to set Master-child relationship on multiple fields

Please help me with an example of how to set Master-Child Relationship on Multiple Fields using :SetMaster().
por Milan Mehta
Mar Mar 15, 2016 9:27 am
Foro: English
Tema: How to attach Digital Signature to a PDF file ?
Respuestas: 1
Vistas: 2538

How to attach Digital Signature to a PDF file ?

How can I attach Digital Signature to a PDF file generated from Fast Report using Xailer ?

If Xailer does not give this feature, is there any workaround ?

TIA
Milan.
por Milan Mehta
Mié Mar 02, 2016 1:39 pm
Foro: English
Tema: Trapping Keys in Browse
Respuestas: 2
Vistas: 2830

Re: Trapping Keys in Browse

Dear Sir, It gives me information of Key Pressed in OnKeyUp Event but does not give me any information of Key Pressed in OnChar Event of the form. Do I need to set any other property ? One more observation : When I set OnChar Event of the form, the Property lMsgAuto is automatically set to value .T....
por Milan Mehta
Mié Mar 02, 2016 9:26 am
Foro: English
Tema: Trapping Keys in Browse
Respuestas: 2
Vistas: 2830

Trapping Keys in Browse

I wish to trap Keys pressed by user in the Browse. I wish to automatically search that value in a particular column. The problem arises when user Presses key like Down, nKey Returns a values which is equal to ( character, similarly Up is equal to & character etc. Is there any way by which I can ...
por Milan Mehta
Mié Feb 03, 2016 3:40 pm
Foro: English
Tema: How to change the background color of TLabel ?
Respuestas: 1
Vistas: 2363

How to change the background color of TLabel ?

As subject.

I tried to change the property of ClrPane but it had no effect on the appearance.
Kindly guide.

Thanks,
Milan.
por Milan Mehta
Vie Dic 25, 2015 8:03 am
Foro: English
Tema: Browse Filter Problem
Respuestas: 0
Vistas: 3541

Browse Filter Problem

I am using Sqlite and MySql Datasource. How to Set filter on Numeric Columns in Browse ? My following code seems to be not working : :oBrowSch:lFilterBar := .T. ::oBrowSch:aCols[4]:cFilter := ::oItemName:cText ::oBrowSch:aCols[6]:cFilter := LTrim(Str(::oPkgQty:cText)) // Numeric Column After giving ...
por Milan Mehta
Mar Oct 27, 2015 8:19 am
Foro: English
Tema: How to use Debugger in Xailer ?
Respuestas: 1
Vistas: 2466

How to use Debugger in Xailer ?

Can you give us the brief outline of using Debugger in Xailer ?
por Milan Mehta
Sab Oct 17, 2015 10:42 am
Foro: English
Tema: Can I use C API function of Sqlite in our Code
Respuestas: 1
Vistas: 2407

Can I use C API function of Sqlite in our Code

Can I use C API function of Sqlite in our code like sqlite3_finalize() ?
TIA
Milan.
por Milan Mehta
Mié Oct 14, 2015 4:44 pm
Foro: English
Tema: How can I change the Application Icon ?
Respuestas: 1
Vistas: 2706

How can I change the Application Icon ?

I did change it, but it does not change Icon of the Exe file generated by the Xailer.
por Milan Mehta
Mar Oct 06, 2015 9:05 am
Foro: English
Tema: Force Drop Down in SearchComboBox
Respuestas: 1
Vistas: 2659

Force Drop Down in SearchComboBox

I have a typical requirement. I have a search combobox. If the user Presses Enter keeping it empty, I wish to force open the Drop down list (Normally available by Pressing Down Arrow Key).

Is it possible ? If so, how ?

TIA
Milan.
por Milan Mehta
Mié Sep 23, 2015 4:43 pm
Foro: English
Tema: Any Limitation to No. of Records in MemDataSet ?
Respuestas: 1
Vistas: 2777

Any Limitation to No. of Records in MemDataSet ?

Is there any limitation to no. of records that can be stored in MemDataSet ?
It is being observed that I am not able to add more than 28000 records in MemDataSet.
Thereafter it simply exits the program.
Can you please shed light on the issue.

TIA
Milan.
por Milan Mehta
Lun May 18, 2015 9:26 am
Foro: FastReport
Tema: Not Able to Print Big Number
Respuestas: 3
Vistas: 2896

Re: Not Able to Print Big Number

Thanks Ignacio. We are eagerly awaiting the new release.

Milan.
por Milan Mehta
Mié May 13, 2015 8:21 am
Foro: FastReport
Tema: Not Able to Print Big Number
Respuestas: 3
Vistas: 2896

Not Able to Print Big Number

Dear Sir,

I am trying to Print a number 2920687188 it prints -1374280108. I am using default %2.2f display format.
Can you suggest me proper display format so that it prints properly.

TIA
Milan.
por Milan Mehta
Mié Abr 15, 2015 2:33 pm
Foro: English
Tema: MsgInfo() Sets Focus on the First Control of the Form
Respuestas: 3
Vistas: 2774

MsgInfo() Sets Focus on the First Control of the Form

Please try the attached sample.
After the Search Combo Box, the Message appears and focus shifts to the first control of the form.
TIA
Milan

Attached files MsgInfo.zip (3.8 KB)Â