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.

Problems with datasets

Xailer English public forum
Responder
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

Problems with datasets

Mensaje por Dionisis Divaris »

Hello Ignacio,Jose
I faced with a bad situation due to the last changes on DataSets. I have an
application witch it is a bit before distribution stage and i have the
following serious problems:
To update various application datasets i use the folowing methodology
With Object ::datasetName
:dataSetFieldName:= anyValue
.....
....
:Update()
End With
This is not working when compiled with June version of Xailer. When i
compiled with March version works as
expected. What this happens and how is possible to avoid this 'bad taste'.
I need an answer on this ASAP if it possible due to time frame for
distribution.
TIA
Dionisis
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Avatar de Usuario
gerencia
Mensajes: 289
Registrado: Sab Jun 20, 2009 6:01 pm

Problems with datasets

Mensaje por gerencia »

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000066">
<font size="-1"><font face="Verdana">Hello, Dionisis,<br>
<br>
</font></font>Adds :Edit()<br>
<br>
   With Object ::datasetName
<br>
       <big><font color="#ff0000">:Edit() // It is now necessary</font></big><br>
       :dataSetFieldName:= anyValue
<br>
       .....
<br>
       ....
<br>
      :Update()
<br>
   End With
<br>
<br>
<u></u><font size="-1"><font face="Verdana"><br>
</font></font>
<div class="moz-signature">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 12">
<meta name="Originator" content="Microsoft Word 12">
<link rel="File-List" href="Firma%20Audi_archivos/filelist.xml">
<title>José David Angulo</title>
<link rel="themeData" href="Firma%20Audi_archivos/themedata.thmx">
<link rel="colorSchemeMapping"
href="Firma%20Audi_archivos/colorschememapping.xml">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:TrackMoves>false</w:TrackMoves>
<w:TrackFormatting/>
<w:HyphenationZone>21</w:HyphenationZone>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText >
<w:DoNotPromoteQF/>
<w:LidThemeOther>ES-CO</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternet
Explorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="headin
g 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:Ls
dException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false
" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false"
Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="fals
e" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/
>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2
"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>

<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"
/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Acce
nt 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Acc
ent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 A
ccent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading
Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid
2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false"
QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:0 0 0 0 0 0 0 0 0 0;
mso-font-charset:1;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:"Century Gothic";
panose-1:2 11 5 2 2 2 2 2 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:647 0 0 0 159 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
color:black;}
a:link, span.MsoHyperlink
{mso-style-noshow:yes;
mso-style-priority:99;
color:blue;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-noshow:yes;
mso-style-priority:99;
color:purple;}
p
{mso-style-noshow:yes;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman","serif";
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
color:black;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
..MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
font-size:10.0pt;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tabla normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
</style>
<![endif]-->
<meta name="CREATED" content="20061023;14550935">
<meta name="CHANGEDBY" content="Jose Angulo">
<meta name="CHANGED" content="20061023;14593800">
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p style="margin: 0cm 0cm 0.0001pt;"><b><span
style="font-size: 10pt; font-family: "Century Gothic","sans-serif"; color: rgb(31, 73, 125);"
lang="ES">José</span></b><b><span
style="font-size: 10pt; font-family: "Century Gothic","sans-serif"; color: rgb(31, 73, 125);"
lang="EN-US"> David <span class="SpellE">Angulo</span>
<span class="SpellE">Urzola</span>.<o:p></o:p></span></b></p >
<p style="margin: 0cm 0cm 0.0001pt;"><b><span
style="font-size: 10pt; font-family: "Century Gothic","sans-serif"; color: rgb(84, 141, 212);">Auditoria
y Sistemas Ltda.<o:p></o:p></span></b></p>
<p style="margin: 0cm 0cm 0.0001pt;"><span
style="color: rgb(84, 141, 212);" lang="ES"><a
href="mailto:Gerencia@microexpressltda.com"><span
style="font-size: 9pt; color: rgb(84, 141, 212);">jose.angulo@auditoriaysistemas.com</span></a><o:p></o:p></span></p>
<p style="margin: 0cm 0cm 0.0001pt;"><b><span
style="font-size: 10pt; font-family: "Century Gothic","sans-serif"; color: rgb(84, 141, 212);">Tel.
(57) 5-6643022 – 6644555<o:p></o:p></span></b></p>
<p style="margin: 0cm 0cm 0.0001pt;"><b><span
style="font-size: 10pt; font-family: "Century Gothic","sans-serif"; color: rgb(221, 217, 195);"><span
style="">  </span>Cartagena –
Colombia<o:p></o:p></span></b></p>
</div>
</div>
<br>
<br>
Dionisis Divaris escribió:
<blockquote cite="mid:[email=4a3cc3ca@svctag-j7w3v3j.]4a3cc3ca@svctag-j7w3v3j.[/email]" type="cite">Hello
Ignacio,Jose
<br>
<br>
I faced with a bad situation due to the last changes on DataSets. I
have an application witch it is a bit before distribution stage and i
have the following  serious problems:
<br>
To update various application datasets i use the folowing methodology
<br>
<br>
   With Object ::datasetName
<br>
       :dataSetFieldName:= anyValue
<br>
       .....
<br>
       ....
<br>
      :Update()
<br>
   End With
<br>
<br>
This is not working when compiled with June version of Xailer. When i
compiled with March version works as
<br>
expected.  What this happens and how is possible to avoid this 'bad
taste'. I need an answer on this ASAP if it possible due to time frame
for distribution.
<br>
<br>
TIA
<br>
Dionisis
<br>
<br>
<br>
<br>
</blockquote>
</body>
</html>
Jose David Angulo Urzola
Auditoria y Sistemas Ltda.
Cartagena-Colombia
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

Problems with datasets

Mensaje por Dionisis Divaris »

José David Angulo Hello Jose
Your code works with March Version but not working with June version . No error occurs when fielde are updating
but no values writen back to the fields of dataset.
TIA
Dionisis
Ο "José David Angulo" <gerencia@microexpressltda.com> έγραψε στο μήνυμα news:[email=4a3d0818@svctag-j7w3v3j....]4a3d0818@svctag-j7w3v3j....[/email]
Hello, Dionisis,
Adds :Edit()
With Object ::datasetName
:Edit() // It is now necessary
:dataSetFieldName:= anyValue
.....
....
:Update()
End With
José David Angulo Urzola.
Auditoria y Sistemas Ltda.
jose.angulo@auditoriaysistemas.com
Tel. (57) 5-6643022 – 6644555
Cartagena – Colombia
Dionisis Divaris escribió:
Hello Ignacio,Jose
I faced with a bad situation due to the last changes on DataSets. I have an application witch it is a bit before distribution stage and i have the following serious problems:
To update various application datasets i use the folowing methodology
With Object ::datasetName
:dataSetFieldName:= anyValue
.....
....
:Update()
End With
This is not working when compiled with June version of Xailer. When i compiled with March version works as
expected. What this happens and how is possible to avoid this 'bad taste'. I need an answer on this ASAP if it possible due to time frame for distribution.
TIA
Dionisis
--
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

Problems with datasets

Mensaje por Dionisis Divaris »

José David Angulo To see the problem here is a portion of my coding:
WITH OBJECT TForm13():New(self)
nResult:= :ShowModal()
END WITH
IF nResult == mrCANCEL
::oStorage:FilUnlock()
*::oInform:FilUnlock()
::oItem:lEnabled:= False
::lSaved:= True
RETURN NIL
ELSEIF nResult == mrOK
DO CASE
CASE ! ::lFromReturn
WITH OBJECT ::oStorage
MsgInfo(:ID)
IF ! :Edit()
MsgSTOP(;
"Δεν μπορεί να ενημερωθεί η Αποθήκη."+CRLF+CRLF+;
"DataSet: ::oStorage"+CRLF+;
"Λειτουργία: EDIT()"+CRLF+;
"Mέθοδος: InsertNewMaterial()"+CRLF+;
"Φόρμα: TForm12"," Κρίσιμο Σφάλμα DataSet: 0020/12")
:FilUnlock()
*::oInform:FilUnlock()
::oItem:lEnabled:= False
RETURN NIL
ELSE
:QNTY:= ::oldPricing[01] //QNTY 3
:LASTP:= ::oldPricing[02] //LASTP 7
:LASTSUP:= ::oldPricing[03] //LASTSUP 8
:PRICE:= ::oldPricing[04] //PRICE 9
ENDIF
* ENHMEΡΩΘΗΚΕ ΤΟ DATASET ::oSTORAGE ?
LogDisplay(:ID +CRLF+ALLTRIM(STR(:QNTY))+CRLF+:LastSup+CRLF+Alltrim(Str(:Pr ice)))
<<<< HERE I HAVE THE CORECT VALUES ON DATAFIELDS>>>>>>>
IF ! :Update()

<<<<<when :updated() called without any error none of the corected values writen back to the dataset >>>>>
MsgStop(;
"Δεν μπορεί να ενημερωθεί η Αποθήκη."+CRLF+CRLF+;
"DataSet: ::oStorage"+CRLF+;
"Λειτουργία: Update()"+CRLF+;
"Mέθοδος: InsertNewMaterial()"+CRLF+;
"Φόρμα: TForm12"," Κρίσιμο Σφάλμα DataSet: 0004/12")
:FilUnlock()
*::oInform:FilUnlock()
::oItem:lEnabled:= False
RETURN NIL
ELSE
:FilUnlock()
::oItem:lEnabled:= False
::lSaved:= True
ENDIF
END WITH
Ο "Dionisis Divaris" <info@sgs-soft.gr> έγραψε στο μήνυμα news:[email=4a3d4a7c@svctag-j7w3v3j....]4a3d4a7c@svctag-j7w3v3j....[/email]
Hello Jose
Your code works with March Version but not working with June version .. No error occurs when fielde are updating
but no values writen back to the fields of dataset.
TIA
Dionisis
Ο "José David Angulo" <gerencia@microexpressltda.com> έγραψε στο μήνυμα news:[email=4a3d0818@svctag-j7w3v3j....]4a3d0818@svctag-j7w3v3j....[/email]
Hello, Dionisis,
Adds :Edit()
With Object ::datasetName
:Edit() // It is now necessary
:dataSetFieldName:= anyValue
.....
....
:Update()
End With
José David Angulo Urzola.
Auditoria y Sistemas Ltda.
jose.angulo@auditoriaysistemas.com
Tel. (57) 5-6643022 – 6644555
Cartagena – Colombia
Dionisis Divaris escribió:
Hello Ignacio,Jose
I faced with a bad situation due to the last changes on DataSets. I have an application witch it is a bit before distribution stage and i have the following serious problems:
To update various application datasets i use the folowing methodology
With Object ::datasetName
:dataSetFieldName:= anyValue
.....
....
:Update()
End With
This is not working when compiled with June version of Xailer. When i compiled with March version works as
expected. What this happens and how is possible to avoid this 'bad taste'. I need an answer on this ASAP if it possible due to time frame for distribution.
TIA
Dionisis
--
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Problems with datasets

Mensaje por ignacio »

Dionisis,
As we said on our blog this is an important change on Datacontrols design.
Even if we fix your problem in record time surely more problems will arise
in the near future, so I suggest yo use the previous version of Xailer 2 for
distribution, at least until a new revision of this latest version of Xailer
is published.
About your problem:
It seems a call to Edit() is missing. Maybe you are using DBF datasets that
do not need the call to Edit, but in any way is highly recommended. BTW you
do not indicate if there is any error or just simply the field values are
not saved.
It will be great If could modify any of the actual Datacontrols samples to
force the error you are having. That way we can surely give you a better
solution.
Best regards,
--
Ignacio Ortiz de Zuniga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Dionisis Divaris" <info@sgs-soft.gr> escribio en el mensaje
news:[email=4a3cc3ca@svctag-j7w3v3j....]4a3cc3ca@svctag-j7w3v3j....[/email]
> Hello Ignacio,Jose
>
> I faced with a bad situation due to the last changes on DataSets. I have
> an application witch it is a bit before distribution stage and i have the
> following serious problems:
> To update various application datasets i use the folowing methodology
>
> With Object ::datasetName
> :dataSetFieldName:= anyValue
> .....
> ....
> :Update()
> End With
>
> This is not working when compiled with June version of Xailer. When i
> compiled with March version works as
> expected. What this happens and how is possible to avoid this 'bad
> taste'. I need an answer on this ASAP if it possible due to time frame for
> distribution.
>
> TIA
> Dionisis
>
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Problems with datasets

Mensaje por ignacio »

José David AnguloDionisis,
Looking at your code it seems you are updataing manually this fields:
:QNTY:= ::oldPricing[01] //QNTY 3
:LASTP:= ::oldPricing[02] //LASTP 7
:LASTSUP:= ::oldPricing[03] //LASTSUP 8
:PRICE:= ::oldPricing[04] //PRICE 9
Do those fields have any datacontrol linked with them?
For example, suposse field Dataset:QNTY is linked with a TDBEdit datacontrol on TForm13, when you modify its value manually the record gets changed, but when you call Update() the value receives again the TDBedit datacontrol value. Can be this your problem? In case there is a datacontrol linked with any field you must be aware that its value will be used on the Update operation.
BTW, I wait for a small sample that reproduces your error so I do not need to speculate. TIA.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Dionisis Divaris" <info@sgs-soft.gr> escribió en el mensaje news:[email=4a3d5c54@svctag-j7w3v3j....]4a3d5c54@svctag-j7w3v3j....[/email]
To see the problem here is a portion of my coding:
WITH OBJECT TForm13():New(self)
nResult:= :ShowModal()
END WITH
IF nResult == mrCANCEL
::oStorage:FilUnlock()
*::oInform:FilUnlock()
::oItem:lEnabled:= False
::lSaved:= True
RETURN NIL
ELSEIF nResult == mrOK
DO CASE
CASE ! ::lFromReturn
WITH OBJECT ::oStorage
MsgInfo(:ID)
IF ! :Edit()
MsgSTOP(;
"Δεν μπορεί να ενημερωθεί η Αποθήκη."+CRLF+CRLF+;
"DataSet: ::oStorage"+CRLF+;
"Λειτουργία: EDIT()"+CRLF+;
"Mέθοδος: InsertNewMaterial()"+CRLF+;
"Φόρμα: TForm12"," Κρίσιμο Σφάλμα DataSet: 0020/12")
:FilUnlock()
*::oInform:FilUnlock()
::oItem:lEnabled:= False
RETURN NIL
ELSE
:QNTY:= ::oldPricing[01] //QNTY 3
:LASTP:= ::oldPricing[02] //LASTP 7
:LASTSUP:= ::oldPricing[03] //LASTSUP 8
:PRICE:= ::oldPricing[04] //PRICE 9
ENDIF
* ENHMEΡΩΘΗΚΕ ΤΟ DATASET ::oSTORAGE ?
LogDisplay(:ID +CRLF+ALLTRIM(STR(:QNTY))+CRLF+:LastSup+CRLF+Alltrim(Str(:Pr ice)))
<<<< HERE I HAVE THE CORECT VALUES ON DATAFIELDS>>>>>>>
IF ! :Update()

<<<<<when :updated() called without any error none of the corected values writen back to the dataset >>>>>
MsgStop(;
"Δεν μπορεί να ενημερωθεί η Αποθήκη."+CRLF+CRLF+;
"DataSet: ::oStorage"+CRLF+;
"Λειτουργία: Update()"+CRLF+;
"Mέθοδος: InsertNewMaterial()"+CRLF+;
"Φόρμα: TForm12"," Κρίσιμο Σφάλμα DataSet: 0004/12")
:FilUnlock()
*::oInform:FilUnlock()
::oItem:lEnabled:= False
RETURN NIL
ELSE
:FilUnlock()
::oItem:lEnabled:= False
::lSaved:= True
ENDIF
END WITH
Ο "Dionisis Divaris" <info@sgs-soft.gr> έγραψε στο μήνυμα news:[email=4a3d4a7c@svctag-j7w3v3j....]4a3d4a7c@svctag-j7w3v3j....[/email]
Hello Jose
Your code works with March Version but not working with June version . No error occurs when fielde are updating
but no values writen back to the fields of dataset.
TIA
Dionisis
Ο "José David Angulo" <gerencia@microexpressltda.com> έγραψε στο μήνυμα news:[email=4a3d0818@svctag-j7w3v3j....]4a3d0818@svctag-j7w3v3j....[/email]
Hello, Dionisis,
Adds :Edit()
With Object ::datasetName
:Edit() // It is now necessary
:dataSetFieldName:= anyValue
.....
....
:Update()
End With
José David Angulo Urzola.
Auditoria y Sistemas Ltda.
jose.angulo@auditoriaysistemas.com
Tel. (57) 5-6643022 – 6644555
Cartagena – Colombia
Dionisis Divaris escribió:
Hello Ignacio,Jose
I faced with a bad situation due to the last changes on DataSets. I have an application witch it is a bit before distribution stage and i have the following serious problems:
To update various application datasets i use the folowing methodology
With Object ::datasetName
:dataSetFieldName:= anyValue
.....
....
:Update()
End With
This is not working when compiled with June version of Xailer. When i compiled with March version works as
expected. What this happens and how is possible to avoid this 'bad taste'. I need an answer on this ASAP if it possible due to time frame for distribution.
TIA
Dionisis
--
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

Problems with datasets

Mensaje por Dionisis Divaris »

Hello Ignacio
Here is some additional info for the problem:
In the parent form there are some datacontrols wich linked to the database.
When changes made throught these controls everything works. But when
changes done with code none of the changed values writen back to the file
(here is the main problem, because some changes must be with code, on the
fly).
Hope this info helps.
TIA
DIONSIS
"Ignacio Ortiz de Zuniga" <NoNameToAvoidSpam@xailer.com> wrote in message
news:4a3f435d$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Dionisis,
>
> As we said on our blog this is an important change on Datacontrols design.
> Even if we fix your problem in record time surely more problems will arise
> in the near future, so I suggest yo use the previous version of Xailer 2
> for distribution, at least until a new revision of this latest version of
> Xailer is published.
>
> About your problem:
>
> It seems a call to Edit() is missing. Maybe you are using DBF datasets
> that do not need the call to Edit, but in any way is highly recommended.
> BTW you do not indicate if there is any error or just simply the field
> values are not saved.
>
> It will be great If could modify any of the actual Datacontrols samples to
> force the error you are having. That way we can surely give you a better
> solution.
>
> Best regards,
>
> --
> Ignacio Ortiz de Zuniga
> Xailer support / Soporte de Xailer
> http://www.xailer.com
> http://www.xailer.info
> "Dionisis Divaris" <info@sgs-soft.gr> escribio en el mensaje
> news:[email=4a3cc3ca@svctag-j7w3v3j....]4a3cc3ca@svctag-j7w3v3j....[/email]
>> Hello Ignacio,Jose
>>
>> I faced with a bad situation due to the last changes on DataSets. I have
>> an application witch it is a bit before distribution stage and i have the
>> following serious problems:
>> To update various application datasets i use the folowing methodology
>>
>> With Object ::datasetName
>> :dataSetFieldName:= anyValue
>> .....
>> ....
>> :Update()
>> End With
>>
>> This is not working when compiled with June version of Xailer. When i
>> compiled with March version works as
>> expected. What this happens and how is possible to avoid this 'bad
>> taste'. I need an answer on this ASAP if it possible due to time frame
>> for distribution.
>>
>> TIA
>> Dionisis
>>
>>
>>
>>
>
>
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Problems with datasets

Mensaje por ignacio »

Dionisis,
On previous versions of Xailer, every time you change the value of a
TDataField, the class did look up on all the linked controls to see if any
of them was linked to itself. So when you set a value to a TDatafield,
the linked datacontrol was updated automatically. BTW, this can be very
useful but it can be also a lot of time consuming. In order to improve the
speed we decide to avoid this feature. BTW the fix is really simple, you
only need to change the datacontrol value instead of the datafield value
which I believe is more accurate since on that moment the field is linked to
that datacontrol.
Please I would like to know your point of view about this problem. We may
introduce a property on the TDatafield in order to be compatible with
previous versions of Xailer on this or we may leave it as it was but that
has a great speed penalty.
Waiting for your comments,
Best regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
http:/xailer.info
"Dionisis Divaris" <info@sgs-soft.gr> escribió en el mensaje de
noticias:4a3f4ab8$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Hello Ignacio
>
> Here is some additional info for the problem:
> In the parent form there are some datacontrols wich linked to the
> database. When changes made throught these controls everything works. But
> when changes done with code none of the changed values writen back to
> the file (here is the main problem, because some changes must be with
> code, on the fly).
>
> Hope this info helps.
> TIA
> DIONSIS
>
>
> "Ignacio Ortiz de Zuniga" <NoNameToAvoidSpam@xailer.com> wrote in message
> news:4a3f435d$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Dionisis,
>>
>> As we said on our blog this is an important change on Datacontrols
>> design. Even if we fix your problem in record time surely more problems
>> will arise in the near future, so I suggest yo use the previous version
>> of Xailer 2 for distribution, at least until a new revision of this
>> latest version of Xailer is published.
>>
>> About your problem:
>>
>> It seems a call to Edit() is missing. Maybe you are using DBF datasets
>> that do not need the call to Edit, but in any way is highly recommended.
>> BTW you do not indicate if there is any error or just simply the field
>> values are not saved.
>>
>> It will be great If could modify any of the actual Datacontrols samples
>> to force the error you are having. That way we can surely give you a
>> better solution.
>>
>> Best regards,
>>
>> --
>> Ignacio Ortiz de Zuniga
>> Xailer support / Soporte de Xailer
>> http://www.xailer.com
>> http://www.xailer.info
>> "Dionisis Divaris" <info@sgs-soft.gr> escribio en el mensaje
>> news:[email=4a3cc3ca@svctag-j7w3v3j....]4a3cc3ca@svctag-j7w3v3j....[/email]
>>> Hello Ignacio,Jose
>>>
>>> I faced with a bad situation due to the last changes on DataSets. I have
>>> an application witch it is a bit before distribution stage and i have
>>> the following serious problems:
>>> To update various application datasets i use the folowing methodology
>>>
>>> With Object ::datasetName
>>> :dataSetFieldName:= anyValue
>>> .....
>>> ....
>>> :Update()
>>> End With
>>>
>>> This is not working when compiled with June version of Xailer. When i
>>> compiled with March version works as
>>> expected. What this happens and how is possible to avoid this 'bad
>>> taste'. I need an answer on this ASAP if it possible due to time frame
>>> for distribution.
>>>
>>> TIA
>>> Dionisis
>>>
>>>
>>>
>>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
Dionisis Divaris
Mensajes: 485
Registrado: Jue Jul 12, 2007 8:48 pm
Ubicación: Athens Greece

Problems with datasets

Mensaje por Dionisis Divaris »

Hello Again Ignacio
I made some changes to the sample DBFData7. Just compile with both Versions
March and June and press the button Simulate problem to see the deferences..
You make clear to me that i can change the values of datacontrols instead of
the datafield it self. But none of all datafields contains datacontrols
linked to them. Please try the sample and speak later. It is very importand
to be able to change all the datafields vallues (those with datacontrols
linked and those without datacontrols linked to them).
Best regards
Dionisis
? "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> ?????? ??? ??????
news:[email=4a3fa269@svctag-j7w3v3j....]4a3fa269@svctag-j7w3v3j....[/email]
> Dionisis,
>
> On previous versions of Xailer, every time you change the value of a
> TDataField, the class did look up on all the linked controls to see if any
> of them was linked to itself. So when you set a value to a TDatafield,
> the linked datacontrol was updated automatically. BTW, this can be very
> useful but it can be also a lot of time consuming. In order to improve the
> speed we decide to avoid this feature. BTW the fix is really simple, you
> only need to change the datacontrol value instead of the datafield value
> which I believe is more accurate since on that moment the field is linked
> to that datacontrol.
>
> Please I would like to know your point of view about this problem. We may
> introduce a property on the TDatafield in order to be compatible with
> previous versions of Xailer on this or we may leave it as it was but that
> has a great speed penalty.
>
> Waiting for your comments,
>
> Best regards,
>
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
> http:/xailer.info
>
> "Dionisis Divaris" <info@sgs-soft.gr> escribió en el mensaje de
> noticias:4a3f4ab8$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Hello Ignacio
>>
>> Here is some additional info for the problem:
>> In the parent form there are some datacontrols wich linked to the
>> database. When changes made throught these controls everything works.
>> But
>> when changes done with code none of the changed values writen back to
>> the file (here is the main problem, because some changes must be with
>> code, on the fly).
>>
>> Hope this info helps.
>> TIA
>> DIONSIS
>>
>>
>> "Ignacio Ortiz de Zuniga" <NoNameToAvoidSpam@xailer.com> wrote in message
>> news:4a3f435d$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Dionisis,
>>>
>>> As we said on our blog this is an important change on Datacontrols
>>> design. Even if we fix your problem in record time surely more problems
>>> will arise in the near future, so I suggest yo use the previous version
>>> of Xailer 2 for distribution, at least until a new revision of this
>>> latest version of Xailer is published.
>>>
>>> About your problem:
>>>
>>> It seems a call to Edit() is missing. Maybe you are using DBF datasets
>>> that do not need the call to Edit, but in any way is highly recommended.
>>> BTW you do not indicate if there is any error or just simply the field
>>> values are not saved.
>>>
>>> It will be great If could modify any of the actual Datacontrols samples
>>> to force the error you are having. That way we can surely give you a
>>> better solution.
>>>
>>> Best regards,
>>>
>>> --
>>> Ignacio Ortiz de Zuniga
>>> Xailer support / Soporte de Xailer
>>> http://www.xailer.com
>>> http://www.xailer.info
>>> "Dionisis Divaris" <info@sgs-soft.gr> escribio en el mensaje
>>> news:[email=4a3cc3ca@svctag-j7w3v3j....]4a3cc3ca@svctag-j7w3v3j....[/email]
>>>> Hello Ignacio,Jose
>>>>
>>>> I faced with a bad situation due to the last changes on DataSets. I
>>>> have
>>>> an application witch it is a bit before distribution stage and i have
>>>> the following serious problems:
>>>> To update various application datasets i use the folowing methodology
>>>>
>>>> With Object ::datasetName
>>>> :dataSetFieldName:= anyValue
>>>> .....
>>>> ....
>>>> :Update()
>>>> End With
>>>>
>>>> This is not working when compiled with June version of Xailer. When i
>>>> compiled with March version works as
>>>> expected. What this happens and how is possible to avoid this 'bad
>>>> taste'. I need an answer on this ASAP if it possible due to time frame
>>>> for distribution.
>>>>
>>>> TIA
>>>> Dionisis
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
--

Attached files DBFData7.zip (5.5 KB)Â
T.I.A
Dionisis
SGS-soft
support.sgs@gmail.com
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

Problems with datasets

Mensaje por Ingo JH »

Ignacio,
I'm using the DataSet-method VarPut() many times in my project after AddNew
when I want to modify the DataControls (i.e. their buffers) in the form with
values from another DataSet without writing these values directly into the
database. I can do it very simple in a for - next loop so the the new values
are shown up in the form.
For example:
//---------------------------------------------------------- --------------------
METHOD BtnBmp1Click( oSender ) CLASS TMP5Edit
LOCAL aR,n,z:=::oMP5:FieldCount()
WITH OBJECT Gerichtsliste():New(self)
IF :ShowModal()=mrOK
aR := :Cargo
ENDIF
:End()
END WITH
IF aR#NIL .AND. LEN(aR)=z
WITH OBJECT ::oMP5
FOR n:=1 TO Z
:VarPut(n,aR[n]) //writing the values only into the buffers of the
Datafields to show them in the form
NEXT
END WITH
ENDIF
RETURN Nil
//---------------------------------------------------------- --------------------
Getting the values from the other DataSet
//---------------------------------------------------------- --------------------
METHOD BtnBmp1Click( oSender ) CLASS Gerichtsliste
LOCAL n,aR,z
WITH OBJECT ::oDbf
z:=:FieldCount()
aR:=ARRAY(z)
FOR n:= 1 TO z
aR[n]:=:FieldGet(n)
NEXT
END WITH
::Cargo:=aR
RETURN Nil
//---------------------------------------------------------- --------------------
As I understand it well - now I have to assign the new values step-by-step
to each DataControl:Value in the form when I don't want to modify the
database itself, isn't it?
Regards
Ingo
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
Newsbeitrag news:[email=4a3fa269@svctag-j7w3v3j....]4a3fa269@svctag-j7w3v3j....[/email]
> Dionisis,
>
> On previous versions of Xailer, every time you change the value of a
> TDataField, the class did look up on all the linked controls to see if any
> of them was linked to itself. So when you set a value to a TDatafield,
> the linked datacontrol was updated automatically. BTW, this can be very
> useful but it can be also a lot of time consuming. In order to improve the
> speed we decide to avoid this feature. BTW the fix is really simple, you
> only need to change the datacontrol value instead of the datafield value
> which I believe is more accurate since on that moment the field is linked
> to that datacontrol.
>
> Please I would like to know your point of view about this problem. We may
> introduce a property on the TDatafield in order to be compatible with
> previous versions of Xailer on this or we may leave it as it was but that
> has a great speed penalty.
>
> Waiting for your comments,
>
> Best regards,
>
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
> http:/xailer.info
>
> "Dionisis Divaris" <info@sgs-soft.gr> escribió en el mensaje de
> noticias:4a3f4ab8$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Hello Ignacio
>>
>> Here is some additional info for the problem:
>> In the parent form there are some datacontrols wich linked to the
>> database. When changes made throught these controls everything works.
>> But
>> when changes done with code none of the changed values writen back to
>> the file (here is the main problem, because some changes must be with
>> code, on the fly).
>>
>> Hope this info helps.
>> TIA
>> DIONSIS
>>
>>
>> "Ignacio Ortiz de Zuniga" <NoNameToAvoidSpam@xailer.com> wrote in message
>> news:4a3f435d$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Dionisis,
>>>
>>> As we said on our blog this is an important change on Datacontrols
>>> design. Even if we fix your problem in record time surely more problems
>>> will arise in the near future, so I suggest yo use the previous version
>>> of Xailer 2 for distribution, at least until a new revision of this
>>> latest version of Xailer is published.
>>>
>>> About your problem:
>>>
>>> It seems a call to Edit() is missing. Maybe you are using DBF datasets
>>> that do not need the call to Edit, but in any way is highly recommended.
>>> BTW you do not indicate if there is any error or just simply the field
>>> values are not saved.
>>>
>>> It will be great If could modify any of the actual Datacontrols samples
>>> to force the error you are having. That way we can surely give you a
>>> better solution.
>>>
>>> Best regards,
>>>
>>> --
>>> Ignacio Ortiz de Zuniga
>>> Xailer support / Soporte de Xailer
>>> http://www.xailer.com
>>> http://www.xailer.info
>>> "Dionisis Divaris" <info@sgs-soft.gr> escribio en el mensaje
>>> news:[email=4a3cc3ca@svctag-j7w3v3j....]4a3cc3ca@svctag-j7w3v3j....[/email]
>>>> Hello Ignacio,Jose
>>>>
>>>> I faced with a bad situation due to the last changes on DataSets. I
>>>> have
>>>> an application witch it is a bit before distribution stage and i have
>>>> the following serious problems:
>>>> To update various application datasets i use the folowing methodology
>>>>
>>>> With Object ::datasetName
>>>> :dataSetFieldName:= anyValue
>>>> .....
>>>> ....
>>>> :Update()
>>>> End With
>>>>
>>>> This is not working when compiled with June version of Xailer. When i
>>>> compiled with March version works as
>>>> expected. What this happens and how is possible to avoid this 'bad
>>>> taste'. I need an answer on this ASAP if it possible due to time frame
>>>> for distribution.
>>>>
>>>> TIA
>>>> Dionisis
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Problems with datasets

Mensaje por ignacio »

Ingo,
On new version of Xailer VarPut() is deprecated, you should use
TDataField:Value or TDataset:FieldPut(). If you are in Edit mode the values
will not be commited until a Update() is done, but their value should be
reflected on any linked datacontrol (within next revision). BTW, I suggest
you set the values directly to the visual datacontrols, instead of the
Tdatafields.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Ingo JH" <support@mandantwin.com> escribió en el mensaje
news:[email=4a3fc3c5@svctag-j7w3v3j....]4a3fc3c5@svctag-j7w3v3j....[/email]
> Ignacio,
>
> I'm using the DataSet-method VarPut() many times in my project after
> AddNew when I want to modify the DataControls (i.e. their buffers) in the
> form with values from another DataSet without writing these values
> directly into the database. I can do it very simple in a for - next loop
> so the the new values are shown up in the form.
>
> For example:
>
> //---------------------------------------------------------- --------------------
>
> METHOD BtnBmp1Click( oSender ) CLASS TMP5Edit
> LOCAL aR,n,z:=::oMP5:FieldCount()
> WITH OBJECT Gerichtsliste():New(self)
> IF :ShowModal()=mrOK
> aR := :Cargo
> ENDIF
> :End()
> END WITH
> IF aR#NIL .AND. LEN(aR)=z
> WITH OBJECT ::oMP5
> FOR n:=1 TO Z
> :VarPut(n,aR[n]) //writing the values only into the buffers of the
> Datafields to show them in the form
> NEXT
> END WITH
> ENDIF
> RETURN Nil
>
> //---------------------------------------------------------- --------------------
>
> Getting the values from the other DataSet
> //---------------------------------------------------------- --------------------
>
> METHOD BtnBmp1Click( oSender ) CLASS Gerichtsliste
> LOCAL n,aR,z
> WITH OBJECT ::oDbf
> z:=:FieldCount()
> aR:=ARRAY(z)
> FOR n:= 1 TO z
> aR[n]:=:FieldGet(n)
> NEXT
> END WITH
> ::Cargo:=aR
> RETURN Nil
>
> //---------------------------------------------------------- --------------------
>
> As I understand it well - now I have to assign the new values step-by-step
> to each DataControl:Value in the form when I don't want to modify the
> database itself, isn't it?
>
> Regards
>
> Ingo
>
>
>
> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> schrieb im
> Newsbeitrag news:[email=4a3fa269@svctag-j7w3v3j....]4a3fa269@svctag-j7w3v3j....[/email]
>> Dionisis,
>>
>> On previous versions of Xailer, every time you change the value of a
>> TDataField, the class did look up on all the linked controls to see if
>> any
>> of them was linked to itself. So when you set a value to a TDatafield,
>> the linked datacontrol was updated automatically. BTW, this can be very
>> useful but it can be also a lot of time consuming. In order to improve
>> the speed we decide to avoid this feature. BTW the fix is really simple,
>> you only need to change the datacontrol value instead of the datafield
>> value which I believe is more accurate since on that moment the field is
>> linked to that datacontrol.
>>
>> Please I would like to know your point of view about this problem. We may
>> introduce a property on the TDatafield in order to be compatible with
>> previous versions of Xailer on this or we may leave it as it was but that
>> has a great speed penalty.
>>
>> Waiting for your comments,
>>
>> Best regards,
>>
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>> http:/xailer.info
>>
>> "Dionisis Divaris" <info@sgs-soft.gr> escribió en el mensaje de
>> noticias:4a3f4ab8$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Hello Ignacio
>>>
>>> Here is some additional info for the problem:
>>> In the parent form there are some datacontrols wich linked to the
>>> database. When changes made throught these controls everything works.
>>> But
>>> when changes done with code none of the changed values writen back to
>>> the file (here is the main problem, because some changes must be with
>>> code, on the fly).
>>>
>>> Hope this info helps.
>>> TIA
>>> DIONSIS
>>>
>>>
>>> "Ignacio Ortiz de Zuniga" <NoNameToAvoidSpam@xailer.com> wrote in
>>> message
>>> news:4a3f435d$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>>> Dionisis,
>>>>
>>>> As we said on our blog this is an important change on Datacontrols
>>>> design. Even if we fix your problem in record time surely more problems
>>>> will arise in the near future, so I suggest yo use the previous version
>>>> of Xailer 2 for distribution, at least until a new revision of this
>>>> latest version of Xailer is published.
>>>>
>>>> About your problem:
>>>>
>>>> It seems a call to Edit() is missing. Maybe you are using DBF datasets
>>>> that do not need the call to Edit, but in any way is highly
>>>> recommended.
>>>> BTW you do not indicate if there is any error or just simply the field
>>>> values are not saved.
>>>>
>>>> It will be great If could modify any of the actual Datacontrols samples
>>>> to force the error you are having. That way we can surely give you a
>>>> better solution.
>>>>
>>>> Best regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zuniga
>>>> Xailer support / Soporte de Xailer
>>>> http://www.xailer.com
>>>> http://www.xailer.info
>>>> "Dionisis Divaris" <info@sgs-soft.gr> escribio en el mensaje
>>>> news:[email=4a3cc3ca@svctag-j7w3v3j....]4a3cc3ca@svctag-j7w3v3j....[/email]
>>>>> Hello Ignacio,Jose
>>>>>
>>>>> I faced with a bad situation due to the last changes on DataSets. I
>>>>> have
>>>>> an application witch it is a bit before distribution stage and i have
>>>>> the following serious problems:
>>>>> To update various application datasets i use the folowing methodology
>>>>>
>>>>> With Object ::datasetName
>>>>> :dataSetFieldName:= anyValue
>>>>> .....
>>>>> ....
>>>>> :Update()
>>>>> End With
>>>>>
>>>>> This is not working when compiled with June version of Xailer. When i
>>>>> compiled with March version works as
>>>>> expected. What this happens and how is possible to avoid this 'bad
>>>>> taste'. I need an answer on this ASAP if it possible due to time frame
>>>>> for distribution.
>>>>>
>>>>> TIA
>>>>> Dionisis
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder