close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

MySQLi behaviors using Floating Point Numbers & Double where the column is an Integer

Thread began 2/12/2019 12:53 pm by TroyD | Last modified 2/13/2019 8:41 am by Ray Borduin | 315 views | 2 replies |

TroyD

MySQLi behaviors using Floating Point Numbers & Double where the column is an Integer

I'm curious about why each time I update an older behavior such as Update & Insert the new MySQLi version uses Floating point numbers as the type for the "Lookup column" ID and uses Double for the binding "Submit as:".

The columns being updated or inserted into, are int(11).
The conversion is working great and I can easily change it back to an int, but I was wondering if the extension was seeing something I am overlooking.

In most cases, the value is provided by a form field but sometimes it's a session. When I open the Update wizard and look in bindings, it shows int(11) in the type column but for each line it has Double selected instead of int. Do I have an issue somewhere I need to address? Would it even make a difference?

By the way, this has also happened when converting an older recordset that has a parameter compared to an id which is an integer. But this happens only occasionally.

Thanks,
TroyD

Sign in to reply to this post

Ray BorduinWebAssist

It shouldn't actually make a difference. I'll look into it though. I wasn't aware it was doing that. In the older recordset there was only "numeric" and "text", so when updating it doesn't really know what data type, so floating point and double (same thing) are the safest guess.

Sign in to reply to this post
Did this help? Tips are appreciated...

TroyD

Thanks Ray,

That makes sense to me. I can't imagine how you could make it work any differently that it does. I will simply adjust it if needed. The conversion has been working really well for recordsets, inserts and updates so this is minor. I was just making sure.

TroyD

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