Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PB 8 build error

Status
Not open for further replies.

vulcanjena

Programmer
May 22, 2003
39
PR
I have an PB8 small applications , When I full build with PBD option enable , it is building everything and working fine .
But when I tried to create only EXE with PBD option disable , it is also creating the EXE but when I tried to run there is a dropdown datawindow option in my application which shows database error when I clicked on that dropdown option.

Note : I'm using PB 8 & SQL server 8.0

What could be possible reason for this kind of error ???
 
You need to add the name of the datawindow object used in your dropdown to your .pbr file. These objects are not 'picked up' by the build process when generating machine code (as they are when a pbd is built).
 
Thanks for the reply. But my problem is I can't add the datawindow object b'cos it is going to work on different databases ...I mean both in SQL as well as ORACLE database.So is there any way ..I can do ??? Thanx in advance.
 
The database should not matter if you created the sql statements in graphic mode. To get a datawindow object to be included in a build of machine code you have to list it in the .pbr file for the application when you generate the executable. The same would be true if you included all of your .pbl files in one large executable instead of building .pbd files.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top