Question : 1024 character limit in query grid

I have hit the query grid limit with the attached query how do i get around this? i assume any sql derived in vba will be ok irrespective of length?
1:
2:
SELECT Vivid_data.make_id, Vivid_data.model_id, Vivid_data.type_id, Vivid_data.make_name, Vivid_data.Model_description, Vivid_data.additional_info, Vivid_data.build_from, Vivid_data.build_to, Vivid_data.Type_description, Vivid_data.enginecode, Vivid_data.capacity, Vivid_data.output, Vivid_data.fuel_type, Vivid_data.description, nz(createtestclass([enginecode],[Forms]![main]![engine model].[value],"Engine"),0) AS EngineRank, nz(createtestclass([Descriptive Concatenated],[forms]![main]![POWERBHP].[Value],"BHPStr"),0) AS BhpStrRank, nz(createtestclass([Descriptive Concatenated],[forms]![main]![POWERkw].[Value],"KWStr"),0) AS KWStrRank, nz(createtestclass([output],[forms]![main]![powerkw].[Value],"kw"),0) AS KWRank, nz(createtestclass([capacity],[forms]![main]![CC].[Value],"CC"),0) AS CCRank, nz(createtestclass([Descriptive Concatenated],[forms]![main]![nomcc].[Value],"NomStr"),0) AS NomStrRank, nz(createtestclass([Fuel_Type],[forms]![main]![fuel].[Value],"Fuel"),0) AS FuelRank, nz(createtestclass([Descriptive Concatenated],[forms]![main]![No Cylinders].[Value],"Valves",[forms]![main]![VALVES PER CYLINDER].[Value]),0) AS ValveRank, nz(createtestclass([Capacity],[forms]![main]![nomcc].[Value],"NomCalc"),0) AS NomCalcRank, nz(createtestclass([Descriptive Concatenated],[forms]![main]![TxtReverseValves].[Value],"ValvesRev"),0) AS ValveRevRank, nz(createtestclass([Descriptive Concatenated],[forms]![main]![TxtGetNom].[Value],"GetstrNomRev"),0) AS NomRevRank, nz(createtestclass([Descriptive Concatenated],[forms]![main]![TxtDriveRev].[Value],"DriveRev"),0) AS DriveRevRank, nz(createtestclass([forms]![main]![variant].[Value],[Descriptive Concatenated],"Keywords"),0) AS KeywordRank, nz(createtestclass([Descriptive Concatenated],[Forms]![main]![MODELRANGE].[value],"Engine"),0) AS ModelRank, removestringduplicates([Model_description] & " " & [Type_description] & " " & [Description]) AS [Descriptive Concatenated], CreateTestClass([build_from],nz([forms]![main]![INTRODATE].[Value],"01/01/1800"),"Date",[build_to],nz([forms]![main]![TERMINATIONDATE].[Value],"1/1/1800")) AS DateRank
FROM Vivid_data;

Answer : 1024 character limit in query grid

Random Solutions  
 
programming4us programming4us