M4A Posted September 6, 2012 Share Posted September 6, 2012 Hi, i have 2 access tables orders & Items, both tables have a field OrderID, I sucessfully managed to create a drop down list of the items on the orders form but i need to fill in the filter field to filter the drop down to show only items where ordersID is equal iv tried and tried to no avail. The tables are in access. I use aspmaker to generate front end. I am trying to fill out the SQL filter field. the example in aspmaker shows:ew_IIf(AField.CurrentValue & "" <> "", "`ALookupTableField` = " & AField.CurrentValue, "") so i wrote:ew_IIf(OrderID.CurrentValue & "" <> "", "`OrderID` = " & OrderID.CurrentValue, "") The tables are in access. I use aspmaker to generate front end. I am trying to fill out the SQL filter field. The example i have to work on is ew_IIf(AField.CurrentValue & "" <> "", "`ALookupTableField` = " & AField.CurrentValue, "")both values are adInteger, where am i going wrong? Link to comment Share on other sites More sharing options...
justsomeguy Posted September 6, 2012 Share Posted September 6, 2012 Is there a reference somewhere for the ew_IIf function? What are the three parameters supposed to mean? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now