Appending a record and replacing fields with data

Topics: Developer Forum
Jan 5, 2013 at 8:48 PM
Edited Jan 6, 2013 at 10:10 PM

Hey Claude,

Working on my survey form using AVFP right now.

After I've done a submit of data, I understand it moves to the verify.htm stage.

Now in the prior page, I created some session variables and I have the post.

It looks to me like you are update those session values (not sure why) as per this example code.


* Update Session values from form






OK, so the next step I want to do is append blank to the posting table.

Do I simply do something like:


use table1 in 0
select table1
append blank

replace company with  oSession.VALUE("company",oRequest.FORM("company"))


Dan Baker

Jan 5, 2013 at 10:32 PM

No, it should be:

replace company with  oSession.VALUE("company") 

since oSession.VALUE will already have the value you gave it.  The second parameter to oSession.VALUE is only for when you want to add a new value to it.

Jan 6, 2013 at 7:15 PM
Edited Jan 7, 2013 at 12:31 AM

Thanks, Claude.  Moved a new issue to a new thread.


Jul 27, 2013 at 9:53 AM
I'm trying to understand what is on the server side and where this code is.
Jul 27, 2013 at 5:32 PM
Edited Jul 27, 2013 at 5:33 PM
"I'm trying to understand what is on the server side and where this code is. "

Did you get the demos to work?

You said you changed some of the code on the server side and it worked?

Did you find the VFP Controller prg?????

You seem to be asking a lot of questions in a scatter shot fashion and that' s not really a good way to make progress or friends around here...

You need to do some work, you need to find the examples and code, NOBODY IS GOING TO HOLD YOUR HAND HERE.
Jul 27, 2013 at 5:58 PM
I don't want anybody to hold my hand.
Jul 27, 2013 at 6:22 PM

Hi Claude,

I think you sent this message to the wrong person.

I did not post anything on codeplex recently.

Dan B.

Jul 27, 2013 at 6:25 PM
abigdreamer wrote:
I don't want anybody to hold my hand.
I wouldn't have mentioned if you hadn't explicitly asked in the e-mail you sent me:
User abigdreamer has contacted you through CodePlex using the Contact User form. Replying to this email will reply directly to the user. If you do not wish to allow >>being contacted, you may indicate so on your profile page.

The following is the message from abigdreamer:
"I need somebody to hold my hand as I navigate the ActiveVFP

I am lost and can't figure out where to start.


Jul 27, 2013 at 6:37 PM
Yup that's me.
Do not worry hand holding is over.