stephenmbell
IS-IT--Management
I am in the middle of building a small web based contacts application. Prior to this, my client was using Yahoo for their contacts - but certain security issues have come up.
My question is this..
my contacts table looks somewhat like this..
----------
id
firstname
middle
lastname
homephone
workphone
mobile
fax
other
address
companytitle
jobtitle
companyaddress
notes
----------
And here is where I am stuck... I am using an Access DB for a backend. I want to query the contacts and order them by Lastname, Firstname **BUT - if there is a company name, I want to order by that
example:
Adams, Mike
Andrews, Dave
Apple Store
Bell, Dan
Best Western
is this possible with having all of the data in the same table??
Thanks.
My question is this..
my contacts table looks somewhat like this..
----------
id
firstname
middle
lastname
homephone
workphone
mobile
fax
other
address
companytitle
jobtitle
companyaddress
notes
----------
And here is where I am stuck... I am using an Access DB for a backend. I want to query the contacts and order them by Lastname, Firstname **BUT - if there is a company name, I want to order by that
example:
Adams, Mike
Andrews, Dave
Apple Store
Bell, Dan
Best Western
is this possible with having all of the data in the same table??
Thanks.