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!

conversion from forms 4..5 to 6.0 1

Status
Not open for further replies.

bookouri

IS-IT--Management
Feb 23, 2000
1,464
US
I'm trying to move our forms from 2.5 to 6.0 and have run into a stranged problem with the run_product command..

I have buttons which use the run_product command to run various reports such as:
run_product REPORTS,'p:\r6working\assess3.rep',SYNCHRONOUS, RUNTIME,DB, NULL);

this worked in forms 4.5 but refuses to compile with 6.0.

when compiling I get :
error 307 at line 2, column 2
too many declarations of 'RUN_PRODUCT' command match this call



 
I have run into a similar problem (though I don't recall the error message) with the run_product command. In my case, I had to change:
Code:
  run_product(REPORTS,'c:x.rep',SYNCHRONOUS,RUNTIME,DB,NULL);
to
Code:
  run_product(REPORTS,'c:x.rep',SYNCHRONOUS,RUNTIME,DB,'');
Replacing the NULL with '' eliminated the error. This was in an earlier version, I think I was migrating from 4.5 to 5.0

monte [sig][/sig]
 
thanks, that fixed that problem. Its these little unidentifiable problems that really get me when dealing with developer. They just seem to pop up everywhere in developer.

thanks again, I never would have figured that one out.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top