Jump to content

Simple default of drop-down listbox


BarryC

This topic is 8219 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

How Can I make a drop down listbox on a data entry form default to the last chosen entry such:

User clicks on addnew.

User picks Company Code from a drop-down list.

User finishes that record clicks add new again.

This time I want that drop down list to default to the value from the previous record so my user can just tab through the field.

Link to comment
Share on other sites

Probably a better way to do this but it's the first idea that popped in my head smile.gif" border="0

Create a global field (gLastValue). When the user is finished adding the new record, copy the Company Code into gLastValue. When the user wants to add a new record, copy the gLastValue into the Company Code.

Link to comment
Share on other sites

This topic is 8219 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.