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 134 coincidencias

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: 2778

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)Â
por Milan Mehta
Mié Abr 15, 2015 10:29 am
Foro: English
Tema: MsgInfo() Sets Focus on the First Control of the Form
Respuestas: 3
Vistas: 2778

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

One Problem we have been facing is :
Whenever we use MsgInfo() in Exit Event of any Control, the Focus shifts to the First Data Control of the Form. We wish to remain on the same control or the next control.
What should we do for that ?
TIA
Milan.
por Milan Mehta
Mar Abr 07, 2015 10:15 am
Foro: English
Tema: Xailer 4.0 Linking Error
Respuestas: 2
Vistas: 2388

Xailer 4.0 Linking Error

Yes it did solve the problem.
Thanks
Milan.
por Milan Mehta
Mar Abr 07, 2015 6:50 am
Foro: English
Tema: Xailer 4.0 Linking Error
Respuestas: 2
Vistas: 2388

Xailer 4.0 Linking Error

While Linking with new Xailer 4.0, I get the following error. I have Rebuilt the Project. Linking: SagarAct.exe... C:/Xailer4/hb32/Lib/Win/mingw/libhbrtl.a(hbsocket.o):hbsocke t.c:(.text+0x9c60): undefined reference to `[email=GetAdaptersInfo@8']GetAdaptersInfo@8'[/email] C:/Xailer4/hb32/Lib/Win/min...
por Milan Mehta
Mié Mar 25, 2015 3:39 pm
Foro: English
Tema: Sqlite : BEGIN TRANSACTION EXCLUSIVE
Respuestas: 1
Vistas: 2392

Sqlite : BEGIN TRANSACTION EXCLUSIVE


Does BeginTrans() have the option to start transaction in Exclusive mode in Sqlite ?
TIA
Milan.
por Milan Mehta
Mié Mar 25, 2015 3:38 pm
Foro: English
Tema: Sqlite : Concurrent User Problem
Respuestas: 3
Vistas: 3024

Sqlite : Concurrent User Problem


What is the standard procedure to be followed in the cases where concurrent users try to save data in Sqlite database ?
Quite often we get the error : Database is locked [#5].
TIA
Milan.
por Milan Mehta
Lun Mar 16, 2015 5:39 am
Foro: FastReport
Tema: Not Able to use PrepareReport() with FRX
Respuestas: 1
Vistas: 2246

Not Able to use PrepareReport() with FRX

I am having Enterprise Edition of Xailer and FRX. But it does not allow me to use PrepareReport().
What is the way out ?
TIA
Milan.
por Milan Mehta
Sab Mar 14, 2015 6:04 am
Foro: English
Tema: Can I execute multiple Statements in one DataSource:Execute() command ?
Respuestas: 0
Vistas: 2255

Can I execute multiple Statements in one DataSource:Execute() command ?

Can I execute Multiple statement seperated by ; in one DataSource:Execute() command ?
If not, is there any work around ?
TIA
Milan.
por Milan Mehta
Mié Feb 11, 2015 11:37 am
Foro: English
Tema: Sqlite : Database locked problem
Respuestas: 1
Vistas: 2645

Sqlite : Database locked problem

Ultimately following statement solved my problem.
PRAGMA busy_timeout = milliseconds;
oDS:Execute ("PRAGMA busy_timeout = 10000;")
Thanks
Milan.
por Milan Mehta
Vie Feb 06, 2015 10:44 am
Foro: English
Tema: Sqlite : Database locked problem
Respuestas: 1
Vistas: 2645

Sqlite : Database locked problem

I am using Sqlite datasource. It seems that while insert / update / deleting a record in any table in the databases, entire database file gets locked. So when concurrent users tries to Save record, we get the error : Database locked. How can we avoid this error ? How do we detect the problem and kee...
por Milan Mehta
Mar Dic 16, 2014 10:51 am
Foro: English
Tema: How to update Value of TDBMaskEdit ?
Respuestas: 1
Vistas: 2441

How to update Value of TDBMaskEdit ?

Sometime the situation arises when value of Field of underlying Dataset has changed, how can I enforce corresponding value change of the associated TDbMaskEdit ?
TIA
Milan.
por Milan Mehta
Vie Nov 14, 2014 6:31 am
Foro: English
Tema: Sqlite Error : Interrupted [#9]
Respuestas: 1
Vistas: 2454

Sqlite Error : Interrupted [#9]

Quite often while doing Database Operation in Sqlite we come across this error - interruped [#9] and transaction is rolled back. But however if we do the same operation in Sqlite studio or similar workbench we do not face this problem.
Is there any way to resolve the issue ?
TIA
Milan.
por Milan Mehta
Vie Nov 14, 2014 6:24 am
Foro: English
Tema: Sqlite : Any substitute for Stored Procedure or Function ?
Respuestas: 0
Vistas: 2910

Sqlite : Any substitute for Stored Procedure or Function ?

In MySql we have the facility of Stored Procedure or Function. Is there similar functionality available for Sqlite ? If so writing SQL becomes lot more powerful.
Kindly guide,
TIA
Milan.
por Milan Mehta
Lun Oct 20, 2014 9:24 am
Foro: English
Tema: Win_Ole Error, Dos Error Code: -2147352567
Respuestas: 1
Vistas: 2571

Win_Ole Error, Dos Error Code: -2147352567

My following lines of code give me error : Code : oExcel := Win_OLECreateObject( "Excel.Application" ) oExcel:Workbooks:Open("abc.xls") ::oExcel:Visible := .T. oAS := oExcel:ActiveSheet() oAS:Cells ( 1, 3 ):Interior:ColorIndex := 7 Error : Subsystem Call: WINOLE System Code: 1006...
por Milan Mehta
Lun Oct 06, 2014 4:29 pm
Foro: English
Tema: How to accept DateTime Value ?
Respuestas: 1
Vistas: 2491

How to accept DateTime Value ?

We have DatePicker and TimePicker controls. But is there any way by which I can accept both togather in one control ? So that I can bind it to a datetime field ?
If not, what is work around ?
Kindly guide.
TIA
Milan.
por Milan Mehta
Lun Oct 06, 2014 4:27 pm
Foro: English
Tema: Sqlite : What is proper practice to store Date field ?
Respuestas: 2
Vistas: 2914

Sqlite : What is proper practice to store Date field ?

Thanks a lot. I too started working keeping lDateAsString := .T. and the result is encouraging.
Regards,
Milan.
por Milan Mehta
Vie Sep 19, 2014 1:45 pm
Foro: English
Tema: Sqlite : Funny behavior while saving numeric value in char field.
Respuestas: 1
Vistas: 3231

Sqlite : Funny behavior while saving numeric value in char field.

I have been facing this problem randomly. When I try to store pure numeric value in a character field, Xailer stores some funny value. Like when I tried to store value 121 in Varchar(7) field, it stores value like -21456. This is consistently happening in a field. However it is working fine in other...
por Milan Mehta
Vie Sep 19, 2014 1:40 pm
Foro: English
Tema: Sqlite : What is proper practice to store Date field ?
Respuestas: 2
Vistas: 2914

Sqlite : What is proper practice to store Date field ?

Sqlite normally stores data as numeric value in the database. Xailer gives us the option to store the date value as numeric value (as default for sqlite) or store it date as character sting. My question what is proper and prevalent method of storing Dates in Sqlite ? As Numeric Value or as Date char...
por Milan Mehta
Mié Jul 23, 2014 4:21 pm
Foro: English
Tema: Where can I get Source of WaitOn() and WaitOff()
Respuestas: 2
Vistas: 2566

Where can I get Source of WaitOn() and WaitOff()

It seems that these two functions are of use to me.
From where can I get the source of it ?
What exactly it does ?
TIA
Milan.
por Milan Mehta
Jue May 29, 2014 12:10 pm
Foro: English
Tema: How can I copy to clipboard ?
Respuestas: 2
Vistas: 2942

How can I copy to clipboard ?

Yes it worked well. Thanks.
Milan.
por Milan Mehta
Jue May 29, 2014 9:59 am
Foro: English
Tema: How can I copy to clipboard ?
Respuestas: 2
Vistas: 2942

How can I copy to clipboard ?

At some point, I wish to Put some text in the clipboard.
How can I ?
hb_gtInfo( HB_GTI_CLIPBOARDDATA, "sample text" )seems to be not working.
TIA
Milan.
por Milan Mehta
Mar Mar 18, 2014 4:24 pm
Foro: FastReport
Tema: Error Loading Frx
Respuestas: 1
Vistas: 2388

Error Loading Frx

I suddenly started having problem with a project using Frx. My following code started giving problem. When I run the program execution at this point, windows gives out error : "windows has stopped working." WITH OBJECT oReport := TFastReport():New( Self ) :AddDataSet( "MemDataSet"...
por Milan Mehta
Dom Nov 17, 2013 7:24 am
Foro: FastReport
Tema: How can I embed .fr3 file in Exe ?
Respuestas: 1
Vistas: 2485

How can I embed .fr3 file in Exe ?

I had read somewhere that this is possible.
How can I embed .fr3 file in Exe created by Xailer ?
TIA
Milan.
por Milan Mehta
Sab Nov 16, 2013 5:48 am
Foro: FastReport
Tema: How to pass Parameter from Xailer to FR ?
Respuestas: 2
Vistas: 2839

How to pass Parameter from Xailer to FR ?

Thanks. It worked.
Can it be used in Code Script (VB, Java or Pascal script) of the report ? Perhaps Not.
If not any work around ?
TIA
Milan.
por Milan Mehta
Vie Nov 15, 2013 1:21 pm
Foro: FastReport
Tema: How to pass Parameter from Xailer to FR ?
Respuestas: 2
Vistas: 2839

How to pass Parameter from Xailer to FR ?

Previously we had CallHBVar() function available in Fast Report.
What is the alternative in the new FR ?
TIA
Milan.