Results 1 to 2 of 2

Thread: update a field based on concatinating other fields

  1. #1
    Brian Guest

    update a field based on concatinating other fields

    Is it possible to create/update a field in a record based on the concatination of 2 other editable fields in the same record. I don't want to display the concatinated field to the user.

  2. #2
    John Guest

    update a field based on concatinating other fields (reply)


    Hi Brian,

    One way to accomplish this would be to do the update "after the fact". You can simply add a dbSilentCmdText command into your ASP code and when the user has pressed the Add/Update button silently concatenate the fields you wish into a new string and add it to the record with a SQL "UPDATE" command.

    We have an example of dbSilentCmdText at: http://208.196.181.86/apps/ example #58.

    You'll need to see what the "last click" was. See example 13b for an example of this.

    Thanks,
    John


    ------------
    Brian at 3/8/01 6:31:50 PM

    Is it possible to create/update a field in a record based on the concatination of 2 other editable fields in the same record. I don't want to display the concatinated field to the user.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •