Seite wählen
SQL extend a Recordset / VBA DAO etc.

Sometimes you will get a problem if you want to add a data entry to a recordset, it can be done without the need of inserting the data entry to the table.

It is a little bit tricky but with a union statement you can do following:

your normal statement looks like:

select Field1,Field2 from tableName;

 

and if you want to add a entry without insert then you can union like:

select Field1,Field2 from tableName union select '*' as Field1, 'All' as Field2 from tableName;

 


Ihr Partner für App- & Webentwicklung sowie KI

Suchen Sie einen erfahrenen Partner für Ihre App-Idee, eine moderne Webanwendung oder individuelle KI-Lösungen? Die DATUREX GmbH aus Dresden unterstützt Sie bei der Realisierung Ihrer digitalen Projekte – sicher, skalierbar und mit höchstem Fokus auf Datenschutz. Kontaktieren Sie uns jetzt für ein kostenloses Beratungsgespräch.

IT-Lösungen

Erstberatung anfragen

KI-Lösungen der DATUREX GmbH

→ Alle KI-Lösungen entdecken

App entwickeln lassen — regional oder remote?

Als App-Agentur in Dresden entwickeln wir native iOS/Android- und Cross-Platform-Apps für KMU, Startups und Konzerne. Von der UI/UX-Konzeption bis zum App-Store-Launch — Festpreis ab 15.000 €.

→ App-Entwicklung Dresden anfragen
📞 0351 / 79 59 35 13 Projekt besprechen