×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Record Edit Form

Record Edit Form

Record Edit Form

(OP)
We're looking for a way to select a record from a list of records on a search form which will then open a record detail form. The issue is having the record detail form display the current values for the fields, but also be a drop-down with other relevant options for each field. For example, for a Category field, when the detail form displays, the category field would display "Loans" (because that is the current value of the record), but if you select the drop-down you could select "Loans", "Investments" or "Services". There about 30 of these fields on the record detail form where I need to show the current data, but allow a user to select other possible values. Using Visual Studio 2013 on Windows 2012 servers with SQL Server 2014. Any ideas would be greatly appreciated!

RE: Record Edit Form

I do this by placing a combo box behind the textbox with just the arrow section being visible. When the user clicks the arrow I make the textbox invisible. When the user leaves the combo I set the value of the textbox to the combo box value. You can also bind them to the same column of a data table. Or you could just use combo boxes for all of them. I use the first approach when the user might not have edit permission. If no edit permission I don't show the combo box and make the text box read only.

Auguy
Sylvania/Toledo Ohio

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close