Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / April 2008

Tip: Looking for answers? Try searching our database.

InfoPath won't talk to Access after 255 characters. Workaround     please?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rachel Garrett - 14 Apr 2008 23:19 GMT
As early as this morning, I was calling InfoPath my favorite Microsoft
product. That was before I found out that it disables submission of
information back to the database if anything you're reading from it is
too long:

"Submit status: Not allowed - One or more of the columns in the data
source has a long data type (text, ntext, hyperlink or image). Long
data types are not supported."

The "workaround" I see listed, when I Google this text, is that I
should write a web service. I don't have time to learn how before this
work project is due on Friday, and it doesn't seem to me like that
could be the most efficient way to do it. Here are my thoughts:

1) I could convert all the tables in the Access database to XML, and
write my forms again from scratch using the XML documents as the data
source(s). I haven't yet figured out how to submit changes to an XML
data source, just by filling out an InfoPath form. The "submit" button
properties don't seem to allow this.

2) I could forget InfoPath and write a form in Access instead.

3) I could keep the Access data >> InfoPath forms that exist, and
figure out a way to append the data collected in InfoPath into an
Excel spreadsheet, which I then could append to the existing tables in
Access.

I feel like I must be doing something wrong, because letting users
interact with data (i.e. read and change it) is exactly what InfoPath
is supposed to do, but I can't seem to make it work for something that
is actually pretty basic -- letting users search for information in a
database and make changes to a couple date fields and a comments
field.

Thanks,
Rachel Garrett
Clay Fox - 15 Apr 2008 01:08 GMT
Unfotunately you have discovered one of limitations in InfoPath's default
database connectivity.

You can accomplish what you want but you need SQL and webservices.  You can
purchase the web services you need to dynamically submit and query tables
without limitations on large file types.

If you would like to see a demo of InfoPath and database integration you can
send me an email here.
http://www.infopathdev.com/members/clayfox.aspx

Signature

Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum

> As early as this morning, I was calling InfoPath my favorite Microsoft
> product. That was before I found out that it disables submission of
[quoted text clipped - 32 lines]
> Thanks,
> Rachel Garrett
Rachel Garrett - 15 Apr 2008 02:03 GMT
On Apr 14, 7:08 pm, Clay Fox <Clay...@discussions.microsoft.com>
wrote:
> Unfotunately you have discovered one of limitations inInfoPath'sdefault
> database connectivity.
[quoted text clipped - 5 lines]
> If you would like to see a demo ofInfoPathand database integration you can
> send me an email here.http://www.infopathdev.com/members/clayfox.aspx

Thanks for the response, but I need to figure out how to make MS
Office products work as advertised. It's too bad that an
administrative assistant has to turn developer in order to do that.

--Rachel
Gavin McKay - 15 Apr 2008 14:16 GMT
Hi Rachel,

From the sounds of your requirements, I think your first thoughts are
correct - InfoPath may not be the right fit for what you want to do.

InfoPath is exceptional at quickly collecting data and presenting users with
a standards-based method of data entry.  From the Microsoft InfoPath overview
website (http://office.microsoft.com/en-us/infopath/HA101656341033.aspx):

"With Office InfoPath 2007, you can create and deploy electronic forms
solutions to gather information efficiently and reliably."

It is designed to support mutliple devices (tablets, mobile, etc.) and be
web-delivered to a large audience if required.  But it's strength IMHO is
*collecting* the data, not necessarily allowing users to search and make
changes as with your requirements.  If you need to do this with InfoPath,
then yes, you probably do need to develop web services and make it a
"project".  It can definitely be done, but it is not a simple process.

Access was built for small workgroups to be able to collect and manage data.
If you want several users to be able to search, insert, update, delete, and
report on data, then Access is definitely a better fit.

HTH, and best of luck with your project :)

Gavin.
Signature

InfoPath Knowledge Base
http://www.infopathkb.com/
2B | !2B

> As early as this morning, I was calling InfoPath my favorite Microsoft
> product. That was before I found out that it disables submission of
[quoted text clipped - 32 lines]
> Thanks,
> Rachel Garrett
MikeWal - 15 Apr 2008 15:25 GMT
Not sure this is what you mean but ... if you are trying to save more than
255 characters into a text field in Access then InfoPath is not the problem
at all ... 255 chracters is he maximum length in Access (or most DBs for that
matter) for Text fields.  Sounds like you need a Memo field or better
relational design in the DB.

> Hi Rachel,
>
[quoted text clipped - 59 lines]
> > Thanks,
> > Rachel Garrett
Rachel Garrett - 29 Apr 2008 13:39 GMT
> Not sure this is what you mean but ... if you are trying to save more than
> 255 characters into a text field in Access then InfoPath is not the problem
> at all ... 255 chracters is he maximum length in Access (or most DBs for that
> matter) for Text fields.  Sounds like you need a Memo field or better
> relational design in the DB.

Mike,

You're right, the field is stored as Memo, which is unsupported by
InfoPath. It's a comments field, so it can't be fixed by changing the
database design. Allowing the users to enter more than 255 characters
is a requirement.

--Rachel
BobCh - 29 Apr 2008 18:00 GMT
Can you add a repeating list of comments.  I genrally do this so that
I know when a comment was added (with a date field) and by whom (with
a user name field)

like this
Notes
   NoteText
   DateEntered
   Author

IMO, This type of method allows for better management of notes.

> > Not sure this is what you mean but ... if you are trying to save more than
> > 255 characters into a text field in Access then InfoPath is not the problem
[quoted text clipped - 10 lines]
>
> --Rachel
Rachel Garrett - 29 Apr 2008 13:47 GMT
On Apr 15, 8:16 am, Gavin McKay <GavinMc...@discussions.microsoft.com>
wrote:
> Hi Rachel,
>
[quoted text clipped - 18 lines]
>  If you want several users to be able to search, insert, update, delete, and
> report on data, then Access is definitely a better fit.

Well, it was going to be 90 people, with only 10 or so of them allowed
to make changes. Because of the limitation that users can only submit
back to the database if no field is over 255 characters, the Access
solution will only help 10 people instead of helping everyone. I still
think it's silly that Microsoft touts InfoPath as this great way to
have powerful interactions with your database. If it's really only
*meant* for gathering data, they ought to say so.

Thanks,
Rachel
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.