Scubadiver:
I have done exaclty like you said but it does not work. Maybe I have not
told you my form sturcture. I have the main form which showing supplier no,
name and contact details, then I have subform containds invoices details.
This Form and sub form is working for filtering by form on the toolbar
swhoing the selected supplier with the inovice details. But I copied the form
for my future development coz I want it when I filter by supplier in the
mainform, then I filter again by subform just by pressing the buttons
"Outstanding Only"; "Paid Only"; "Show All.
So my overall problem now in this development is
1. Combox selection by supplier now is not working, how can we make it
selecting the supplier just by choosing from the combo box
2. After showing all invoices' detail for the selected supplier, how can we
make the option group working just by pressing the button "outstanding
only"," paid", and "show all". I finished creating the macro which I attached
to the subfrom option group and I put the option group in the subform header
I appreciate your help.
Frank
Greetings from Jakarta, Indonesia.
scubadiver said:
In the macro
the first line refers to paid invoices, the second line refers to
outstanding invoices, the third line is to show all records
Macro Name Condition Action Where Condition
Payment [Paydetail]=1 Apply filter [paydate] is not null
[Paydetail]=2 Appliy filter [paydate] is
null
[paydetail]=3 ShowAllrecords
In the "form design" toolbar there is a button with an "XYZ" on it. Go
through the wizard (but you need to highlight the wand at the far left of the
toolbar).
Frank Situmorang said:
Dear Scubadiver:
I will make the condition in macro for payment date is not null for " paid"
invoices and Payment date is null for the outstanding, but I do not know what
condition should I make for to show "all"
Could you please help me?
Frank