Format a field in an MS Access database

  • 状态: Closed
  • 奖金: $10
  • 参赛作品已收到: 1

竞赛简介

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.

您还可能感兴趣的技能

此竞赛的顶尖作品

查看更多参赛作品

公共说明面板

还没有信息。

如何以竞赛开始

  • 发布您的竞赛

    发起您的竞赛 快速简单

  • 获取众多参赛作品

    获取大量参赛作品 来自世界各地

  • 悬赏最佳参赛作品

    悬赏最佳参赛作品 下载文件-简单!

立即发布竞赛 或者立即加入我们!