473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

select aus einer Tabelle in ein Textfeld

Hallo Ihr Experten,

ich möchte aus einem Formular aus, eine bereits vorhandene
Laufendenummer aus einer Tabelle.spalte auslese und dazu noch eine 1
addiere und dann das Ergebnis in ein Textfeld auf diesem Formular
eingeben! Danach werden weitere Daten von dem User eingegeben und dann
werden alle diese Daten (die neue Laufendenummer auch) in der gleichen
Tabelle als neuer Datensatz gespeichert.

Ich denke an:
SELECT Max([laufendenummer])+1 AS nummer FROM tabelle;

Wie kann ich das Ergebnis dieses Statments in einem Formular und
Textfeld umleiten?

Noch weitere Vorschläge?
PS: Es handelt sich dabei nicht um eine Primärschlüssel!
Nov 13 '05 #1
1 5200
am**@have-it.de (amir) wrote in message news:<30**************************@posting.google. com>...
Hallo Ihr Experten,

ich möchte aus einem Formular aus, eine bereits vorhandene
Laufendenummer aus einer Tabelle.spalte auslese und dazu noch eine 1
addiere und dann das Ergebnis in ein Textfeld auf diesem Formular
eingeben! Danach werden weitere Daten von dem User eingegeben und dann
werden alle diese Daten (die neue Laufendenummer auch) in der gleichen
Tabelle als neuer Datensatz gespeichert.

Ich denke an:
SELECT Max([laufendenummer])+1 AS nummer FROM tabelle;

Wie kann ich das Ergebnis dieses Statments in einem Formular und
Textfeld umleiten?

Noch weitere Vorschläge?
PS: Es handelt sich dabei nicht um eine Primärschlüssel!


=DMax("[laufendenummer]","[tabelle]","[laufendenummer] IS NOT NULL")+1

James A. Fortune
Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Lt Müller | last post by:
hallo, zwecks der Übersichtlichkeit bei der Ausgabe von DB Daten in eine Tabelle würde ich gerne jede zweite Zeile andersfarbig markieren. Die Daten werden über eine while Schleife ausgegeben. ...
1
by: heynem | last post by:
Hallo alle zusammen, mit dem Problenm der riesigen neuen Tabelle bin ich noch nicht sonderlich weitergekommen. Aber ich glaube/hoffe, daas ich auf dem richtigen Weg bin. Seit Freitag habe ich...
0
by: amir | last post by:
Hallo Ihr Experten, ich habe die Frage schon mal gepostet. Habe aber leider immer keine passende Antwort erhalten :( Vielleicht sollte ich noch sagen, dass ich keine Lösung auf VB-Basis suche!...
0
by: Francesco | last post by:
Ciao a tutti... Premetto che non sono molto pratico di MySql (anche se ho già fatto qualche piccola applicazione che sfrutta questo DBMS) Ho un problema da risolvere molto importante. Ho un...
1
by: David Fedier | last post by:
hallo bei einer dll die ich am schreiben bin benutze ich bei einer funktion ein struct als rückgabewert. und wenn ich diese dll in einem anderen projekt einbinden will bekomme ich keinen...
3
by: Maximilian Hofer | last post by:
Hallo NG, wie kann man ein Bild in einer Datenbank speichern d.H. Ich habe in meinen Progrmm eine PictureBox einem mit einem Image, und ich m;chte diese Daten in einer DB speichern. Wie...
2
by: Marchetto | last post by:
Ciao a tutti, ho trovato molte indicazioni riguardo al seguente problema, ma nessuna ha sortito gli effetti sperati. Ho un db Access con alcune tabelle collegate (file di testo). Da access...
1
by: G.Weinerth | last post by:
Hallo zusammen, ich suche ein Ereignis, das ausgelöst wird, wenn eine Access-Datenbank inaktiv wird. (Access 2003) Hintergrund ist: Anwender macht ACCESS-Datenbank auf und arbeitet damit,...
1
by: Patrick Roos | last post by:
Hallo zusammen, Immer wenn ich per Select Statement ( SELECT ObjectId FROM tblArtikel WHERE ArtNr = paramArtNr ) (paramArtNr ist ein String Parameter) über einen TableAdapter absetze bekomme ich...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.