dbTalk Databases Forums  

Testing for blank field in PdoxDOS?

comp.databases.paradox comp.databases.paradox


Discuss Testing for blank field in PdoxDOS? in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JoeSpareBedroom
 
Posts: n/a

Default Testing for blank field in PdoxDOS? - 07-17-2006 , 12:25 PM






Once again, I'm working at a machine that's 300 miles from my Pdox reference
books, and it's been too long since I needed to do the following. Is there a
ready-made function to tell me if a field is empty? I know I could do
this....

IF [FIELD] = ""

.....but I'm still wondering.



Reply With Quote
  #2  
Old   
Larry DiGiovanni
 
Posts: n/a

Default Re: Testing for blank field in PdoxDOS? - 07-17-2006 , 08:27 PM






JoeSpareBedroom wrote:

Quote:
Is there a ready-made function to tell me if a field is empty?
IF ISBLANK([FIELD])

--
Larry DiGiovanni
Digico, Inc.
IT Consulting and Staffing Solutions
www.digicoinc.com
Check out www.thedbcommunity.com for Paradox resources.



Reply With Quote
  #3  
Old   
JoeSpareBedroom
 
Posts: n/a

Default Re: Testing for blank field in PdoxDOS? - 07-18-2006 , 06:58 AM



"Larry DiGiovanni" <nospam@nospam> wrote

Quote:
JoeSpareBedroom wrote:

Is there a ready-made function to tell me if a field is empty?

IF ISBLANK([FIELD])

If that's in the Pdox help screen, I'm taking the rest of today off. I sat
here looking at the reference list for a good 5 minutes. :-(




Reply With Quote
  #4  
Old   
Susan E. Butler
 
Posts: n/a

Default Re: Testing for blank field in PdoxDOS? - 07-18-2006 , 07:39 AM



Not sure if PDox DOS is different, but I think that is
IIF(isBlank([FIELD]) - two IIs
"Larry DiGiovanni" <nospam@nospam> wrote

Quote:
JoeSpareBedroom wrote:

Is there a ready-made function to tell me if a field is empty?

IF ISBLANK([FIELD])

--
Larry DiGiovanni
Digico, Inc.
IT Consulting and Staffing Solutions
www.digicoinc.com
Check out www.thedbcommunity.com for Paradox resources.




Reply With Quote
  #5  
Old   
Susan E. Butler
 
Posts: n/a

Default Re: Testing for blank field in PdoxDOS? - 07-18-2006 , 07:40 AM



Or that is only in a calculated field.

"Susan E. Butler" <sbutler (AT) lNoOuMiOsRbEeSrPgAeMr (DOT) com> wrote

Quote:
Not sure if PDox DOS is different, but I think that is
IIF(isBlank([FIELD]) - two IIs
"Larry DiGiovanni" <nospam@nospam> wrote in message
news:44bc37fe$1 (AT) pnews (DOT) thedbcommunity.com...
JoeSpareBedroom wrote:

Is there a ready-made function to tell me if a field is empty?

IF ISBLANK([FIELD])

--
Larry DiGiovanni
Digico, Inc.
IT Consulting and Staffing Solutions
www.digicoinc.com
Check out www.thedbcommunity.com for Paradox resources.






Reply With Quote
  #6  
Old   
Steven Green
 
Posts: n/a

Default Re: Testing for blank field in PdoxDOS? - 07-18-2006 , 07:44 AM



you got lost because you were keying on the word "empty", which refers to a
table, not the word "blank", which refers to a field or a var..

--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales - Corel CTech Paradox

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards

"JoeSpareBedroom" <dishborealis (AT) yahoo (DOT) com> wrote

Quote:
"Larry DiGiovanni" <nospam@nospam> wrote in message
news:44bc37fe$1 (AT) pnews (DOT) thedbcommunity.com...
JoeSpareBedroom wrote:

Is there a ready-made function to tell me if a field is empty?

IF ISBLANK([FIELD])


If that's in the Pdox help screen, I'm taking the rest of today off. I sat
here looking at the reference list for a good 5 minutes. :-(




Reply With Quote
  #7  
Old   
Steven Green
 
Posts: n/a

Default Re: Testing for blank field in PdoxDOS? - 07-18-2006 , 07:47 AM



Quote:
IIF(isBlank([FIELD]) - two IIs
no Susan.. the above is part of a multiple choice function..
IIF(whatever,a,b)

when "whatever" is TRUE, the return value is "a".. when "whatever" is FALSE,
the return value is "b".. this is true for PdoxDOS or PdoxWIN..

--
Steven Green - Waldorf Maryland USA

Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales - Corel CTech Paradox

Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards
"Susan E. Butler" <sbutler (AT) lNoOuMiOsRbEeSrPgAeMr (DOT) com> wrote

Quote:
Not sure if PDox DOS is different, but I think that is
IIF(isBlank([FIELD]) - two IIs
"Larry DiGiovanni" <nospam@nospam> wrote in message
news:44bc37fe$1 (AT) pnews (DOT) thedbcommunity.com...
JoeSpareBedroom wrote:

Is there a ready-made function to tell me if a field is empty?

IF ISBLANK([FIELD])

--
Larry DiGiovanni
Digico, Inc.
IT Consulting and Staffing Solutions
www.digicoinc.com
Check out www.thedbcommunity.com for Paradox resources.






Reply With Quote
  #8  
Old   
Larry DiGiovanni
 
Posts: n/a

Default Re: Testing for blank field in PdoxDOS? - 07-18-2006 , 08:16 AM



Susan E. Butler wrote:

Quote:
Not sure if PDox DOS is different, but I think that is
IIF(isBlank([FIELD]) - two IIs
The syntax I used was as the start of an IF statement, which I assumed he
was doing.

But if it was for a calculated field, yes, the immediate IF in PDOXDOS is
IIF.

--
Larry DiGiovanni
Digico, Inc.
IT Consulting and Staffing Solutions
www.digicoinc.com
Check out www.thedbcommunity.com for Paradox resources.




Reply With Quote
  #9  
Old   
JoeSpareBedroom
 
Posts: n/a

Default Re: Testing for blank field in PdoxDOS? - 07-18-2006 , 08:27 AM



"Larry DiGiovanni" <nospam (AT) nospam (DOT) com> wrote

Quote:
Susan E. Butler wrote:

Not sure if PDox DOS is different, but I think that is
IIF(isBlank([FIELD]) - two IIs

The syntax I used was as the start of an IF statement, which I assumed he
was doing.

But if it was for a calculated field, yes, the immediate IF in PDOXDOS is
IIF.
--
Larry DiGiovanni
Your method sounds more applicable, Larry. I have a table that needs to find
values from another table. It usually finds about 75% of the values it's
looking for. Then, I aim the search at a third table to try and find the
values not found in the second table. So, ISBLANK sounds right for this
purpose.




Reply With Quote
  #10  
Old   
Michael Kennedy
 
Posts: n/a

Default Re: Testing for blank field in PdoxDOS? - 07-18-2006 , 10:21 AM



Quote:
...I aim the search at a third table to try and find the values not found
in the second table. So, ISBLANK sounds right for this purpose.
If you have 2 (or more) tables, and you can "match" them on 1 (or more)
fields, and you want to identify records in one table which do NOT have
matches IN another table, then the ISBLANK function probably won't help
much. You'll need to build and run a "NOT IN" query - which is a different
animal altogether... Searches will throw up lots of references to these
queries...

Or... maybe explain here EXACTLY what you're trying to achieve...

- Mike




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.