Página 1 de 1

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 9:48 am
por Ingo Junge-Herrmann

Xailers,
I have a DBBrowse with 3 DataFieldColumns.
One of them contents the numeric datafield ("A0") by the range
from 0 to 3.
In the Browsecolumn this numeric field will be shown as
an item of the array "aTyp" which contents 4 strings.
Column properties are assigned as:
nEditType = beListBox
aEditListText = aTyp //the array with the items
aEditListBound = aTyp
After changing to the editmode of the DBBrowse and finalizing it the error
occurs:
---------------- Information über die interne Fehlerbehandlung ----------------
Untersystemaufruf: BASE
Systemcode: 1070
Default-Status: .F.
Beschreibung: Argument error
Operation: ==
Argumente: [ 1] = Typ: C Wert: Urteil [ 2] = Typ: N Wert: 3
Involvierte Dateien:
DOS-Fehlercode: 0
Aufgerufene Programmteile:
TDATAFIELD:VARPUT (118)
TGRIDEDIT:UPDATEDATA (76)
(b)TDBFDATASET:SAVE (984)
AEVAL (0)
TDBFDATASET:SAVE (984)
TDBFDATASET:UPDATE (700)
TDBBRWCOLUMN:POSTEDIT (842)
TDBBROWSE:CANCELEDIT (2585)
TGRIDEDIT:WMKILLFOCUS (302)
SETFOCUS (0)
TDBBROWSE:SETFOCUS (836)
TBROWSE:WMLBUTTONDOWN (1857)
(b)XDBBROWSE:XDBBROWSE (76)
TDBBROWSE:WMLBUTTONDOWN (0)
RUNFORM (0)
TAPPLICATION:RUN (208)
MAIN (16)
What is wrong with the code (see attached sample)?
Curious is if the column with the numeric datafield is
the single column of the browse than the code works perfectly.
Any idea to make it working with more columns?
Regards
Ingo
--

Attached files testbrowse.zip (2.6 KB)Â

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 10:00 am
por ignacio
Ingo,
Pleae try with the file attached.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:45cc3541$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>
> Xailers,
> I have a DBBrowse with 3 DataFieldColumns.
> One of them contents the numeric datafield ("A0") by the range
> from 0 to 3.
> In the Browsecolumn this numeric field will be shown as
> an item of the array "aTyp" which contents 4 strings.
>
> Column properties are assigned as:
> nEditType = beListBox
> aEditListText = aTyp //the array with the items
> aEditListBound = aTyp
>
> After changing to the editmode of the DBBrowse and finalizing it the error
> occurs:
>
> ---------------- Information über die interne
> Fehlerbehandlung ----------------
>
> Untersystemaufruf: BASE
> Systemcode: 1070
> Default-Status: .F.
> Beschreibung: Argument error
> Operation: ==
> Argumente: [ 1] = Typ: C Wert: Urteil [ 2] = Typ: N Wert: 3
> Involvierte Dateien:
> DOS-Fehlercode: 0
>
> Aufgerufene Programmteile:
> TDATAFIELD:VARPUT (118)
> TGRIDEDIT:UPDATEDATA (76)
> (b)TDBFDATASET:SAVE (984)
> AEVAL (0)
> TDBFDATASET:SAVE (984)
> TDBFDATASET:UPDATE (700)
> TDBBRWCOLUMN:POSTEDIT (842)
> TDBBROWSE:CANCELEDIT (2585)
> TGRIDEDIT:WMKILLFOCUS (302)
> SETFOCUS (0)
> TDBBROWSE:SETFOCUS (836)
> TBROWSE:WMLBUTTONDOWN (1857)
> (b)XDBBROWSE:XDBBROWSE (76)
> TDBBROWSE:WMLBUTTONDOWN (0)
> RUNFORM (0)
> TAPPLICATION:RUN (208)
> MAIN (16)
>
> What is wrong with the code (see attached sample)?
>
> Curious is if the column with the numeric datafield is
> the single column of the browse than the code works perfectly.
>
> Any idea to make it working with more columns?
>
> Regards
>
> Ingo
>


Attached files GridEdit.rar (7 KB)Â

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 10:00 am
por NoName
Ingo,
Pleae try with the file attached.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:45cc3541$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>
> Xailers,
> I have a DBBrowse with 3 DataFieldColumns.
> One of them contents the numeric datafield ("A0") by the range
> from 0 to 3.
> In the Browsecolumn this numeric field will be shown as
> an item of the array "aTyp" which contents 4 strings.
>
> Column properties are assigned as:
> nEditType = beListBox
> aEditListText = aTyp //the array with the items
> aEditListBound = aTyp
>
> After changing to the editmode of the DBBrowse and finalizing it the error
> occurs:
>
> ---------------- Information über die interne
> Fehlerbehandlung ----------------
>
> Untersystemaufruf: BASE
> Systemcode: 1070
> Default-Status: .F.
> Beschreibung: Argument error
> Operation: ==
> Argumente: [ 1] = Typ: C Wert: Urteil [ 2] = Typ: N Wert: 3
> Involvierte Dateien:
> DOS-Fehlercode: 0
>
> Aufgerufene Programmteile:
> TDATAFIELD:VARPUT (118)
> TGRIDEDIT:UPDATEDATA (76)
> (b)TDBFDATASET:SAVE (984)
> AEVAL (0)
> TDBFDATASET:SAVE (984)
> TDBFDATASET:UPDATE (700)
> TDBBRWCOLUMN:POSTEDIT (842)
> TDBBROWSE:CANCELEDIT (2585)
> TGRIDEDIT:WMKILLFOCUS (302)
> SETFOCUS (0)
> TDBBROWSE:SETFOCUS (836)
> TBROWSE:WMLBUTTONDOWN (1857)
> (b)XDBBROWSE:XDBBROWSE (76)
> TDBBROWSE:WMLBUTTONDOWN (0)
> RUNFORM (0)
> TAPPLICATION:RUN (208)
> MAIN (16)
>
> What is wrong with the code (see attached sample)?
>
> Curious is if the column with the numeric datafield is
> the single column of the browse than the code works perfectly.
>
> Any idea to make it working with more columns?
>
> Regards
>
> Ingo
>


Attached files GridEdit.rar (7 KB)Â

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 10:57 am
por Ingo Junge-Herrmann
Ignacio,
sorry the attached gridedit.obj doesn't solve the problem.
You can try it yourself with my sample.
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>Ingo,
>
>Pleae try with the file attached.
>
>Regards,
>
>--
>Ignacio Ortiz de Zúñiga
>http://www.xailer.com
>
>
>"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
>news:45cc3541$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>>
>> Xailers,
>> I have a DBBrowse with 3 DataFieldColumns.
>> One of them contents the numeric datafield ("A0") by the range
>> from 0 to 3.
>> In the Browsecolumn this numeric field will be shown as
>> an item of the array "aTyp" which contents 4 strings.
>>
>> Column properties are assigned as:
>> nEditType = beListBox
>> aEditListText = aTyp //the array with the items
>> aEditListBound = aTyp
>>
>> After changing to the editmode of the DBBrowse and finalizing it the error
>> occurs:
>>
>> ---------------- Information über die interne
>> Fehlerbehandlung ----------------
>>
>> Untersystemaufruf: BASE
>> Systemcode: 1070
>> Default-Status: .F.
>> Beschreibung: Argument error
>> Operation: ==
>> Argumente: [ 1] = Typ: C Wert: Urteil [ 2] = Typ: N Wert: 3
>> Involvierte Dateien:
>> DOS-Fehlercode: 0
>>
>> Aufgerufene Programmteile:
>> TDATAFIELD:VARPUT (118)
>> TGRIDEDIT:UPDATEDATA (76)
>> (b)TDBFDATASET:SAVE (984)
>> AEVAL (0)
>> TDBFDATASET:SAVE (984)
>> TDBFDATASET:UPDATE (700)
>> TDBBRWCOLUMN:POSTEDIT (842)
>> TDBBROWSE:CANCELEDIT (2585)
>> TGRIDEDIT:WMKILLFOCUS (302)
>> SETFOCUS (0)
>> TDBBROWSE:SETFOCUS (836)
>> TBROWSE:WMLBUTTONDOWN (1857)
>> (b)XDBBROWSE:XDBBROWSE (76)
>> TDBBROWSE:WMLBUTTONDOWN (0)
>> RUNFORM (0)
>> TAPPLICATION:RUN (208)
>> MAIN (16)
>>
>> What is wrong with the code (see attached sample)?
>>
>> Curious is if the column with the numeric datafield is
>> the single column of the browse than the code works perfectly.
>>
>> Any idea to make it working with more columns?
>>
>> Regards
>>
>> Ingo
>>
>
>
>

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 10:57 am
por Ingo Junge-Herrmann
Ignacio,
sorry the attached gridedit.obj doesn't solve the problem.
You can try it yourself with my sample.
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>Ingo,
>
>Pleae try with the file attached.
>
>Regards,
>
>--
>Ignacio Ortiz de Zúñiga
>http://www.xailer.com
>
>
>"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
>news:45cc3541$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>>
>> Xailers,
>> I have a DBBrowse with 3 DataFieldColumns.
>> One of them contents the numeric datafield ("A0") by the range
>> from 0 to 3.
>> In the Browsecolumn this numeric field will be shown as
>> an item of the array "aTyp" which contents 4 strings.
>>
>> Column properties are assigned as:
>> nEditType = beListBox
>> aEditListText = aTyp //the array with the items
>> aEditListBound = aTyp
>>
>> After changing to the editmode of the DBBrowse and finalizing it the error
>> occurs:
>>
>> ---------------- Information über die interne
>> Fehlerbehandlung ----------------
>>
>> Untersystemaufruf: BASE
>> Systemcode: 1070
>> Default-Status: .F.
>> Beschreibung: Argument error
>> Operation: ==
>> Argumente: [ 1] = Typ: C Wert: Urteil [ 2] = Typ: N Wert: 3
>> Involvierte Dateien:
>> DOS-Fehlercode: 0
>>
>> Aufgerufene Programmteile:
>> TDATAFIELD:VARPUT (118)
>> TGRIDEDIT:UPDATEDATA (76)
>> (b)TDBFDATASET:SAVE (984)
>> AEVAL (0)
>> TDBFDATASET:SAVE (984)
>> TDBFDATASET:UPDATE (700)
>> TDBBRWCOLUMN:POSTEDIT (842)
>> TDBBROWSE:CANCELEDIT (2585)
>> TGRIDEDIT:WMKILLFOCUS (302)
>> SETFOCUS (0)
>> TDBBROWSE:SETFOCUS (836)
>> TBROWSE:WMLBUTTONDOWN (1857)
>> (b)XDBBROWSE:XDBBROWSE (76)
>> TDBBROWSE:WMLBUTTONDOWN (0)
>> RUNFORM (0)
>> TAPPLICATION:RUN (208)
>> MAIN (16)
>>
>> What is wrong with the code (see attached sample)?
>>
>> Curious is if the column with the numeric datafield is
>> the single column of the browse than the code works perfectly.
>>
>> Any idea to make it working with more columns?
>>
>> Regards
>>
>> Ingo
>>
>
>
>

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 1:05 pm
por david fung
Column problem;
within form1 moved "A0" to 1st column since your code refer it as Column1.
Corrected version attached.
Regards,
David Fung
Ingo Junge-Herrmann wrote:
> Xailers,
> I have a DBBrowse with 3 DataFieldColumns.
> One of them contents the numeric datafield ("A0") by the range
> from 0 to 3.
> In the Browsecolumn this numeric field will be shown as
> an item of the array "aTyp" which contents 4 strings.
>
> Column properties are assigned as:
> nEditType = beListBox
> aEditListText = aTyp //the array with the items
> aEditListBound = aTyp
>
> After changing to the editmode of the DBBrowse and finalizing it the error
> occurs:
>
> ---------------- Information í¼ber die interne Fehlerbehandlung ----------------
>
> Untersystemaufruf: BASE
> Systemcode: 1070
> Default-Status: .F.
> Beschreibung: Argument error
> Operation: ==
> Argumente: [ 1] = Typ: C Wert: Urteil [ 2] = Typ: N Wert: 3
> Involvierte Dateien:
> DOS-Fehlercode: 0
>
> Aufgerufene Programmteile:
> TDATAFIELD:VARPUT (118)
> TGRIDEDIT:UPDATEDATA (76)
> (b)TDBFDATASET:SAVE (984)
> AEVAL (0)
> TDBFDATASET:SAVE (984)
> TDBFDATASET:UPDATE (700)
> TDBBRWCOLUMN:POSTEDIT (842)
> TDBBROWSE:CANCELEDIT (2585)
> TGRIDEDIT:WMKILLFOCUS (302)
> SETFOCUS (0)
> TDBBROWSE:SETFOCUS (836)
> TBROWSE:WMLBUTTONDOWN (1857)
> (b)XDBBROWSE:XDBBROWSE (76)
> TDBBROWSE:WMLBUTTONDOWN (0)
> RUNFORM (0)
> TAPPLICATION:RUN (208)
> MAIN (16)
>
> What is wrong with the code (see attached sample)?
>
> Curious is if the column with the numeric datafield is
> the single column of the browse than the code works perfectly.
>
> Any idea to make it working with more columns?
>
> Regards
>
> Ingo
--

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 1:05 pm
por david fung
Column problem;
within form1 moved "A0" to 1st column since your code refer it as Column1.
Corrected version attached.
Regards,
David Fung
Ingo Junge-Herrmann wrote:
> Xailers,
> I have a DBBrowse with 3 DataFieldColumns.
> One of them contents the numeric datafield ("A0") by the range
> from 0 to 3.
> In the Browsecolumn this numeric field will be shown as
> an item of the array "aTyp" which contents 4 strings.
>
> Column properties are assigned as:
> nEditType = beListBox
> aEditListText = aTyp //the array with the items
> aEditListBound = aTyp
>
> After changing to the editmode of the DBBrowse and finalizing it the error
> occurs:
>
> ---------------- Information í¼ber die interne Fehlerbehandlung ----------------
>
> Untersystemaufruf: BASE
> Systemcode: 1070
> Default-Status: .F.
> Beschreibung: Argument error
> Operation: ==
> Argumente: [ 1] = Typ: C Wert: Urteil [ 2] = Typ: N Wert: 3
> Involvierte Dateien:
> DOS-Fehlercode: 0
>
> Aufgerufene Programmteile:
> TDATAFIELD:VARPUT (118)
> TGRIDEDIT:UPDATEDATA (76)
> (b)TDBFDATASET:SAVE (984)
> AEVAL (0)
> TDBFDATASET:SAVE (984)
> TDBFDATASET:UPDATE (700)
> TDBBRWCOLUMN:POSTEDIT (842)
> TDBBROWSE:CANCELEDIT (2585)
> TGRIDEDIT:WMKILLFOCUS (302)
> SETFOCUS (0)
> TDBBROWSE:SETFOCUS (836)
> TBROWSE:WMLBUTTONDOWN (1857)
> (b)XDBBROWSE:XDBBROWSE (76)
> TDBBROWSE:WMLBUTTONDOWN (0)
> RUNFORM (0)
> TAPPLICATION:RUN (208)
> MAIN (16)
>
> What is wrong with the code (see attached sample)?
>
> Curious is if the column with the numeric datafield is
> the single column of the browse than the code works perfectly.
>
> Any idea to make it working with more columns?
>
> Regards
>
> Ingo
--

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 2:09 pm
por ignacio
David,
Sorry, it seems that more than one file is affected since here your sample
is working fine. Please include the attached file.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:45cc639e$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Column problem;
> within form1 moved "A0" to 1st column since your code refer it as Column1.
>
> Corrected version attached.
>
> Regards,
> David Fung
>
>
> Ingo Junge-Herrmann wrote:
>> Xailers,
>> I have a DBBrowse with 3 DataFieldColumns.
>> One of them contents the numeric datafield ("A0") by the range
>> from 0 to 3.
>> In the Browsecolumn this numeric field will be shown as
>> an item of the array "aTyp" which contents 4 strings.
>>
>> Column properties are assigned as:
>> nEditType = beListBox
>> aEditListText = aTyp //the array with the items
>> aEditListBound = aTyp
>>
>> After changing to the editmode of the DBBrowse and finalizing it the
>> error
>> occurs:
>>
>> ---------------- Information über die interne
>> Fehlerbehandlung ----------------
>>
>> Untersystemaufruf: BASE
>> Systemcode: 1070
>> Default-Status: .F.
>> Beschreibung: Argument error
>> Operation: ==
>> Argumente: [ 1] = Typ: C Wert: Urteil [ 2] = Typ: N Wert: 3
>> Involvierte Dateien:
>> DOS-Fehlercode: 0
>>
>> Aufgerufene Programmteile:
>> TDATAFIELD:VARPUT (118)
>> TGRIDEDIT:UPDATEDATA (76)
>> (b)TDBFDATASET:SAVE (984)
>> AEVAL (0)
>> TDBFDATASET:SAVE (984)
>> TDBFDATASET:UPDATE (700)
>> TDBBRWCOLUMN:POSTEDIT (842)
>> TDBBROWSE:CANCELEDIT (2585)
>> TGRIDEDIT:WMKILLFOCUS (302)
>> SETFOCUS (0)
>> TDBBROWSE:SETFOCUS (836)
>> TBROWSE:WMLBUTTONDOWN (1857)
>> (b)XDBBROWSE:XDBBROWSE (76)
>> TDBBROWSE:WMLBUTTONDOWN (0)
>> RUNFORM (0)
>> TAPPLICATION:RUN (208)
>> MAIN (16)
>>
>> What is wrong with the code (see attached sample)?
>>
>> Curious is if the column with the numeric datafield is
>> the single column of the browse than the code works perfectly.
>>
>> Any idea to make it working with more columns?
>>
>> Regards
>>
>> Ingo
>
>


Attached files DataField.rar (2.7 KB)Â

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 2:09 pm
por NoName
David,
Sorry, it seems that more than one file is affected since here your sample
is working fine. Please include the attached file.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:45cc639e$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Column problem;
> within form1 moved "A0" to 1st column since your code refer it as Column1.
>
> Corrected version attached.
>
> Regards,
> David Fung
>
>
> Ingo Junge-Herrmann wrote:
>> Xailers,
>> I have a DBBrowse with 3 DataFieldColumns.
>> One of them contents the numeric datafield ("A0") by the range
>> from 0 to 3.
>> In the Browsecolumn this numeric field will be shown as
>> an item of the array "aTyp" which contents 4 strings.
>>
>> Column properties are assigned as:
>> nEditType = beListBox
>> aEditListText = aTyp //the array with the items
>> aEditListBound = aTyp
>>
>> After changing to the editmode of the DBBrowse and finalizing it the
>> error
>> occurs:
>>
>> ---------------- Information über die interne
>> Fehlerbehandlung ----------------
>>
>> Untersystemaufruf: BASE
>> Systemcode: 1070
>> Default-Status: .F.
>> Beschreibung: Argument error
>> Operation: ==
>> Argumente: [ 1] = Typ: C Wert: Urteil [ 2] = Typ: N Wert: 3
>> Involvierte Dateien:
>> DOS-Fehlercode: 0
>>
>> Aufgerufene Programmteile:
>> TDATAFIELD:VARPUT (118)
>> TGRIDEDIT:UPDATEDATA (76)
>> (b)TDBFDATASET:SAVE (984)
>> AEVAL (0)
>> TDBFDATASET:SAVE (984)
>> TDBFDATASET:UPDATE (700)
>> TDBBRWCOLUMN:POSTEDIT (842)
>> TDBBROWSE:CANCELEDIT (2585)
>> TGRIDEDIT:WMKILLFOCUS (302)
>> SETFOCUS (0)
>> TDBBROWSE:SETFOCUS (836)
>> TBROWSE:WMLBUTTONDOWN (1857)
>> (b)XDBBROWSE:XDBBROWSE (76)
>> TDBBROWSE:WMLBUTTONDOWN (0)
>> RUNFORM (0)
>> TAPPLICATION:RUN (208)
>> MAIN (16)
>>
>> What is wrong with the code (see attached sample)?
>>
>> Curious is if the column with the numeric datafield is
>> the single column of the browse than the code works perfectly.
>>
>> Any idea to make it working with more columns?
>>
>> Regards
>>
>> Ingo
>
>


Attached files DataField.rar (2.7 KB)Â

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 2:54 pm
por david fung
Dear Ignacio,
I don't find any problem after attached your obj file. I'm not quite
sure what the problem is ?
Attached is the modification that I made (Form1.xfm). You can overwrite
mine with your initial application and it should work fine (No run-time
error).
Regards,
David
Ignacio Ortiz de Zúñiga wrote:
> David,
>
> Sorry, it seems that more than one file is affected since here your sample
> is working fine. Please include the attached file.
>
> Regards,
>
--

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 2:54 pm
por david fung
Dear Ignacio,
I don't find any problem after attached your obj file. I'm not quite
sure what the problem is ?
Attached is the modification that I made (Form1.xfm). You can overwrite
mine with your initial application and it should work fine (No run-time
error).
Regards,
David
Ignacio Ortiz de Zúñiga wrote:
> David,
>
> Sorry, it seems that more than one file is affected since here your sample
> is working fine. Please include the attached file.
>
> Regards,
>
--

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 2:57 pm
por Ingo Junge-Herrmann
Ignacio and David,
if the A0-Column is the first or the only column in the
browse then it works.
But if that column is the second or third column then it makes
the error.
Ignacio,
I included the gridedit.obj and the datafield.obj you attached but the error
is now in line 122 instead in line 118 as before.
See the error.log below
******************************* Fehlerprotokoll *******************************
Datum: 02/09/07
Zeit: 14:36:25
Verfügbarer Speicher: 164588
Akueller Bereich: 1
---------------------------- Compiler-Information -----------------------------
Xailer-Version: Xailer 1.2.1 Version 1.2a
Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version:
7
C/C++-Compiler: Borland C++ 5.5.1
Windows-Plattform: Windows XP Home Edition 5.01.2600 Service Pack 2
---------------- Information über die interne Fehlerbehandlung ----------------
Untersystemaufruf: BASE
Systemcode: 1070
Default-Status: .F.
Beschreibung: Argument error
Operation: ==
Argumente: [ 1] = Typ: C Wert: Beschluss [ 2] = Typ: N Wert:
2
Involvierte Dateien:
DOS-Fehlercode: 0
Aufgerufene Programmteile:
TDATAFIELD:VARPUT (122)
TGRIDEDIT:UPDATEDATA (76)
(b)TDBFDATASET:SAVE (984)
AEVAL (0)
TDBFDATASET:SAVE (984)
TDBFDATASET:UPDATE (700)
TDBBRWCOLUMN:POSTEDIT (842)
TDBBROWSE:CANCELEDIT (2585)
TGRIDEDIT:WMKILLFOCUS (302)
SETFOCUS (0)
TDBBROWSE:SETFOCUS (836)
TBROWSE:WMLBUTTONDOWN (1857)
(b)XDBBROWSE:XDBBROWSE (76)
TDBBROWSE:WMLBUTTONDOWN (0)
RUNFORM (0)
TAPPLICATION:RUN (208)
MAIN (16)
You said you can't reproduce the error because it's working
fine there - are there a new version available?
When it will published?
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>David,
>
>Sorry, it seems that more than one file is affected since here your sample
>is working fine. Please include the attached file.
>
>Regards,
>
>--
>Ignacio Ortiz de Zúñiga
>http://www.xailer.com

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 2:57 pm
por Ingo Junge-Herrmann
Ignacio and David,
if the A0-Column is the first or the only column in the
browse then it works.
But if that column is the second or third column then it makes
the error.
Ignacio,
I included the gridedit.obj and the datafield.obj you attached but the error
is now in line 122 instead in line 118 as before.
See the error.log below
******************************* Fehlerprotokoll *******************************
Datum: 02/09/07
Zeit: 14:36:25
Verfügbarer Speicher: 164588
Akueller Bereich: 1
---------------------------- Compiler-Information -----------------------------
Xailer-Version: Xailer 1.2.1 Version 1.2a
Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version:
7
C/C++-Compiler: Borland C++ 5.5.1
Windows-Plattform: Windows XP Home Edition 5.01.2600 Service Pack 2
---------------- Information über die interne Fehlerbehandlung ----------------
Untersystemaufruf: BASE
Systemcode: 1070
Default-Status: .F.
Beschreibung: Argument error
Operation: ==
Argumente: [ 1] = Typ: C Wert: Beschluss [ 2] = Typ: N Wert:
2
Involvierte Dateien:
DOS-Fehlercode: 0
Aufgerufene Programmteile:
TDATAFIELD:VARPUT (122)
TGRIDEDIT:UPDATEDATA (76)
(b)TDBFDATASET:SAVE (984)
AEVAL (0)
TDBFDATASET:SAVE (984)
TDBFDATASET:UPDATE (700)
TDBBRWCOLUMN:POSTEDIT (842)
TDBBROWSE:CANCELEDIT (2585)
TGRIDEDIT:WMKILLFOCUS (302)
SETFOCUS (0)
TDBBROWSE:SETFOCUS (836)
TBROWSE:WMLBUTTONDOWN (1857)
(b)XDBBROWSE:XDBBROWSE (76)
TDBBROWSE:WMLBUTTONDOWN (0)
RUNFORM (0)
TAPPLICATION:RUN (208)
MAIN (16)
You said you can't reproduce the error because it's working
fine there - are there a new version available?
When it will published?
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>David,
>
>Sorry, it seems that more than one file is affected since here your sample
>is working fine. Please include the attached file.
>
>Regards,
>
>--
>Ignacio Ortiz de Zúñiga
>http://www.xailer.com

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 3:17 pm
por david fung
I've just found that too (AO must be the 1st column) ! strange !
Don't understand why at this point, sorry ?
Regards,
David
Ingo Junge-Herrmann wrote:
> Ignacio and David,
>
> if the A0-Column is the first or the only column in the
> browse then it works.
> But if that column is the second or third column then it makes
> the error.
>
> Ignacio,
>
> I included the gridedit.obj and the datafield.obj you attached but the error
> is now in line 122 instead in line 118 as before.
> See the error.log below
>
> ******************************* Fehlerprotokoll *******************************
>
> Datum: 02/09/07
> Zeit: 14:36:25
> Verfí¼gbarer Speicher: 164588
> Akueller Bereich: 1
>
> ---------------------------- Compiler-Information -----------------------------
>
> Xailer-Version: Xailer 1.2.1 Version 1.2a
> Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version:
> 7
> C/C++-Compiler: Borland C++ 5.5.1
> Windows-Plattform: Windows XP Home Edition 5.01.2600 Service Pack 2
>
> ---------------- Information í¼ber die interne Fehlerbehandlung ----------------
>
> Untersystemaufruf: BASE
> Systemcode: 1070
> Default-Status: .F.
> Beschreibung: Argument error
> Operation: ==
> Argumente: [ 1] = Typ: C Wert: Beschluss [ 2] = Typ: N Wert:
> 2
> Involvierte Dateien:
> DOS-Fehlercode: 0
>
> Aufgerufene Programmteile:
> TDATAFIELD:VARPUT (122)
> TGRIDEDIT:UPDATEDATA (76)
> (b)TDBFDATASET:SAVE (984)
> AEVAL (0)
> TDBFDATASET:SAVE (984)
> TDBFDATASET:UPDATE (700)
> TDBBRWCOLUMN:POSTEDIT (842)
> TDBBROWSE:CANCELEDIT (2585)
> TGRIDEDIT:WMKILLFOCUS (302)
> SETFOCUS (0)
> TDBBROWSE:SETFOCUS (836)
> TBROWSE:WMLBUTTONDOWN (1857)
> (b)XDBBROWSE:XDBBROWSE (76)
> TDBBROWSE:WMLBUTTONDOWN (0)
> RUNFORM (0)
> TAPPLICATION:RUN (208)
> MAIN (16)
>
> You said you can't reproduce the error because it's working
> fine there - are there a new version available?
> When it will published?
>
> Regards
>
> Ingo
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>> David,
>>
>> Sorry, it seems that more than one file is affected since here your sample
>
>> is working fine. Please include the attached file.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 3:17 pm
por david fung
I've just found that too (AO must be the 1st column) ! strange !
Don't understand why at this point, sorry ?
Regards,
David
Ingo Junge-Herrmann wrote:
> Ignacio and David,
>
> if the A0-Column is the first or the only column in the
> browse then it works.
> But if that column is the second or third column then it makes
> the error.
>
> Ignacio,
>
> I included the gridedit.obj and the datafield.obj you attached but the error
> is now in line 122 instead in line 118 as before.
> See the error.log below
>
> ******************************* Fehlerprotokoll *******************************
>
> Datum: 02/09/07
> Zeit: 14:36:25
> Verfí¼gbarer Speicher: 164588
> Akueller Bereich: 1
>
> ---------------------------- Compiler-Information -----------------------------
>
> Xailer-Version: Xailer 1.2.1 Version 1.2a
> Compiler: xHarbour build 0.99.61 Intl. (SimpLex) PCode Version:
> 7
> C/C++-Compiler: Borland C++ 5.5.1
> Windows-Plattform: Windows XP Home Edition 5.01.2600 Service Pack 2
>
> ---------------- Information í¼ber die interne Fehlerbehandlung ----------------
>
> Untersystemaufruf: BASE
> Systemcode: 1070
> Default-Status: .F.
> Beschreibung: Argument error
> Operation: ==
> Argumente: [ 1] = Typ: C Wert: Beschluss [ 2] = Typ: N Wert:
> 2
> Involvierte Dateien:
> DOS-Fehlercode: 0
>
> Aufgerufene Programmteile:
> TDATAFIELD:VARPUT (122)
> TGRIDEDIT:UPDATEDATA (76)
> (b)TDBFDATASET:SAVE (984)
> AEVAL (0)
> TDBFDATASET:SAVE (984)
> TDBFDATASET:UPDATE (700)
> TDBBRWCOLUMN:POSTEDIT (842)
> TDBBROWSE:CANCELEDIT (2585)
> TGRIDEDIT:WMKILLFOCUS (302)
> SETFOCUS (0)
> TDBBROWSE:SETFOCUS (836)
> TBROWSE:WMLBUTTONDOWN (1857)
> (b)XDBBROWSE:XDBBROWSE (76)
> TDBBROWSE:WMLBUTTONDOWN (0)
> RUNFORM (0)
> TAPPLICATION:RUN (208)
> MAIN (16)
>
> You said you can't reproduce the error because it's working
> fine there - are there a new version available?
> When it will published?
>
> Regards
>
> Ingo
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>> David,
>>
>> Sorry, it seems that more than one file is affected since here your sample
>
>> is working fine. Please include the attached file.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 8:27 pm
por ignacio
Ingo,
Ok, at last I saw the bug, sorry for the misunderstanding.
The bug is fixed but it affects two modules that I include with this
message. I hope this time it will work on your side. BTW, we expect to
release a new version of Xailer really soon.
I want to comment you some errors I have found in your code:
1) A0 is type numeric, so oColumn:aEditListBound elements should be also
numeric, for example: {0,1,2,3}
2) The code in BrwColumn1PostEdit is unnecessary. The event OnPostEdit must
be trapped with TArrayBrowse and TDbfBrows, but with TDBBrowse is not
necessary since the job is done automatically.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:45cc7d26$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Dear Ignacio,
>
> I don't find any problem after attached your obj file. I'm not quite
> sure what the problem is ?
>
> Attached is the modification that I made (Form1.xfm). You can overwrite
> mine with your initial application and it should work fine (No run-time
> error).
>
> Regards,
> David
>
>
>
> Ignacio Ortiz de Zúñiga wrote:
>> David,
>>
>> Sorry, it seems that more than one file is affected since here your
>> sample
>> is working fine. Please include the attached file.
>>
>> Regards,
>>
>
>


Attached files Xailer.rar (14.8 KB)Â

DBBrowse: GridEdit() problem

Publicado: Vie Feb 09, 2007 8:27 pm
por NoName
Ingo,
Ok, at last I saw the bug, sorry for the misunderstanding.
The bug is fixed but it affects two modules that I include with this
message. I hope this time it will work on your side. BTW, we expect to
release a new version of Xailer really soon.
I want to comment you some errors I have found in your code:
1) A0 is type numeric, so oColumn:aEditListBound elements should be also
numeric, for example: {0,1,2,3}
2) The code in BrwColumn1PostEdit is unnecessary. The event OnPostEdit must
be trapped with TArrayBrowse and TDbfBrows, but with TDBBrowse is not
necessary since the job is done automatically.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"david fung" <davfung@yahoo.com> escribió en el mensaje
news:45cc7d26$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Dear Ignacio,
>
> I don't find any problem after attached your obj file. I'm not quite
> sure what the problem is ?
>
> Attached is the modification that I made (Form1.xfm). You can overwrite
> mine with your initial application and it should work fine (No run-time
> error).
>
> Regards,
> David
>
>
>
> Ignacio Ortiz de Zúñiga wrote:
>> David,
>>
>> Sorry, it seems that more than one file is affected since here your
>> sample
>> is working fine. Please include the attached file.
>>
>> Regards,
>>
>
>


Attached files Xailer.rar (14.8 KB)Â

DBBrowse: GridEdit() problem

Publicado: Sab Feb 10, 2007 7:41 am
por Ingo Junge-Herrmann

Ignacio,
thank you for your endeavour.
>
>Ok, at last I saw the bug, sorry for the misunderstanding.
Never mind!
>
>The bug is fixed but it affects two modules that I include with this
>message. I hope this time it will work on your side.
Unfortunatly No!
See the attached code and error.log.
>BTW, we expect to
>release a new version of Xailer really soon.
Highly welcome!
>I want to comment you some errors I have found in your code:
>
>1) A0 is type numeric, so oColumn:aEditListBound elements should be also
>numeric, for example: {0,1,2,3}
Yes I know but as it didn't work (like now) I tried to find a workaround
by the PostEdit-Event.
>2) The code in BrwColumn1PostEdit is unnecessary. The event OnPostEdit must
>be trapped with TArrayBrowse and TDbfBrows, but with TDBBrowse is not
>necessary since the job is done automatically.
>
Ignacio, do the attached sample work fine with the build you're
working with?
If yes then I can wait these few days till the new version will
be released.
Otherwise would you send me the fixed module please.
Thanks in advance
Ingo

--

Attached files testbrowse.zip (18.5 KB)Â

DBBrowse: GridEdit() problem

Publicado: Sab Feb 10, 2007 7:41 am
por Ingo Junge-Herrmann

Ignacio,
thank you for your endeavour.
>
>Ok, at last I saw the bug, sorry for the misunderstanding.
Never mind!
>
>The bug is fixed but it affects two modules that I include with this
>message. I hope this time it will work on your side.
Unfortunatly No!
See the attached code and error.log.
>BTW, we expect to
>release a new version of Xailer really soon.
Highly welcome!
>I want to comment you some errors I have found in your code:
>
>1) A0 is type numeric, so oColumn:aEditListBound elements should be also
>numeric, for example: {0,1,2,3}
Yes I know but as it didn't work (like now) I tried to find a workaround
by the PostEdit-Event.
>2) The code in BrwColumn1PostEdit is unnecessary. The event OnPostEdit must
>be trapped with TArrayBrowse and TDbfBrows, but with TDBBrowse is not
>necessary since the job is done automatically.
>
Ignacio, do the attached sample work fine with the build you're
working with?
If yes then I can wait these few days till the new version will
be released.
Otherwise would you send me the fixed module please.
Thanks in advance
Ingo

--

Attached files testbrowse.zip (18.5 KB)Â

DBBrowse: GridEdit() problem

Publicado: Lun Feb 12, 2007 11:49 am
por ignacio
Ingo,
You MUST trap de event OnGetValue. Something like this:
METHOD BrwColumn3GetValue( oSender, Value ) CLASS TForm1
RETURN Value
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:45cd692d$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>
> Ignacio,
>
> thank you for your endeavour.
>
>>
>>Ok, at last I saw the bug, sorry for the misunderstanding.
>
> Never mind!
>
>>
>>The bug is fixed but it affects two modules that I include with this
>>message. I hope this time it will work on your side.
>
> Unfortunatly No!
> See the attached code and error.log.
>
>>BTW, we expect to
>>release a new version of Xailer really soon.
>
> Highly welcome!
>
>>I want to comment you some errors I have found in your code:
>>
>>1) A0 is type numeric, so oColumn:aEditListBound elements should be also
>
>>numeric, for example: {0,1,2,3}
>
> Yes I know but as it didn't work (like now) I tried to find a workaround
> by the PostEdit-Event.
>
>>2) The code in BrwColumn1PostEdit is unnecessary. The event OnPostEdit
>>must
>
>>be trapped with TArrayBrowse and TDbfBrows, but with TDBBrowse is not
>>necessary since the job is done automatically.
>>
>
> Ignacio, do the attached sample work fine with the build you're
> working with?
> If yes then I can wait these few days till the new version will
> be released.
> Otherwise would you send me the fixed module please.
>
> Thanks in advance
>
> Ingo
>

DBBrowse: GridEdit() problem

Publicado: Lun Feb 12, 2007 11:49 am
por NoName
Ingo,
You MUST trap de event OnGetValue. Something like this:
METHOD BrwColumn3GetValue( oSender, Value ) CLASS TForm1
RETURN Value
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
news:45cd692d$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>
> Ignacio,
>
> thank you for your endeavour.
>
>>
>>Ok, at last I saw the bug, sorry for the misunderstanding.
>
> Never mind!
>
>>
>>The bug is fixed but it affects two modules that I include with this
>>message. I hope this time it will work on your side.
>
> Unfortunatly No!
> See the attached code and error.log.
>
>>BTW, we expect to
>>release a new version of Xailer really soon.
>
> Highly welcome!
>
>>I want to comment you some errors I have found in your code:
>>
>>1) A0 is type numeric, so oColumn:aEditListBound elements should be also
>
>>numeric, for example: {0,1,2,3}
>
> Yes I know but as it didn't work (like now) I tried to find a workaround
> by the PostEdit-Event.
>
>>2) The code in BrwColumn1PostEdit is unnecessary. The event OnPostEdit
>>must
>
>>be trapped with TArrayBrowse and TDbfBrows, but with TDBBrowse is not
>>necessary since the job is done automatically.
>>
>
> Ignacio, do the attached sample work fine with the build you're
> working with?
> If yes then I can wait these few days till the new version will
> be released.
> Otherwise would you send me the fixed module please.
>
> Thanks in advance
>
> Ingo
>

DBBrowse: GridEdit() problem

Publicado: Lun Feb 12, 2007 4:04 pm
por Ingo Junge-Herrmann
Ignacio,
with trapping the OnGetValue event it works now!
Thank you very much for your help!
Ingo
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>Ingo,
>
>You MUST trap de event OnGetValue. Something like this:
>
>METHOD BrwColumn3GetValue( oSender, Value ) CLASS TForm1
>
>RETURN Value
>
>Regards,
>
>--
>Ignacio Ortiz de Zúñiga
>http://www.xailer.com
>
>
>"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
>news:45cd692d$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>>
>> Ignacio,
>>
>> thank you for your endeavour.
>>
>>>
>>>Ok, at last I saw the bug, sorry for the misunderstanding.
>>
>> Never mind!
>>
>>>
>>>The bug is fixed but it affects two modules that I include with this
>>>message. I hope this time it will work on your side.
>>
>> Unfortunatly No!
>> See the attached code and error.log.
>>
>>>BTW, we expect to
>>>release a new version of Xailer really soon.
>>
>> Highly welcome!
>>
>>>I want to comment you some errors I have found in your code:
>>>
>>>1) A0 is type numeric, so oColumn:aEditListBound elements should be also
>>
>>>numeric, for example: {0,1,2,3}
>>
>> Yes I know but as it didn't work (like now) I tried to find a workaround
>> by the PostEdit-Event.
>>
>>>2) The code in BrwColumn1PostEdit is unnecessary. The event OnPostEdit
>>>must
>>
>>>be trapped with TArrayBrowse and TDbfBrows, but with TDBBrowse is not
>>>necessary since the job is done automatically.
>>>
>>
>> Ignacio, do the attached sample work fine with the build you're
>> working with?
>> If yes then I can wait these few days till the new version will
>> be released.
>> Otherwise would you send me the fixed module please.
>>
>> Thanks in advance
>>
>> Ingo
>>
>
>

DBBrowse: GridEdit() problem

Publicado: Lun Feb 12, 2007 4:04 pm
por Ingo Junge-Herrmann
Ignacio,
with trapping the OnGetValue event it works now!
Thank you very much for your help!
Ingo
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote:
>Ingo,
>
>You MUST trap de event OnGetValue. Something like this:
>
>METHOD BrwColumn3GetValue( oSender, Value ) CLASS TForm1
>
>RETURN Value
>
>Regards,
>
>--
>Ignacio Ortiz de Zúñiga
>http://www.xailer.com
>
>
>"Ingo Junge-Herrmann" <[email=XPRO-0031BA74-01@10.0.0.11]XPRO-0031BA74-01@10.0.0.11[/email]> escribió en el mensaje
>news:45cd692d$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>>
>> Ignacio,
>>
>> thank you for your endeavour.
>>
>>>
>>>Ok, at last I saw the bug, sorry for the misunderstanding.
>>
>> Never mind!
>>
>>>
>>>The bug is fixed but it affects two modules that I include with this
>>>message. I hope this time it will work on your side.
>>
>> Unfortunatly No!
>> See the attached code and error.log.
>>
>>>BTW, we expect to
>>>release a new version of Xailer really soon.
>>
>> Highly welcome!
>>
>>>I want to comment you some errors I have found in your code:
>>>
>>>1) A0 is type numeric, so oColumn:aEditListBound elements should be also
>>
>>>numeric, for example: {0,1,2,3}
>>
>> Yes I know but as it didn't work (like now) I tried to find a workaround
>> by the PostEdit-Event.
>>
>>>2) The code in BrwColumn1PostEdit is unnecessary. The event OnPostEdit
>>>must
>>
>>>be trapped with TArrayBrowse and TDbfBrows, but with TDBBrowse is not
>>>necessary since the job is done automatically.
>>>
>>
>> Ignacio, do the attached sample work fine with the build you're
>> working with?
>> If yes then I can wait these few days till the new version will
>> be released.
>> Otherwise would you send me the fixed module please.
>>
>> Thanks in advance
>>
>> Ingo
>>
>
>