Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Customer and Customer activity file

 
tanaka ryouichi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.
I have a customer record and its associated customer activity records.
One customer has typically 1000 or 1500 activity records associated with.
Customer record also has last activity date to be updated whenever we have updated the activity file.

My question is everytime I read a customer record, activity files are read (just id). But I don't want to read activity record when I'm just updating customer record.

Also, when I'm inserting a new activity record to customer, I just want to add a activity record and don't want to read whole records.

How is everyone getting around this?

Thanks!
 
permaculture is a more symbiotic relationship with nature so I can be even lazier. Read tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!