Format a field in an MS Access database

  • Stare: Closed
  • Premiu: $10
  • Intrări primite: 1

Sumarul concursului

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.

Aptitudinile recomandate

Cele mai bune intrări pentru acest concurs

Vezi mai multe intrări

Panoul public de clarificare

Momentan, nu există mesaje.

Cum să începi concursurile

  • Postează-ţi concursul

    Postează-ți concursul Rapid și ușor

  • Obține o mulțime de intrări

    Obține o mulțime de intrări Din întreaga lume

  • Premiază cea mai bună intrare

    Premiază cea mai bună intrare Descarcă ușor fișierele

Postează un concurs chiar acum sau înregistrează-te astăzi!