ms access - Why DLookup returning Empty? -


I have a text box from which I am retrieving the data. They have double the number datatype and field size and the format is fixed. Summary = DLookup ("Summ", "TblPlatej", "ID =" & Form_frmPlatej! Id) Deposit = DLookup ("already returning a true value, the second one always goes down "TBLtage", "ID =" and "Form_Frame Placement!") Why is this happening? Can someone keep me in the right direction?

The problem was in the column name. [First deposit] in the space bar between words.

  summary = DLookup ("Summ", " TblPlatej "," ID = "& amp; Form_frmPlatej! Id) deposit = DLookup (" Submit first "," TblPlatej "," ID = "and Fo Rm_frmPlatej! Id)  

This is very weird but it works now.


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -