| Subject |
Re: Null datasource |
| From |
Roz Bernitz <roz@bernitz.co.za> |
| Date |
Wed, 10 Mar 2021 04:51:35 -0500 |
| Newsgroups |
dbase.getting-started |
Andy,
Is datasource = "" not equivalent to setting it to null?
Roz
Andy Taylor Wrote:
> Roz,
> Have you tried setting it to null.
> Andy
>
> > How do I remove the datasource of an object? In this instance, if CARSBOX = true, the bodycode is no longer valid
> >
> >
> > function CARSBOX_onChange()
> > if this.Value = true
> > form.typecontainer.vehtypecode.dataSource = 'array {"SED","HAT","XVR","EST","COU","SCC","SFT","CCP","MPV","REC","ATE","MBS"}'
> > form.typecontainer.bodycodebox2.dataSource = ""
> > form.typecontainer.subbodycode.dataSource = ""
> > form.Itsacar()
> > endif
> > return
> >
> > Setting datasource to "" is creating Error: Data type mismatch. Expecting: Object
> >
> > Thanks
> > Roz
>
|
|