Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » Database Application UI: id to name translation
Database Application UI: id to name translation [message #23451] Tue, 20 October 2009 21:26 Go to next message
Lance is currently offline  Lance
Messages: 347
Registered: March 2007
Senior Member

It's a very typical use in database applications so I figure this feature might be already in existence in U++. Example:

Table: account
id  code  name ...
---------------
1   1001  cash
2   1002  bank deposit
...


Table: entry:

id    account_id  ....
---------------------
1      1 (cash)
2      2 (bank)
3      1 (cash)
....



In the user interface, it will be ideal if account can be picked from a combo (with items such as [1001] cash / [1002] bank deposit]. Then the end user can pick an account from the dropdown list of a combobox, and when saved, the corresponding account_id is actually store in the entry table.

Is there such a control in Upp? Or how do you typical implement this?

Thanks,
Lance
Re: Database Application UI: id to name translation [message #23457 is a reply to message #23451] Wed, 21 October 2009 05:50 Go to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 736
Registered: January 2008
Location: Moscow, Russia
Contributor

There are several ways. When editing to fill in the table drop-down list from another table.

But to recommend something specific, you need to describe in detail what has been done.


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Previous Topic: Proposal: quick search inside topic
Next Topic: navigator search should look into class names too
Goto Forum:
  


Current Time: Thu Nov 21 20:42:50 CET 2019

Total time taken to generate the page: 0.01419 seconds