Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing The Buffer
Message
 
À
19/11/1999 14:58:57
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00293090
Message ID:
00293280
Vues:
18
PMFJI, Just bind the text box to the field that contains the po number.

Assuming the default value of the PO# field is GetNextKey('MyTable') or something, when you APPEND BLANK the new record will contain the po number.

In your text box change the .controlsource property to point at the table.field that holds the po number.

-or-

Do it by hand with: thisform.MyTextbox.value = GetNextKey('MyTable')

>I'm with you on that part. I guess what i'm asking is how to show the appended record's ID in a text box on the form. When this form is used, I will be on the phone with my customers and will need to give them this number. I'm fairly new to foxpro programming and don't know if i can accomplish this with a simple statement or if I need to create some kind of modified form to pull from.
>
>
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform