LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

application doesn't work after build (database toolkit and report gen toolkit).

Solved!
Go to solution

I wrote an application using database toolkit and report gen toolkit to retrieve some data from a database,  put into a Word doc, save the Word doc and print it.  It works fine when I run the vi, but when I build and run it, it does nothing.   I have tried all of the settings in Projec Manager that I think might help but it still won't work right.  Labview 8.2.1, XP.

 

Thanks,

Charlie

0 Kudos
Message 1 of 5
(2,996 Views)
Solution
Accepted by topic author Charlie G

Hi Charlie,

 

You may be receiving an error in your application, have you implemented error handling?  I would also check this KnowledgeBase article:

 

http://digital.ni.com/public.nsf/websearch/8A0E6274D9BD7B1986256F62006AD402?OpenDocument 

0 Kudos
Message 2 of 5
(2,975 Views)

I found and included the dynamic vi like instructed.  I can now build the app and get no errors, but when I run it as an exe I get an easy table error that says number must be between 1 and 64.  My research led me to a thread about the error being caused by too many columns.  I have ony 7 columns and have tried all sorts of things only to receive the same error.  Any sugestions?

 

Charlie

0 Kudos
Message 3 of 5
(2,948 Views)

Hi Charlie,

 

Can you post the error number you're getting?   You can usually find some documentation by searchng for the error number.  Can you also post a small snippet of the problematic code?  It gives us a good starting point to help you with this issue. 

0 Kudos
Message 4 of 5
(2,921 Views)

Thanks for the help.  I finally abondened the Word append table and used the regular report gen append table and got it to work fine.  The error was 214682314.  That led me to the thread about column numbers must vbe between 1 and 63, but like I said, my coulumn number is 7 so don't know what is going on.  Anyway I got the vi to work and do what I want so I guess now the problem is solved (moot).

 

Charlie

0 Kudos
Message 5 of 5
(2,906 Views)