RE: [BULK] Re: [WebDNA] Can WebDNA corrupt a db?
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 108064
interpreted = N
texte = Select column ...format cell as text and then import your DB. The super longstring will present correctly withut any need fr alphabets in it.Cheers TDn-----Original Message-----From: Eddie Z [mailto:eddie@thinksite.com] Sent: Wednesday, January 11, 2012 02:19To: talk@webdna.usSubject: Re: [BULK] Re: [WebDNA] Can WebDNA corrupt a db?Importance: LowOk, since the Excel subject came up today, I started looking into it for thefirst time in years. Turns out Excel can't open numbers over 15 characters.You can trick Excel into thinking the number is text by wrapping it inquotes or putting a non-numerical character in front of it.So now I have two options:Make sure the cart number is 15 characters or less, or I place a randomletter in front of all of my cart numbers. I don't care for the quotes idea.Can the [cart] variable be altered to 15 characters or less? I assume Icould do it with [getchars], but I'm not sure if it would still remainunique.Is there a downfall to having a letter in front of my cart number, likeR162389472337495033? The only thing I can think of is that it may effectsome [math] code.On 1/10/12 12:00 PM, "Eddie Zelhofer"
wrote:> I've tried everything, but I'm not an expert Excel user by any means. > If I open in Excel a cart number looks like this: 1.06391E+16 instead > of 10639064155219361. If I change the formatting on the cell, the > closest I can get to the actual cart number is 10639064155219300. The > first 15 characters are correct, but it goes to zeros after that. So > unless there's some sort of setting that can be done before I open the > file, I don't know how this is possible.> > This really would come in handy for me if anyone out there knows how I > could get around this issue.> > Eddie> > > On 1/10/12 11:33 AM, "Donovan Brooke" wrote:> >> Eddie Z wrote:>>> I only use a text editor (BBEdit) for my dbs. I've never figured out >>> how to keep Excel from truncating my [cart] numbers when opening a >>> db text file for the first time though. If there's a secret to that I'dlike to know it.>>> >>> Eddie>> >> It's a preference setting on the column. (format cell if remember >> right)>> >> Donovan>> > > > ---------------------------------------------------------> This message is sent to you because you are subscribed to the mailing > list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed to the mailing list.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
Select column ...format cell as text and then import your DB. The super longstring will present correctly withut any need fr alphabets in it.Cheers TDn-----Original Message-----From: Eddie Z [mailto:eddie@thinksite.com] Sent: Wednesday, January 11, 2012 02:19To: talk@webdna.usSubject: Re: [BULK] Re: [WebDNA] Can WebDNA corrupt a db?Importance: LowOk, since the Excel subject came up today, I started looking into it for thefirst time in years. Turns out Excel can't open numbers over 15 characters.You can trick Excel into thinking the number is text by wrapping it inquotes or putting a non-numerical character in front of it.So now I have two options:Make sure the cart number is 15 characters or less, or I place a randomletter in front of all of my cart numbers. I don't care for the quotes idea.Can the [cart] variable be altered to 15 characters or less? I assume Icould do it with [getchars], but I'm not sure if it would still remainunique.Is there a downfall to having a letter in front of my cart number, likeR162389472337495033? The only thing I can think of is that it may effectsome [math] code.On 1/10/12 12:00 PM, "Eddie Zelhofer" wrote:> I've tried everything, but I'm not an expert Excel user by any means. > If I open in Excel a cart number looks like this: 1.06391E+16 instead > of 10639064155219361. If I change the formatting on the cell, the > closest I can get to the actual cart number is 10639064155219300. The > first 15 characters are correct, but it goes to zeros after that. So > unless there's some sort of setting that can be done before I open the > file, I don't know how this is possible.> > This really would come in handy for me if anyone out there knows how I > could get around this issue.> > Eddie> > > On 1/10/12 11:33 AM, "Donovan Brooke" wrote:> >> Eddie Z wrote:>>> I only use a text editor (BBEdit) for my dbs. I've never figured out >>> how to keep Excel from truncating my [cart] numbers when opening a >>> db text file for the first time though. If there's a secret to that I'dlike to know it.>>> >>> Eddie>> >> It's a preference setting on the column. (format cell if remember >> right)>> >> Donovan>> > > > ---------------------------------------------------------> This message is sent to you because you are subscribed to the mailing > list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us---------------------------------------------------------This message is sent to you because you are subscribed to the mailing list.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
"Terry Nair"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
PIXO support (1997)
WebDNA on Intel Mac? (2006)
Auth.net and SIM (2003)
RE: ANother SHOWIF problem (1997)
[WebDNA] ONLY the FIRST continuous run of numeric chars? (2008)
[listfiles] problems (1997)
WC 2.0 frames feature (1997)
Re:Searching for ALL / empty form field (1997)
Re:Emailer and encryption (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
math on date? (1997)
code to phantom spacing (2001)
[INCLUDE] Limitations-Now I see (1998)
PCS Emailer's role ? (1997)
[format] (1998)
Db design question (relational vs. flat?) (1998)
Searching by Date Comparison (2000)
2 easy questions re: [showif] and [sendmail] (1997)
WebCat for mass emailings (1997)
PayFlow Pro - Changing the Amount that was Authorized (2003)