I have a Example.w file when ever i am running these file in app builder it will ask for the Connection database Window , now i don't want to open that window directly it has to open in the app builder when i run it it has to connect automatically to database and then it has to run is there any method in order to do that ?
If it is there let me know? how?
You can connect to a database using the connect statement. As I understand, you'll need to connect to the database before running your example.w, so an external procedure is necessary.
Example:
connect value ("-db sports2000 -H localhost -S 12001").
I have a Example.w file when ever i am running these file in app builder it will ask for the Connection database Window , now i don't want to open that window directly it has to open in the app builder when i run it it has to connect automatically to database and then it has to run is there any method in order to do that ?
If it is there let me know? how?
Flag this post as spam/abuse.
Yes, you can connect to a databse using an external procedure as sultza said. As an alternate, you can run it from command line in proenv like this:
prowin32 -db dbname -1 -p example.w
C:\Program Files\OpenEdge\bin\prowin32 –p _ab –db <your dbname>
in these i am giving like these C:\Progress\OpenEdge\bin\prowin32.exe –p _ab –db sports2000.db i have created shorcut on desktop for APP Builder now the Error is "
CONFIDENTIALITY. This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of JK Technosoft Ltd. If you have received this e-mail in error please immediately notify the person who has sent this email to you with copy to administrator@jktech.com
**********************************************************************************************************************I think attachment/screenshot is missing!
these are the errors i am getting
**********************************************************************************************************************
CONFIDENTIALITY. This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of JK Technosoft Ltd. If you have received this e-mail in error please immediately notify the person who has sent this email to you with copy to administrator@jktech.com
**********************************************************************************************************************
It seems like there are multiple problems here:
1) Make sure that your database exists
2) If you want to use your database in multi-user mode, serve the database on some free port:
proserve dbname -S portnum
3) Run .w as follows:
prowin32 -db dbname -S portnum -p example.w
If you didn't serve the database, run .w as follows:
prowin32 -db dbname -1 -p example.w
these are the errors i am getting
Error! Filename not specified.Error! Filename not specified.
CONFIDENTIALITY. This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of JK Technosoft Ltd. If you have received this e-mail in error please immediately notify the person who has sent this email to you with copy to administrator@jktech.com
Flag this post as spam/abuse.
What about using a PF file?
Some like this:
....\prowin32.exe -pf your_PF.pf -p your_procedure.r