Format a field in an MS Access database

  • Állapot: Closed
  • Díj: $10
  • Beérkezett pályamű: 1

A verseny összegzése

Hello,
We have a database under MS Access with a single table. We would like to have a specific format for a given field.
The "Card_No" field contains the card number. This number must have the following characteristics:
1. Being unique
2. Composed of 9 digits
3. The format "XXXXXXXAA" where AA represents the value of the field "ID_Ville" (If ID_Ville = 1 then AA = 01, if ID_Ville = 11, then AA = 11). X represents a number between 0 and 9)
4. Generate automatically

The "No_Carte_Print" field contains the value of the "No_Carte" field in the format: "X XXX XXX AA".
The first line of the table illustrates the need.

In French language:
Bonjour,
Nous avons une base données sous MS Acces avec un seule table. Nous aimerons avoir un format spécifique pour un champ donné.
Le champ "No_Carte" contient le numéro de carte. Ce numéro doit avoir les caractéristique suivantes:
1. Etre unique
2. Composé de 9 chiffres
3. Le format "XXXXXXXAA" où AA représente le la valeur du champs "ID_Ville" (Si ID_Ville = 1 alors AA = 01, si ID_Ville = 11, alors AA = 11). X représente un chiffre compris entre 0 et 9)
4. Générer automatiquement

Le champs "No_Carte_Print" contient la valeur du champs "No_Carte" dans le format : "X XXX XXX AA".
La première ligne de la table illustre le besoin.

Ajánlott készségek

A verseny legjobb pályaművei

További pályaművek

Nyilvános pontosítófelület

Még nincsenek üzenetek.

Így vágjon bele a versenyekbe

  • Tegye közzé a versenyét

    Indítson egy versenyt! Gyors és könnyű

  • Pályaművek százai várják

    Kapjon akár több száz pályaművet A világ minden szegletéből

  • Díjazza a legjobb pályázatot

    Díjazza a legjobb pályázatot Töltse le a fájlokat - csak egy kattintás!

Projekt közzététele vagy csatlakozzon hozzánk még ma!