mod 10 check

T

tatertot98

I'm trying to define a upc field based on 3 other fields plus a mod 10
check digit; the issue I'm having is I can not figure out how to do
the mod 10 check in infopath and to make things worse the default
language was set to jscript. As a solution (or so I thought) I
created a control in vb to handle the check digit and tied it to a
query; problem is i can't set the query as a data source due to the
custom control (or so I think).

I'm hoping someone here could help me as I'm about ready to scrap the
form as this is a must. Any help will be greatly appreciated.

Thanks,

Sean
 
G

Gavin McKay

Hello,

Have you tried using .NET code to do this? You could trigger an event that
would calculate (via the System.Math namespace perhaps) the required value
and set the field(s) as needed.

HTH

Gavin.
 
T

tatertot98

Hello,

Have you tried using .NET code to do this?  You could trigger an event that
would calculate (via the System.Math namespace perhaps) the required value
and set the field(s) as needed.

HTH

Gavin.
--
2B | !2B






- Show quoted text -

i'm not really sure how to do that; i unfortunately have limited code
knowledge, i know only what i have picked up in working in access. i
wonder if there is a way to do this in a formula; the issue i ran to
here is the lack of the mod, and mid function.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top