NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: DonRidley on July 29, 2009, 10:13:35 AM
-
This is frustrating the crap out of me. I know it's something simple but I cannot - for the life of me - firgure it out. I've went back and forth from the examples and the docs and I just can't get it.
Okay...
I have a update form. On that page I have a child browse. When I try to enter a record into the child browse, the field that relates the child to the parent is not being primed properly. I tried:
Under Priming in the Update Form
PHO:RecordNumber = p_web.GetValue('HOT:RecordNumber') but that is not working.
Parent Table is: HotSheet
Parent Key: : HOTKeyRecordNumber
Child Table is: Photos
Foreign Key: PHO:KeyRecordNumber
It is one-to-many.
I don't know folks what I'm doing wrong.....
Don
-
Try
PHO:RecordNumber = p_web.GSV('HOT:RecordNumber')
When stuff like this is not working for me I put a debug message in for
p_web.GetValue('HOT:RecordNumber')
and
p_web.GSV('HOT:RecordNumber')
to see what value they both return
-
Thank you Kevin. I'll try that out as soon as I get to my development machine.
Don
-
Hey Kevin, worked like a charm! Thank you.
-
Hi Don,
When data base fields are involved, ALLWAYS use GSV!!!
GetValue is for parameters only.
Rene
-
Hello Rene,
Thank you. Still going uphill on the Web Server learning curve ;D .