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

Hello, problems record insert form inserted data displayed, only repeated description exactly write

Thread began 1/15/2019 10:35 am by anonymous | Last modified 1/28/2019 12:34 pm by Ray Borduin | 178 views | 25 replies |

anonymous

Hello, problems record insert form inserted data displayed, only repeated description exactly write

Hello,
I am having problems with the record insert form. The inserted data is not displayed, only the repeated description.
What exactly do I have to write in "Save id in session as"? I need a table to insert the records. How is this associated with the corresponding values?

Sign in to reply to this post

Ray BorduinWebAssist

The save in session value is to save the inserted primary key. It is used to keep track of the value in case you are inserting into a related table and want to get the newly inserted id. I don't think it is related to your issue.

Please describe the issue you are having in detail and I can try to help. If you can give me a URL and FTP access then I could debug what exactly is going wrong.

Sign in to reply to this post

Ray BorduinWebAssist

I was thinking about this more... I think the issue is probably that in your Insert Record server behavior you have bound the insert value to the Recordset instead of the Form values.

Sign in to reply to this post

anonymous

update record

What exactly do I have to register with:
Lookup column, column type and lookup value?

Sign in to reply to this post

anonymous

delete record

What exactly do I have to write in:
Trigger, lookup column, column type, lookup value?

Sign in to reply to this post

Ray BorduinWebAssist

I'd need FTP access and steps to get to the update or delete page live to debug this and tell you why it doesn't work and what settings need to be changed.

Trigger: whatever event you want to start the update or delete (usually a submit button press)
Lookup Column: Primary Key column for your table
Lookup Value: usually a url parameter using <?php echo($_GET["paramname"]); ?> ... could also be a hidden form element value if you want

Sign in to reply to this post

anonymous

update and delet record

update and delet record

Sign in to reply to this post

Ray BorduinWebAssist

Please attach copies of the pages you are working on instead of copy/pasting their content. That way I can open them in Dreamweaver. Also, please post once per issue instead of combining two pages, so we can both keep track of what we are talking about.

For the update page you shouldn't have bound a value for the ID field... this line should be deleted:

$UpdateQuery->bindColumn("ID", "i", "".($termineedit->getColumnVal("ID")) ."", "WA_DEFAULT");

You aren't updating the ID... it stays the same.

Your recordsets on both pages aren't filtered. Don't even try to update or delete the record before you can link to it and display it on both pages.

The Delete page it looks like you don't have a value specified for the lookup value. If you link to the page like: deletepage.php?ID=1

Then you should be filtering the recordset with <?php echo($_GET["ID"]); ?>

And then you should use that same value as the lookup value for your update and delete.

Sign in to reply to this post

anonymous

update and delet record

Originally Said By: Ray Borduin
  Please attach copies of the pages you are working on instead of copy/pasting their content. That way I can open them in Dreamweaver. Also, please post once per issue instead of combining two pages, so we can both keep track of what we are talking about.

For the update page you shouldn't have bound a value for the ID field... this line should be deleted:

$UpdateQuery->bindColumn("ID", "i", "".($termineedit->getColumnVal("ID")) ."", "WA_DEFAULT");

You aren't updating the ID... it stays the same.

Your recordsets on both pages aren't filtered. Don't even try to update or delete the record before you can link to it and display it on both pages.

The Delete page it looks like you don't have a value specified for the lookup value. If you link to the page like: deletepage.php?ID=1

Then you should be filtering the recordset with <?php echo($_GET["ID"]); ?>

And then you should use that same value as the lookup value for your update and delete.  



Hello,
Thanks for the quick response - I've tried to follow your instructions, unfortunately I'm not a programmer and therefore have these difficulties. When I filtered the ID, this error message came up:

SELECT * FROM Dates LIMIT -1,1
You have an error in your SQL syntax; MySQL server version for the right syntax to use near '-1,1' at line 1

and the page was no longer displayed or the ids were not counted. I admit that I'm overwhelmed by totol. I send by mail the Dreamweaverseiten, because I do not know how I could send the files otherwise ..... maybe you can help me yes. I'll probably put the wrong values in the tables.

Sign in to reply to this post

Ray BorduinWebAssist

Use the "+ Manage Attachments" button on this page when replying to my message to add the pages you have been working on so I can look at what you have done and comment on what you might be able to do to fix it.

Sign in to reply to this post
loading

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...