NetTalk Central

Author Topic: Trying to duplicate an existing Clarion process in NTW  (Read 3196 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Trying to duplicate an existing Clarion process in NTW
« on: June 18, 2012, 07:59:30 AM »
In my Standard Clarion application I have a situation where a user enters a record. One of the fields is a trip number which has a foreign key parent record. Based on certain criteria the record is either
1.accepted- the waybill number does not exist, or
2. a message saying that the record is a duplicate, reenter or
3. a message saying does the user want to programmatically change the trip number since a waybill with the entered number already exists connected to a different trip.
1. is obviously no problem

2. This code handles it:  p_web.Script('alert("This waybill has been delivered.Change the number");')

3. Any advice on how to query the user if he wants to change the trip field and then get back a confirmation which would tell me to either change the trip field of the original record or tell the user to change the waybill number depending on his response
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Trying to duplicate an existing Clarion process in NTW
« Reply #1 on: June 18, 2012, 03:16:16 PM »
I think I would add a radio field with the choices and unhide if you find a dup.

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Trying to duplicate an existing Clarion process in NTW
« Reply #2 on: June 18, 2012, 09:54:03 PM »
Thanks
Sounds like a plan. I'll give it a go
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186