Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Use a table with only rdcaccount_id as primary key
Re: Use a table with only rdcaccount_id as primary key [message #1800 is a reply to message #1794] Fri, 07 November 2008 11:31 Go to previous message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
Thanks Tony, your reply has given me an idea for a solution that will work in the way I want. I had already taken care of the user not being able to add a second record through validation when the 'New' button was pressed, preventing further processing and giving an error message.

I think the solution I will use is to add a second field as primary key along with rdcaccount_id to comply with the requirements of this functionality. But I will populate it from rdcaccount_id within the code (i.e. an equal value). This means each account can have only one record (they don't need to see the value of the primary key) and I know what the value is (from rdcaccount_id) to be able to retrieve it.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How do you activate the new Google Style Pagination
Next Topic: Where does <imagename> search for the image in pdf multi?
Goto Forum:
  


Current Time: Fri Sep 27 03:22:10 EDT 2024

Total time taken to generate the page: 0.19061 seconds