Re: how to show that there is a detail record
- From: Detlef Ross <info@xxxxxxxx>
- Date: Mon, 29 May 2006 21:22:14 +0200
Brian Bushay TeamB wrote:
Brian,
excuse my dumbness, but I cannot find a way to create a field, which only contains the information that there are detail datasets or not. I need more explanation or a snipplet if possible.
In the IDE right click on your dataset.
Choose to add all field. These are your existing fields from the SQL query you
wrote. Next right click and create a new field. This will be your calculated
field. Next write an OnCalc fields event for this dataset.
In the code for this event check if the fields joined from the detail table have
values then detail dataset has data. Set the value of the calculated field
accordingly
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
Thank you, very helpful, but how can I do this during run time? Because I/the user can use slightly different databases. I read the commandtext from an ini-file when the program opens the database.
Thank you very much
Detlef Ross
.
- Follow-Ups:
- Re: how to show that there is a detail record
- From: Brian Bushay TeamB
- Re: how to show that there is a detail record
- References:
- how to show that there is a detail record
- From: Detlef Ross
- Re: how to show that there is a detail record
- From: Brian Bushay TeamB
- Re: how to show that there is a detail record
- From: Detlef Ross
- Re: how to show that there is a detail record
- From: Brian Bushay TeamB
- Re: how to show that there is a detail record
- From: Detlef Ross
- Re: how to show that there is a detail record
- From: Brian Bushay TeamB
- how to show that there is a detail record
- Prev by Date: Re: how to show that there is a detail record
- Next by Date: Re: how to show that there is a detail record
- Previous by thread: Re: how to show that there is a detail record
- Next by thread: Re: how to show that there is a detail record
- Index(es):
Relevant Pages
|