I am having trouble creating a table filter. I have created them in the past but nothing using the and in them. This is my last attempt over the past 24 hrs.
x1 = Int(txtx1.Text)
x2 = Int(txtx2.Text)
y1 = Int(txty1.Text)
y2 = Int(txty2.Text)
table1.Filter(("x1 = x1") AND ("y1 = y1") AND ("x2 = x2") AND ("y2 = y2"))
I have had some that compiled but when run bomb with snytax error's. This one doesn't compile because it sayes x2 is never used. Most of the time when I run into this I get it sorted out. Any help appreciated.
x1 = Int(txtx1.Text)
x2 = Int(txtx2.Text)
y1 = Int(txty1.Text)
y2 = Int(txty2.Text)
table1.Filter(("x1 = x1") AND ("y1 = y1") AND ("x2 = x2") AND ("y2 = y2"))
I have had some that compiled but when run bomb with snytax error's. This one doesn't compile because it sayes x2 is never used. Most of the time when I run into this I get it sorted out. Any help appreciated.