<div dir="ltr">Bob -<br><br>The borrowers table contains all the fields you're looking for, I think, with perhaps the exception of country. That shouldn't be a major limitation, if you record the Canadian's state as something recognizeable like "Ontario".<br>
<br>Here are the table fields.<br><br><span style="font-family: courier new,monospace;">mysql> describe borrowers;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">+---------------------+--------------+------+-----+---------+----------------+</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| Field | Type | Null | Key | Default | Extra |</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">+---------------------+--------------+------+-----+---------+----------------+</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| borrowernumber | int(11) | NO | PRI | NULL | auto_increment | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| cardnumber | varchar(16) | YES | UNI | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| surname | mediumtext | NO | | | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| firstname | text | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| title | mediumtext | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| othernames | mediumtext | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| initials | text | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| streetnumber | varchar(10) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| streettype | varchar(50) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| address | mediumtext | NO | | | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| address2 | text | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| city | mediumtext | NO | | | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| zipcode | varchar(25) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| email | mediumtext | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| phone | text | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| mobile | varchar(50) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| fax | mediumtext | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| emailpro | text | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| phonepro | text | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| B_streetnumber | varchar(10) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| B_streettype | varchar(50) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| B_address | varchar(100) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| B_city | mediumtext | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| B_zipcode | varchar(25) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| B_email | text | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| B_phone | mediumtext | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| dateofbirth | date | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| branchcode | varchar(10) | NO | MUL | | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| categorycode | varchar(10) | NO | MUL | | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| dateenrolled | date | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| dateexpiry | date | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| gonenoaddress | tinyint(1) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| lost | tinyint(1) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| debarred | tinyint(1) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| contactname | mediumtext | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| contactfirstname | text | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| contacttitle | text | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| guarantorid | int(11) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| borrowernotes | mediumtext | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| relationship | varchar(100) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| ethnicity | varchar(50) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| ethnotes | varchar(255) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| sex | varchar(1) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| password | varchar(30) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| flags | int(11) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| userid | varchar(30) | YES | MUL | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| opacnote | mediumtext | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| contactnote | varchar(255) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| sort1 | varchar(80) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| sort2 | varchar(80) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| altcontactfirstname | varchar(255) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| altcontactsurname | varchar(255) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| altcontactaddress1 | varchar(255) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| altcontactaddress2 | varchar(255) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| altcontactaddress3 | varchar(255) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| altcontactzipcode | varchar(50) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">| altcontactphone | varchar(50) | YES | | NULL | | </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">| smsalertnumber | varchar(50) | YES | | NULL | | </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">+---------------------+--------------+------+-----+---------+----------------+</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">58 rows in set (0.00 sec)</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;">The fields with NULL=NO are requried. Any additional fields that you cannot easily map yet, I suggest you incorporate into the "contactnote" or "opacnote" fields, using some consistent mechanical format (e.g., "message_flag=y, other_flag=3"). Then later you can still extract that info for use in an extended attribute, custom report, etc.<br>
<br>All Koha's date fields are represented internally as ISO format dates (YYYY-MM-DD). <br><br>--Joe Atzberger<br>Systems Administrator, LibLime<br><br><div class="gmail_quote">On Tue, Jul 22, 2008 at 11:34 AM, Nicole Engard <span dir="ltr"><<a href="mailto:nicole.engard@liblime.com">nicole.engard@liblime.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">I want to point you to the working manual: <a href="http://sites.google.com/a/liblime.com/koha-manual/" target="_blank">http://sites.google.com/a/liblime.com/koha-manual/</a><br>
<br>I don't know how to answer all of your questions, but as for the street type - this is because there is an authorized value you can assign to that to make it easier for people to add patrons.<br>
<br>As for missing fields, you can set up your own custom fields by going to the patron attribute types: <a href="http://sites.google.com/a/liblime.com/koha-manual/Home/Table-of-Contents/administration/Patrons---Circulation/patrons--circulation-patron-attribute-types" target="_blank">http://sites.google.com/a/liblime.com/koha-manual/Home/Table-of-Contents/administration/Patrons---Circulation/patrons--circulation-patron-attribute-types</a> <br>
<br>---<br><br>Nicole C. Engard<br>Open Source Evangelist, LibLime<br>(888) Koha ILS (564-2457) ext. 714<br><a href="mailto:nce@liblime.com" target="_blank">nce@liblime.com</a><br>AIM/Y!/Skype: nengard<br><br><a href="http://liblime.com" target="_blank">http://liblime.com</a><br>
<a href="http://blogs.liblime.com/open-sesame/" target="_blank">http://blogs.liblime.com/open-sesame/</a>
<br><div><div></div><div class="Wj3C7c"><br><div class="gmail_quote">On Tue, Jul 22, 2008 at 11:29 AM, Bob Ewart <<a href="mailto:bob-ewart@earthlink.net" target="_blank">bob-ewart@earthlink.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm in the process of converting our library from DBText to koha 3.00<br>
RC1 and have a couple of questions about the fields in the patron record.<br>
<br>
I see address, city and zipcode for the addresses, but no state or<br>
country fields. Being in south Florida, we do get a number of Canadians.<br>
<br>
I'm also curious about why street number and street type are separate<br>
fields.<br>
<br>
We also have a number of flags like 'mailing list' (which indicates<br>
whether or not the patron wants to get general mailings) which don't map<br>
to anything in the patron record.<br>
<br>
What format should the dates have? I don't have a sex or date-of-birth<br>
field (I'll probably use 1/1/1969 for date of birth which will make<br>
everyone 39 years old. They're all adults.)<br>
<br>
I see that the branch and category codes must be valid for importing<br>
patrons. Are there any other fields that are required or checked. I<br>
guess that cardnumber, zipcode and surname are required.<br>
<br>
Thanks for any suggestions.<font color="#888888"><br>
--<br>
Bob<br></font></blockquote></div></div></div></div></blockquote></div><br></div>