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!