Home > Archive > Getting Started with dBASE > November 2006 > logical field









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author logical field
Tim MacAlpine

2006-11-17, 7:12 pm

when adding a row containing logical fields to a table, how do you provide
an initial value to the logical fields?
Tim MacAlpine



Ken Mayer [dBVIPS]

2006-11-17, 7:12 pm

Tim MacAlpine wrote:
> when adding a row containing logical fields to a table, how do you provide
> an initial value to the logical fields?


set autoNullFields off

Or if using the data objects:

queryname.rowset.autoNullFields := false

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Tim MacAlpine

2006-11-17, 7:12 pm

Thank you Ken, that seemed to solve my problem.
Tim MacAlpine



Les Shewchuk

2006-11-20, 7:14 pm

In addition, If you are using Level 7 tables, you can set a default value in
the table designer's field properties.

This is also very useful if you are using lookup tables for a field and you
don't want an unassigned value. You can set the default to a matching record
in your lookup.

Les Shewchuk


"Ken Mayer [dBVIPS]" < dbase@_nospam_golden
stag.net> wrote in message
news:pSsOyjpCHHA.336@news-server...
> Tim MacAlpine wrote:
>
> set autoNullFields off
>
> Or if using the data objects:
>
> queryname.rowset.autoNullFields := false
>
> Ken
>
> --
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/dbase/dBASEBook.htm
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com