Program a WAIT Function? NAS

Iwan_Jauch
Member Posts: 35
Hi there
I have a problem with a Report. The Navision seems to be to fast for my code. Does anybody know a function to let navision wait for a few seconds ?
Thanks a lot for your help
Iwan
I have a problem with a Report. The Navision seems to be to fast for my code. Does anybody know a function to let navision wait for a few seconds ?
Thanks a lot for your help
Iwan
0
Comments
-
Sleep.
But I never heared about too Fast Navision...0 -
Hihi
ok back to my problem! I need an Event when Navision printed the report!
Is there a solution available?
Best Regards
Iwan0 -
Iwan, please, describe what you want to reach, may be there is another solution than sleeping for some time. I never had this need...0
-
Hi kine
I want to create a pdf document with navision. When I start the report normally (not over NAS) everthing works, but when I start the report over the NAS It doesnt work.
I receive this message:
Overflow under type conversion of Text to Code.
I have no idea what the problem is!
Thanks for your help
Iwan0 -
run the NAS with parameter debug=1. After the error, debugger shows you where is the problem. Somewhere you are assigning Text value to Code variable and the source value is longer than max. length of the Code variable... (assigning through :=, Validate or passing it as parameter to some function). It can be problem of working with windows accounts, when the SID is not recognized and instead userID is the SID passed (commonly the application has all USERID field of type CODE 20, but the sid is TEXT and the length is more than 20 characters). Please, look into Windows logins, if there are some SID not translated to login names...0
-
Hi kine
Thanks a lot for your help. I found the problem. The table user has a field with the name userid Code20. The table printerselection has the same field normally with type Code10. I used a login name for the nas how was longer than 10 characters. That was the problem.
Best regards,
Iwan0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions