Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing The Buffer
Message
De
19/11/1999 15:43:37
Jorge Haro
Independent Consultant
Juarez, Mexique
 
 
À
19/11/1999 15:41:25
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:
00293290
Vues:
27
LOL!

>Roi,
>
>Sometimes the most painfully easy things go overlooked. That's exactly what I was looking for. Thanks. (However, I thought the controlsource was the property of the object that says where to SAVE something. I guess there's more to it than that) Nevertheless, it worked. My thanks to everyone.
>
>JD
>
>
>>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.
>>>
>>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform