Dan
Thu Oct 13 06:31:04 CDT 2005
This is a multi-part message in MIME format.
------=_NextPart_000_000B_01C5CFC8.11A34A10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The change I have made works on my system. It has been difficult to =
reproduce the problem my customers were experiencing. I know these =
errors are occuring because the error trap mechanism I wrote into the =
project sends the details of the errors to one of our servers. =20
I will need to release this new method to see if the problem is truly =
fixed. If not, I will be on the hunt for additional help. I'll take a =
look at your link to make sure it doesn't go away.
Thanks
Dan
=20
"Dennis Longfellow" <drlongfellowxxx@xxx.directrac.com> wrote in message =
news:OxZ5MF0zFHA.2008@TK2MSFTNGP10.phx.gbl...
Let us see if I can get the link correct this time:
http://weblogs.foxite.com/andykramek/archive/2005/03/19/174.aspx
Dennis Longfellow
"Dennis Longfellow" <drlongfellowxxx@xxx.directrac.com> wrote in =
message news:OaxgvLzzFHA.1252@TK2MSFTNGP09.phx.gbl...
> Dan,
>=20
> I know you have solved your problem, but may I propose an alternate=20
> solution. I use Andy Kramek's Using a "Safe Select" to preserve =
your grid=20
> to avoid similar problems. It can also be found on Andy's blog over =
at=20
> Foxite.com
>=20
> Hope that helps
>=20
> Dennis Longfellow
>=20
> "Dan Tallent" <dtallent@NOTEarthlink.net> wrote in message=20
> news:eJkIfobzFHA.904@tk2msftngp13.phx.gbl...
>> My code refers to the columns by name. The name was defined during =
design
>> time. I have asked about this before, but the suggestions did not =
work=20
>> out.
>> I am using VFP 8 SP 1
>>
>> Some of my customers are getting errors when they open screens with =
grids=20
>> on
>> them. The code might say:
>> this.Grid1.col_code.setfocus()
>>
>> The code crashes because when the grid was created it named the =
column
>> "Column1"
>> All of the names of the columns are lost.
>>
>> Someone told me this is because I am loosing the recordsource on =
the grid,
>> after it has been assigned to the table. I was instructed to set =
the
>> recordsource =3D "" before I rebuild the cursor it was associated =
with.=20
>> This
>> did not fix the problem. I am getting several customers with this=20
>> problem.
>>
>> Does anyone have any suggestion that might fix this issue? Also, =
does
>> anyone know if this is a known issue of Microsoft and if its fixed =
in=20
>> VFP9?
>>
>> Thanks for your help
>>
>> --------------------------------
>> Dan Tallent
>>
>>=20
>=20
>
------=_NextPart_000_000B_01C5CFC8.11A34A10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1515" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>The change I have made works on my=20
system. It has been difficult to reproduce the problem =
my=20
cust</FONT><FONT face=3DArial size=3D2>omers were =
experiencing. I=20
know these errors are occuring because the error =
trap mechanism I=20
wrote into the project sends the details of the errors to one =
of our=20
servers. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I will need to release this new =
method to see=20
if the problem is truly fixed. If not, I will be on the hunt for=20
additional help. I'll take a look at your link to make=20
sure it doesn't go away.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Dan</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT> </DIV>
<DIV>"Dennis Longfellow" <<A=20
href=3D"mailto:drlongfellowxxx@xxx.directrac.com">drlongfellowxxx@xxx.dir=
ectrac.com</A>>=20
wrote in message <A=20
href=3D"news:OxZ5MF0zFHA.2008@TK2MSFTNGP10.phx.gbl">news:OxZ5MF0zFHA.2008=
@TK2MSFTNGP10.phx.gbl</A>...</DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2>Let us see if I=20
can get the link correct this time:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><A=20
=
href=3D"
http://weblogs.foxite.com/andykramek/archive/2005/03/19/174.aspx"=
>
http://weblogs.foxite.com/andykramek/archive/2005/03/19/174.aspx</A></FO=
NT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Dennis Longfellow</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>"Dennis Longfellow" <</FONT><A=20
href=3D"mailto:drlongfellowxxx@xxx.directrac.com"><FONT face=3DArial=20
size=3D2>drlongfellowxxx@xxx.directrac.com</FONT></A><FONT =
face=3DArial=20
size=3D2>> wrote in message </FONT><A=20
href=3D"news:OaxgvLzzFHA.1252@TK2MSFTNGP09.phx.gbl"><FONT face=3DArial =
size=3D2>news:OaxgvLzzFHA.1252@TK2MSFTNGP09.phx.gbl</FONT></A><FONT =
face=3DArial=20
size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>> Dan,<BR>> =
<BR>> I=20
know you have solved your problem, but may I propose an alternate =
<BR>>=20
solution. I use Andy Kramek's Using a "Safe Select" to preserve =
your=20
grid <BR>> to avoid similar problems. It can also be found on =
Andy's=20
blog over at <BR>> Foxite.com<BR>> <BR>> Hope that =
helps<BR>>=20
<BR>> Dennis Longfellow<BR>> <BR>> "Dan Tallent" =
<</FONT><A=20
href=3D"mailto:dtallent@NOTEarthlink.net"><FONT face=3DArial=20
size=3D2>dtallent@NOTEarthlink.net</FONT></A><FONT face=3DArial =
size=3D2>> wrote=20
in message <BR>> </FONT><A=20
href=3D"news:eJkIfobzFHA.904@tk2msftngp13.phx.gbl"><FONT face=3DArial=20
size=3D2>news:eJkIfobzFHA.904@tk2msftngp13.phx.gbl</FONT></A><FONT =
face=3DArial=20
size=3D2>...<BR>>> My code refers to the columns by name. =
The name=20
was defined during design<BR>>> time. I have asked about =
this=20
before, but the suggestions did not work <BR>>> out.<BR>>> =
I am=20
using VFP 8 SP 1<BR>>><BR>>> Some of my customers are =
getting=20
errors when they open screens with grids <BR>>> on<BR>>>=20
them. The code might say:<BR>>>=20
this.Grid1.col_code.setfocus()<BR>>><BR>>> The code =
crashes=20
because when the grid was created it named the column<BR>>>=20
"Column1"<BR>>> All of the names of the columns are=20
lost.<BR>>><BR>>> Someone told me this is because I am =
loosing the=20
recordsource on the grid,<BR>>> after it has been assigned to =
the=20
table. I was instructed to set the<BR>>> =
recordsource =3D ""=20
before I rebuild the cursor it was associated with. <BR>>>=20
This<BR>>> did not fix the problem. I am getting several =
customers=20
with this <BR>>> problem.<BR>>><BR>>> Does anyone =
have any=20
suggestion that might fix this issue? Also, does<BR>>> =
anyone know=20
if this is a known issue of Microsoft and if its fixed in <BR>>> =
VFP9?<BR>>><BR>>> Thanks for your =
help<BR>>><BR>>>=20
--------------------------------<BR>>> Dan=20
Tallent<BR>>><BR>>> <BR>> <BR>></FONT>=20
</BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_000B_01C5CFC8.11A34A10--