Thanks Massimo for shining light on the situation. After your reply i went ahead and tried b = int(a) and received an error. TypeError: int() argument must be a string or a number, not \'list\'\n'
So after that I started fresh with a new database since the previous database had imported data. I only inserted two records via appadmin ran through everything again and im still getting the same issue with the ids turning into a list. The database is MySQL hosted via PA and im running web2py 2.8.2. Table definition is below as well. When I just view a=request.args(0) by itself its not concatenating the ids into a list its displaying the id as expected onclick. I test it with sqlite as well and same issue.
db.define_table('Company',
Field('Name', 'text', requires=IS_NOT_EMPTY()),
Field('Address', 'text'),
Field('Address2', 'text',),
Field('City', 'text'),
Field('State', 'text'),
Field('Zip', 'integer'),
Field('Email', 'text'),
Field('Website', 'text'),
Field('CouncilMember', 'boolean', default=False),
Field('Contact', 'text'),
Field('Phone', 'text'),
Field('Fax', 'text'),
auth.signature)