Question about not required fields
- From: "Norman" <norman@xxxxxxx>
- Date: 29 Aug 2005 17:46:46 -0700
Hello,
I'm using Delphi5/ADO and Access2000.
In my app there are 2 very simple tables T1 and T2.
T1 has a field F joined to a field F in T2.
Field T1.F is defined as "not required" in Access, so that the user can leave it blank.
But I have a problem here: all records with blank T1.F1 disappear from DBGrid after they are posted.
I think the problem is related to SQL command I'm using:
SELECT T1.*, T2.* FROM T1, T2
WHERE T1.F = T2.F
ORDER BY T1.F
Since T2.F is required, there's no NULL value in T2.F, so there's no NULL value to match blank T1.F fields.
Please, what changes in SQL command are needed to do T1.F appearing in DBgrid when its value is blank/NULL ?
(Note: Access shows the records with blank T1.F, allowing user edit, choose values from T2 or leave it blank. I think Delphi/ADO can do this way too).
Thank you
.
- Follow-Ups:
- Re: Question about not required fields
- From: Yannis
- Re: Question about not required fields
- Prev by Date: Re: DBF WITH EXTENSION OTHER THAN .DBF ( I.E. DAT )
- Next by Date: Re: TADOconnection not found
- Previous by thread: Give me solution
- Next by thread: Re: Question about not required fields
- Index(es):