ms access - Data filtering on form generates "Could not find field" -


i spent half day trying figure out why appears error messagebox

could not find field 'transactiontypeid'

in database. if open form1, apply filter on column transactiontypeid using header (for instance, uncheck blanks) , try open sorting/filtering second column, appears error message. error disappears if convert combobox text box or remove form select table tenants1. use access 2010 32 bit. in example simplified tables as possible, database created scratch, data imported, compact/repair doesn't help.

do have ideas?

i found problem. built-in datasheet form filtering works in wrong way if tables joined way:

select vouchersmain1.vdate, vouchersmain1.transactiontypeid tenant1 inner join vouchersmain1 on tenant1.tenantid = vouchersmain1.tenantid; 

if reverse tables join direction, built-in filtering works fine:

select vouchersmain1.vdate, vouchersmain1.transactiontypeid vouchersmain1 inner join tenant1 on vouchersmain1.tenantid = tenant1.tenantid; 

looks access bug.

also, @munsterlander, problem disappears if form's recordsource replaced saved query instead of select


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -