close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Text field blank in Update admin page

Thread began 7/26/2018 4:52 pm by tmcbinc99963 | Last modified 8/02/2018 4:04 pm by Ray Borduin | 124 views | 4 replies |

tmcbinc99963

Text field blank in Update admin page

I've inserted records into a database using an admin insert page. The records insert fine. When I go to the Update admin page, the Testimonial Company field is blank.

Insert Single Record server behavior setup:
General tab, a 'WA_TestimCompany' session variable was created.
Binding tab, I used the Insert_Sharp_Default > TestimCo (text field name).

Update Single Record server behavior setup:
General Tab value is set to the 'WA_TestimCompany' session variable.
Binding tab, I used the Insert_Sharp_Default > TestimCo (text field name).

This is the same way the other working text fields are set up. What am I missing?

Files attached.

Sign in to reply to this post

Ray BorduinWebAssist

It looks like you aren't filtering your TestimCo table with the $_GET["ID"] value... you just have:
"SELECT * FROM Testim_company"

You are going to have to filter that recordset if you want to return the row associated with the record being viewed.

Sign in to reply to this post

tmcbinc99963

Tried filtering using the following options:

• TestCo_ID = session variable > WA_TestimCompany
• TestCo_ID = URL Parameter > TestCo_ID
• TestCo_ID = form variable > WA_TestimCompany
• TestCo_ID = session variable > TestCo_ID

I expected the first session variable option to work, but not the others.

As a last resort, tried switching the recordset to the 'prod' table and INNER JOIN the Testim_company table in order to use the $_GET["ID"] runtime value.

All options returned a blank field as before, even after clearing history, emptying cache and restarting browser.

Sign in to reply to this post

Ray BorduinWebAssist

I would think you could filter it by the same $_GET["ID"] variable. I would also think that an INNER JOIN would work if you used the correct column names and then updated the recordset name when referencing the values.

Sign in to reply to this post

tmcbinc99963

This post has been deleted.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...