Re: Master detail problem

From: Hilary Band <hband_at_csc.com>
Date: 30 Aug 2002 08:16:46 -0700
Message-ID: <5b489863.0208300716.7181b9d0_at_posting.google.com>


totonut_at_mailcity.com (maher) wrote in message news:<40aad53e.0208280439.71bfe19_at_posting.google.com>...
> dears,
>
> I have master detail form in which I face the following
> problem .
>
> After excuting a query though a button trigger .I tried to add a
> new
>
> record to the detail block every time I try to do this it
> tries to add an new one to the master (database yes )
>
> I need to be able to add in any block I need.
>
> I tried go_block it did not work

It's hard to tell what the problem is from your description, although I would guess that your cursor is still in the master block after you execute the query. You can find out by running your form through the debugger and examining the System parameters. If this is the case, when you try to insert the record it will try to do it in the current block (in this case the master block).

Not sure what to advise to resolve it, as I have no idea what exactly you are trying to do with your form.

H Received on Fri Aug 30 2002 - 17:16:46 CEST

Original text of this message