Hi, I have created some lookups and for one access made syntax like this
SELECT [tbl_bpo].[ID], [tbl_bpo].[Banko pajamu orderis Nr:] FROM tbl_bpo ORDER BY [ID] DESC;
For another
SELECT tbl_kpo.ID, tbl_kpo.[Kasos pajamu orderis Nr:], tbl_kpo.[ID] FROM tbl_kpo ORDER BY tbl_kpo.[ID] DESC;
Both work, should I reformat it to:
SELECT [tbl_kpo].[ID], [tbl_kpo].[Kasos pajamu orderis Nr:] FROM tbl_kpo ORDER BY [ID] DESC;
The trick is: My fist lookup was created to sort data by ID and then I decided to fix the second lookup by editing in design view. IT was made to sort by same field [Kasos pajamu orderis Nr:]. Made everything like the first one but syntax is different.
SELECT [tbl_bpo].[ID], [tbl_bpo].[Banko pajamu orderis Nr:] FROM tbl_bpo ORDER BY [ID] DESC;
For another
SELECT tbl_kpo.ID, tbl_kpo.[Kasos pajamu orderis Nr:], tbl_kpo.[ID] FROM tbl_kpo ORDER BY tbl_kpo.[ID] DESC;
Both work, should I reformat it to:
SELECT [tbl_kpo].[ID], [tbl_kpo].[Kasos pajamu orderis Nr:] FROM tbl_kpo ORDER BY [ID] DESC;
The trick is: My fist lookup was created to sort data by ID and then I decided to fix the second lookup by editing in design view. IT was made to sort by same field [Kasos pajamu orderis Nr:]. Made everything like the first one but syntax is different.