Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Problem with NULL in D2009
Fri, Mar 19 2010 6:22 AMPermanent Link


Hi all,

Following code is OK in D6 but gives an error in D2009 compiler:

tblMytableEmployeeID.AsVariant := Null;

The error message is:

E2003 Undeclared identifier: 'Null'

how do I get it working?

Fri, Mar 19 2010 11:06 AMPermanent Link

Terry Swiers


> E2003 Undeclared identifier: 'Null'
> how do I get it working?

Add Variants to your uses clause.


 Terry Swiers
 Millennium Software, Inc.

 The Atrex 13 beta is now available.
 Visit http://v13beta.atrex.com for more information.

Atrex Electronic Support Options:
 Atrex Knowledgebase: http://www.atrex.com/atrexkb.asp
 Email: mailto:support@atrex.com
 Newsgroup: news://news.1000years.com/millennium.atrex
 Fax: 1-925-829-1851
 Phone: 1-925-828-5892 (M-F, 9a-5p Pacific)

Fri, Mar 19 2010 12:53 PMPermanent Link

Rita Tipton

"Terry Swiers" <millennium@1000years.com> wrote in message
> Add Variants to your uses clause.

The thing I liked most about Delphi when I 1st
got it was the users clause it seemed to put most
of that stuff in for you. After struggling with C
coming from XBASE stuff it made life easier
for me much nicer than the H files in C.
I would think the Variants should be added once
its mentioned in code.
Msybe time for a clone called HelpPhi to do it all.

Fri, Mar 19 2010 4:45 PMPermanent Link


>Add Variants to your uses clause.

Thanks Terry  Wink