Solved Append Query not copying all data from memo field (1 Viewer)

murray83

Games Collector
Local time
Today, 20:33
Joined
Mar 31, 2017
Messages
728
Hi All

have a slight issue and have searchd and it seems like it's a known bug, but cant find any fixes

so have a table which has a memo field and is set ot rich text, which is fine as it shows all information as it should

but then i have an extract data table as we need to run a report each week so need to quick put in a date and then show data for that day, but the error is this; even though the extract data table also has the same field ( as its append ) set to memo and rich text it cuts of some of the data

please see attached for example any help would be greatfully apperciated
 

Attachments

  • extract data table.png
    extract data table.png
    5.5 KB · Views: 156
  • main table.png
    main table.png
    9.1 KB · Views: 112

theDBguy

I’m here to help
Staff member
Local time
Today, 12:33
Joined
Oct 29, 2018
Messages
21,454
Can we see your append process please?
 

murray83

Games Collector
Local time
Today, 20:33
Joined
Mar 31, 2017
Messages
728
Of course
 

Attachments

  • APPEND.png
    APPEND.png
    17.6 KB · Views: 119

theDBguy

I’m here to help
Staff member
Local time
Today, 12:33
Joined
Oct 29, 2018
Messages
21,454
Thanks. If you change that append query to a select query, is the memo field truncated?
 

murray83

Games Collector
Local time
Today, 20:33
Joined
Mar 31, 2017
Messages
728
Thanks. If you change that append query to a select query, is the memo field truncated?

Afraid so see below attached showing the results and the query changed from append to select
 

Attachments

  • select query.jpg
    select query.jpg
    46 KB · Views: 134
  • select results.jpg
    select results.jpg
    23.9 KB · Views: 100

murray83

Games Collector
Local time
Today, 20:33
Joined
Mar 31, 2017
Messages
728
Fixed it, yippeee

all i had to do was view the SQL and remove the DISTINCT from the below so now it looks like this


Code:
INSERT INTO tblExtractData
SELECT tblChargingTable.*
FROM tblChargingTable
WHERE (((tblChargingTable.AppointmentDate) Between Forms!frmMain!txtChooseFrom And Forms!frmMain!txtChooseTo) And ((tblChargingTable.SupplierCode)<>"CSHC001"));
 

theDBguy

I’m here to help
Staff member
Local time
Today, 12:33
Joined
Oct 29, 2018
Messages
21,454
Fixed it, yippeee

all i had to do was view the SQL and remove the DISTINCT from the below so now it looks like this


Code:
INSERT INTO tblExtractData
SELECT tblChargingTable.*
FROM tblChargingTable
WHERE (((tblChargingTable.AppointmentDate) Between Forms!frmMain!txtChooseFrom And Forms!frmMain!txtChooseTo) And ((tblChargingTable.SupplierCode)<>"CSHC001"));
Ah, that's the piece we can't see from the images. I was looking for Group By but didn't see them.

Good luck with your project.
 

Users who are viewing this thread

Top Bottom