Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Signed QR Code data

Status
Not open for further replies.

newtofoxpro

Programmer
Sep 16, 2007
301
IN
E-invoice. Signed QR Code data string is approx 900+ character. I am looking for best way to store/save in DBF free tables

Thanks in advance
 
Depends on the nature of that string, not just the length. For example, VFP differentiates "memo" and "memo (binary)" and then later also introduced blob.

And you could also need another recommendation in case you need DBF access from Perl or Python via a module or lib for old DBF types on a Linux server. The free table format only compares to Fox 2.6 format in not having a DBC backlink in the header, but the old 2.6 format and the VFP3+ free table formats differ in more aspects.

Chriss
 
yeah, what is blob exactly?
I came from FoxPro 2.6 for DOS and not familiar with the concept.
 
You could break it into parts and avoid the memo (9 fields of 100 characters)

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
 
yeah, what is blob exactly?

It's a data type designed for storing long strings of binary data, such as images or audio data (the letters stand for binary large object). I wouldn't worry about them.

You said that your data consists of about 900 characters. If that's right, you can store it in a memo field. A memo field works in almost exactly the same way as a character field. So you can use REPLACE or INSERT to get the data into the field, and you can access the data just as you would a character field.

I'm simplifying this description slightly. There are some differences between character and memo data, and their internal storage is quite different. But you don't need to worry about any that for now.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top