Announcement

Collapse
No announcement yet.

Inserting a new record

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Inserting a new record

    Hello I have an editable grid form that has a Where Customer_ID = [V_Customer_ID] on load

    That works no problem. The problem is when I do a new record and save it I need the Customer_ID to be populated with the [V_Customer_ID] also and I cant seem to figure out how to do that.

  • #2
    The easyest way is to put a tiny line of php in the onvalidate event:

    {Customer_ID}=[V_Customer_ID];
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Another way: Form Settings / Edit Fields / DB value (insert) => Defined Value => [V_Customer_ID]
      Best regards: - Reinhard -

      I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

      Comment

      Working...
      X