Re: TADOTable problem



Not that it will solve your problem, but you may want to consider using
ADODatasets rather than tables as they are far more powerful

"paul mayer" <pmayer@xxxxxxxxxxxx> wrote in message
news:1io8qada6oj0c.66d5w0sgfbfh.dlg@xxxxxxxxxxxxx
Its a strange problem I have with this component.

I set the properties at design time and change the active property to true
and its ok. I set the same properties at run time and when I try to make
it
active I get this error :could not convert variant of type (Null) into
typr
(String)

The table is an Access one with the following fields

Id (auto) (pk)
CreationDate (TDateTime)
Name (String)

Now even more strange. If I single step into the code and change the
property to active through F7, its quite happy.

I dont see why there should be a problem

Paul


.



Relevant Pages

  • Re: Property is loosing value
    ... This property is only set at design time. ... > the property would need to utilize ViewState ... > Property As String ... >> that when I add the component the following code is added to the webform: ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: using the Items property in the design time property window
    ... types like string and ints seem to be handled correctly. ... I have a custom server control that I am building. ... > to be able to configure the control at design time through the Items ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)
  • Re: Lines() like property
    ... >> windows similar to Linesproperty of TextBox. ... >> design time. ... > Private m_LinesAs String ... > Public Property LinesAs String() ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: How to assign a very long string to a variable ?
    ... > text property can be assigned with Ctrl_V in design mode. ... > to retrieve the long string in run time. ... Properties window at design time. ... then click on the Text property field and an entry box ...
    (microsoft.public.vb.controls)