>Just to combine the responses:
>"What exactly do you want to display in this EditBox?Names of your fields?Name of the field and the value of the field in the first record?"
>
>yes i would like all field name and values in the record i select
>
>"If you want to create a form for editing, then I strongly suggest you to forget doing it in code. You would not go far with this approach. You need to design your form visually.
>The simplest and quickest way to build a form is to start a new form, drag a table into its DataEnvironment and then drag fields from the table into the form (it would automatically create a label and a texbox for the fields).
>I'm not saying it's the best way, but a very quick one."
>
>Yes i was afraid this would be your end approach - i've spent way too much time trying to get that to work. I can design the form visually I get that - and i can populate it with data - but recalling the form as .scx in the code i am using in my textbox is my brickwall.
>perhaps there s way to use your suggested controlsource in combination with the .scx??
>
>if not i can go back to opening a simple window and issue edit command.
>
>thanks naomi
>
>k
Karen,
I suggest you to start a new thread.
1. Design the form visually with all textboxes and labels.
2. When you finished designing the form (no code yet), you can run it from the main program with
do form MyFormName -- make the form modal for now.
In order to navigate to different records you would need navigation buttons and some simple code in them. I'll give you a link to the relevant threads later.
If it's not broken, fix it until it is.
My Blog