Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Tue Jul 17, 2018 8:25 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: what is the best way to save the PrinterSetup.SetupString
PostPosted: Sat Nov 17, 2012 7:13 pm 
Offline
User avatar

Joined: Wed Sep 20, 2006 5:12 pm
Posts: 680
Location: Puerto Rico
what is the best way to save the PrinterSetup.SetupString to the RS Db.

:idea:

_________________
Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010)
Mac Mini with Lion v10.7.5 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user
my Hobbies R/C Turbines Jets Models


Top
 Profile  
Reply with quote  
 Post subject: Re: what is the best way to save the PrinterSetup.SetupStrin
PostPosted: Sun Nov 18, 2012 2:08 am 
Offline

Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12388
Location: Portland, OR USA
Define "best". Best in terms of conservation of space? That's probably the hardest to program. Best in terms of ease of programming? Which do you want?

There are at least 3 approaches:
1) Save it as a binary string in a Blob column.
2) HexEncode it and save it as a string.
3) Base64Encode it and save it as a string.

Each has pluses and minuses. None are completely wrong or right. Choose the one you're most comfortable with.


Top
 Profile  
Reply with quote  
 Post subject: Re: what is the best way to save the PrinterSetup.SetupStrin
PostPosted: Sun Nov 18, 2012 10:38 am 
Offline
User avatar

Joined: Wed Sep 20, 2006 5:12 pm
Posts: 680
Location: Puerto Rico
Ok
Thanks

_________________
Thanks for any contribution and God blesses all (I start Using RS in 10/12/2010)
Mac Mini with Lion v10.7.5 and Real Studio 2012r1 Pro And Windows 7 RS2012r1 Personal and Linux RS2012r1 Personal Register user
my Hobbies R/C Turbines Jets Models


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group