Récup valeurs d'un champ Access
cicubea
-
Sergio63 Messages postés 53 Statut Membre -
Sergio63 Messages postés 53 Statut Membre -
HELP RECUPERER LA VALEUR D'UN CHAMP DE FORMULAIRE
j'ai un formulaire clients avec un bouton de commande qui ouvre un formulaire commandes en mode ajout des données, type:
Private Sub Commandes_Click()
On Error GoTo Err_Commandes_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Commandes"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.GoToRecord , , acNewRec
Exit_Commandes_Click:
Exit Sub
Err_Commandes_Click:
MsgBox Err.Description
Resume Exit_Commandes_Click
End Sub
J'aimerai affecter au champ [RéfClient] la valeur [RéfClient]du formulaire d'origine "Clients" - comment faire? Impossible de trouver... MERCI DE VOTRE AIDE
j'ai un formulaire clients avec un bouton de commande qui ouvre un formulaire commandes en mode ajout des données, type:
Private Sub Commandes_Click()
On Error GoTo Err_Commandes_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Commandes"
DoCmd.OpenForm stDocName, , , stLinkCriteria
DoCmd.GoToRecord , , acNewRec
Exit_Commandes_Click:
Exit Sub
Err_Commandes_Click:
MsgBox Err.Description
Resume Exit_Commandes_Click
End Sub
J'aimerai affecter au champ [RéfClient] la valeur [RéfClient]du formulaire d'origine "Clients" - comment faire? Impossible de trouver... MERCI DE VOTRE AIDE
Configuration: Windows XP Internet Explorer 6.0
A voir également:
- Récup valeurs d'un champ Access
- Access appdata - Guide
- Le nom du champ de tableau croisé dynamique n'est pas valide - Forum Excel
- Restructuration base de données access - Forum Access
- Migration base access vers sql server - Télécharger - Gestion de données
- Get access - Télécharger - Récupération de données