UNION causes Access to scrash!

maiki

New member
Local time
Today, 02:24
Joined
Apr 12, 2002
Messages
7
These 2 SQL alone works:
(1)

SELECT DatumCas, PridelTypOperace("zmìna") AS TypOperace, PridelHodnotyOperace("zmìna", Zaznam, "Støedisko",StrediskoOLD,StrediskoNEW) AS HodnotyOperace
FROM [Monitorování zmìn - Evidence PC/Støedisko]

(2)

SELECT DatumCas, PridelTypOperace("zmìna") AS TypOperace, PridelHodnotyOperace("zmìna", Zaznam, "Poznámka",Cstr(PoznamkaOLD),Cstr(PoznamkaNEW)) AS HodnotyOperace
FROM [Monitorování zmìn - Evidence PC/Poznámka]


------------------------------
When I join them together, then the Microsoft Access 97 programme crashes:

(1)

UNION

(2)

I know it is because of the (2) uses MEMO fields but even if I convert them to CSTR()...

But (2) alone works, but with UNION it crashes. But if I UNION (1) with similar query that does not SELECT MEMO fields it does not crash....


strange....
 
Actually it starts to scrash when there are more than 80 chars in the field.....
 

Users who are viewing this thread

Back
Top Bottom