NetTalk Central

Author Topic: Dropdown Question  (Read 5345 times)

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Dropdown Question
« on: October 30, 2018, 07:13:29 PM »
Is possible add more fields assignment after select a record in dropdown like a look up??

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Dropdown Question
« Reply #1 on: November 04, 2018, 03:16:36 AM »
Take a look at NetTalk user group webinar 109.

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: Dropdown Question
« Reply #2 on: November 04, 2018, 06:26:15 AM »
thanks DonRidley but i'm created my own solution, this video don't have a solution for dropbox only change the dropbox to string and i need a dropbox.

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: Dropdown Question
« Reply #3 on: November 04, 2018, 08:19:35 PM »
Hi,

Can't you just tick "[ ] Send new value to server" and do it there?

Regards
Bill

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Dropdown Question
« Reply #4 on: November 04, 2018, 10:15:12 PM »
>> Can't you just tick "[ ] Send new value to server" and do it there?

yes, it would be done server side. You need to do it in the ValidateValue routine.
a) open the related table and fetch the record
b) make whatever additional you want - but make sure it's in the session Value - ie your goal here is to set additional fields and their session values.

cheers
Bruce

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: Dropdown Question
« Reply #5 on: November 05, 2018, 04:46:34 AM »
Thanks,my solution is in server side like mentioned