"workflow" under navision

OliverT
Member Posts: 37
i try to make a "workflow" under navision (i'm not sure if it's called "workflow"
)
all i want to do is to show a bmp (saved in a blob-field of course
) of a record in a picture-box and run codeunit x ... after codeunit x finished i want to read the next record (to show another bmp) and run the next codeunit.
my code looks something like this:
instead of showing every picture the form just shows the first and the last (but not the step's between the first and the last step)

all i want to do is to show a bmp (saved in a blob-field of course

my code looks something like this:
record.find('-'); codeunit.run; record.next; codeunit2.run; record.next; codeunit3.run;and so on ...
instead of showing every picture the form just shows the first and the last (but not the step's between the first and the last step)

0
Comments
-
1)What about calcfield on picture BLOB?
2)What about CurrForm.UPDATE?0 -
It's just a question... is codeunit.run synchronous?0
-
-
1.) calcfield on a blob-field? :?
2.) currform.update tries to save the record
currform.updatecontrols just changes anything
hmm ... :roll:0 -
You MUST call calcfield on BLOB to be able to read that blob (or show it on screen as bitmap).
CurrForm.UPDATE(false) dont save record... :-)0 -
in the blob-field is a bmp ... i try to show it in a pictrue box
(but i tried to make a calcfields anyway - no changes)
"currform.update(false);" changes anything0 -
Set Name property on Picture Box and use CurrForm.ControlName.UPDATE.
(where Controlname is the name of the Picture Box)
It helps.... :-)0 -
thanks ... it works
"Picturebox" is the name of my control (it's a pictrue box)
"Picture" is the name of the blob-field in my table
CodeunitX is a variable (type "codeunit")FIND('-'); CALCFIELDS(Picture); CurrForm.Picturebox.UPDATE; CodeunitX.RUN(); IF NEXT = 0 THEN FIND('-'); CALCFIELDS(Picture); CurrForm.Picturebox.UPDATE; CodeunitX.RUN(); ...
0
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