Nav Freezes Opening File from Request Form in Dataport

asmilie2basmilie2b Member Posts: 122
I am having an issue and would appreciate any advice.

I have made a dataport which is to be import only. I have some variables I need to fill so am using a request form.
I am using the Microsoft Common Dialog Control, version 6.0 OCX to retrieve the file for import. That seems to be working fine and I am getting my FileName variable filled. I have in my OnPreDataport trigger the asigning of that variable to the dataport.

CurrDataport.FILENAME := FileName;

Though when I run the DP the dataport freezes Nav, with no error. Running the debugger using breakpoints I can see that it get's to the end of the OnPreDataport trigger, but then it doesn't get to the first data item. I have checked everything mentioned in this post but to no avail...

viewtopic.php?f=23&t=41801&hilit=Open+file+from+dataport+request+form

cheers

[Using Nav 4.1 SP2]

Bruce Anderson

Comments

  • krikikriki Member, Moderator Posts: 9,112
    Put also a message in the OnPreDataItem of your first dataitem and check if it gets there.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.