close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Faulty recordset

Thread began 11/17/2010 8:15 am by nickj | Last modified 11/17/2010 11:01 am by Jason Byrnes | 790 views | 1 replies |

nickj

Faulty recordset

Her is a screen shot of a wizard built recordset. Notice the faulty Paramid_cme This happen just by opening the recordset from the pallet. Other times if I make a change to the recordset it will just create a new one which will be ignored because the old one is read last.

Sign in to reply to this post

Jason ByrnesWebAssist

This is an issue that occurs when using the underscore character in your column names.

Here is why the issue occurs:

When DataAssist Creates the recordset parameters, it uses the column name for the parameter.

the php variable name for the parameter gets written as:
$<parametername>_<recordsetname>

so for a column named user_id in the users table:
$paramuser_id_WADAusers

when Dreamweaver reads this it expect everything after the first underscore to be the recordset name, it sees the peramter name as:
paramuser

and the recordset name as
id_WADAusers


there are 2 workarounds for this issue:
1) Adopt the camelCase naming convention

2) Edit the code for the variable nams to remove the underscores, change:
$paramuser_id_WADAusers

to:
$paramuserid_WADAusers

Sign in to reply to this post

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