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.

추천된 기술

이 콘테스트의 최상위 응모작

다른 응모작

공개 설명 게시판

메시지가 아직 없습니다.

콘테스트를 시작하는 방법

  • 콘테스트를 게시하세요

    콘테스트 등록 신속하고 간편한 절차

  • 응모작 접수

    응모작 접수 세계적인 참가 범위

  • 최우수 응모작 선정

    최우수 응모작 선정 자료 파일의 다운로드(초간단!)

콘테스트 바로 등록 (또는, 즉시 회원 가입!)