DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   printing a form (http://www.daniweb.com/forums/thread30000.html)

reyhan12 Aug 7th, 2005 12:26 pm
printing a form
 
i need to make a purchase order and sales invoice to print in vb6. i used datareport. i already have a code that i can't get to work. i uploaded http://www.savefile.com/files/7624022

it gave me this error.

Run-time error '-2147217900(80040e14)':

Data shape command text contains a syntax error at or near position 114 in the command. The text near the error is: "Command2 RELATE) AS Command2".

when i clicked debug, it pointed me to the line

DataEnvironment1.Command1 (Combo1.Text)
this is the only thing left to do to finish my project. i really gotta make this work. hope you guys can help. thanks!

Marikanna Aug 7th, 2005 7:20 pm
Re: printing a form
 
1 Attachment(s)
Hi,

I am attaching the zip file contaning the modified version of your project. It now shows the Report with the Data. I guess this is what you did like to see.


Marikanna


---------------------------------------------------------------------
Success is a Journey, not a Destination

reyhan12 Aug 8th, 2005 10:53 am
Re: printing a form
 
hi, thanks for the modified program!! it's working! thank you so much!!


All times are GMT -4. The time now is 12:34 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC