Forum Post: RE: Possible to use a variable for database?
Yes you should be able to use Dynamic SQL with Update statements. For example, the video that Chris linked to in his response above (at about 1:07) shows an example of an UPDATE statement being coded...
View ArticleForum Post: RE: Possible to use a variable for database?
Yes, apparently it can be done with Oracle, which we use, but by using host variables rather than ? placeholders. I need to look into it more.
View ArticleForum Post: XDB
HI, i'm using xdb command for create a new location if I use the form "Create Location" after I have submitted name, creator, path and press the OK button , the procedure hangs with a message does...
View ArticleForum Post: RE: XDB
You posted this in the Visual COBOL forum but Visual COBOL does not support the XDB component. Which product are you using, Enterprise Developer perhaps? There is a separate forum for ED issues as...
View ArticleForum Post: COBOL class calling WinForms
Hi, In most of the example i found that Winform is loaded from the main programs and on the events of the Controls ( Like Button) call to COBOL program or the invoking of obj for COBOL class is made....
View ArticleForum Post: Compile Error
I'm receiving the following error when compiling. C:\Program Files (x86)\Micro Focus\Visual COBOL\cpylib\sqlca.CPY (1,8-10) : error COBCH0217 : Preceding item at this level has zero length Error 0217...
View ArticleForum Post: openESQL Assistant
I'm using VS 2015 with VC 2.3. Trying to run openESQL Assistant and it prompts me to specify either MS Excel or Access. When I check either box I receive the error "the operating system is not...
View ArticleForum Post: RE: COBOL class calling WinForms
A Windows Form is a .NET class just like any other class and you can create an instance of a Windows Form and invoke its methods from within a non-Forms class without a problem. The properties of...
View ArticleForum Post: RE: openESQL Assistant
I have never encountered this error before either. What Operating System are you using? At what point during the process does it prompt you to use MS Access or Excel? Are you provided with a list of...
View ArticleForum Post: RE: rts 9/105 on open extend
Getting a memory allocation error on an Open Extend doesn't make any sense. Does this error occur on all files or just on a particular file? What does the SELECT/FD for this file look like? How are...
View ArticleForum Post: RE: best architecture solution for migration
Hi Chris, If you want to move a Cobol/Linux application to Visual COBOL, you wan to maintain the data files on Linux and in the near future you want to add a new GUI to it, in your opinion, what is...
View ArticleForum Post: PreviousPage.Master.FindControl
I have a Master Page and it has a TextBox where User Name is informed, I would like to pass this information to the other system page? To call the pages I'm using. Asp:...
View ArticleForum Post: RE: PreviousPage.Master.FindControl
I don't believe that PreviousPage will work when you are transferring control using NavigateURL as the PreviousPage property will = null. In this case you might want to set a session variable in the...
View ArticleForum Post: RE: openESQL Assistant
Windows 7 Pro. After I click VIEW and select MICRO FOCUS SQL TOOLS, then go to OPENESQL ASSISTANT it opens a page with a selection in the left column, either Excel or Access. I have a screen shot of...
View ArticleForum Post: RE: COBOL class calling WinForms
Thanks Chris , i understood now that we use Showdialog to invoke the forms instead of Run. Tried it and ran successfully , now i am able to pass data to and from between the form and cobol code. I...
View ArticleForum Post: RE: openESQL Assistant
At the bottom of this reply field there is a link "Use rich formatting". Click this and then you will see an Options tab at the top. Click that and you can attach files, although there is a size limit...
View Article