|
Long Island Lune -> RE: Updating a Record Problem (8/5/2002 19:10:57)
|
Rich, You wrote; [I added this <%=request(" ID" )%> to the top of 2 and 3. Since I see the record number in both of those does that mean they are being passed along?] YES, they are being passed. If you see them, then the transfer is working and the variable was passed to each page. It' s when you DON' T see them, that something is wrong. I looked at your site and saw the value in the text edit-field. So it is being passed. Hidden Fields: YES, just set the Font and Border colors of the test edit-field to the color WHITE and they will be invisible to your site surfers. When your doing testing, then set them to BLACK so you can see them. Once your done testing, set them back to WHITE and they will be invisilbe. To do this: Just double click the test edit-field and in the " Text Box Properties" dialog box, click the " Style" button and you will see Font and Border entires. Change their colors to white. Keep in mind: When your passing a field, to make them hidden, all you do is set their colors to white. The only thing that changes is the border and font colors. That' s what makes it HIDDEN. Everything else stays the same On page 2, assign a value to " Completed" . Yes or No, 1 or 0. Whatever. Pass it to page three also. Remember, you have to assign it the value you want placed in the database field " Completed" . Do you know how to do that??? Also, Maybe you should create a second text edit-field on page 3 so you can SEE the value coming into page three. Give it the name: completed Give it the initial value: <%=request(" completed" )%> This will probably solve the problem. So when you test your site and get to page 3, if you SEE the " completed" variable in the text edit-field, you' ll know it is there, being transferred correctly and you will be able to SEE it' s value. Now your SQL that states: SET completed = ' ::completed::' will HAVE a value in ::completed:: to work in the database. Try this. LLL
|
|
|
|