>Assuming you use customer and orders from testdata (tables dropped in DE but >relation is deleted to demonstrate you don't need it - no order is set for >orders table though might be one starting with cust_id) :
>Put fields from customer.
>Put fields from orders as a grid.
>*Grid properties
>ChildOrder = 'cust_id'
>LinkMaster = 'customer'
>RelationalExpression = 'cust_id'
I have two dialogs:
One for the 'customers' (listed in a listbox).
With clicking on a button and having selected one customer in the listbox you come to the second dialog 'orders' (of the selected customer). Here are the orders of the customer (listed in a grid).
The dialog 'customer' has a DE with the tables 'customer' and 'orders'.
The dialog 'orders' too has a DE with the tables 'customer' and 'orders'.
In bot DE's the filter property of cursor 'orders' was set to
'=orders.icust_nr = customer.inr'
I tried your example and removed both filters in the cursor objects of the DE's.
When I did this and removed the filter in the DE of dialog 'orders' it just worked as it did before (right data, wrong scrollbar).
When I then removed the filter in the DE of dialog 'customers' the grid of dialog 'orders' showed the orders of every customer.
It could be that I'm just a dummy and overlooked a stupid thing but can you help me?
kind regards
Judith
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement