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!

Recommended Answers

All 2 Replies

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

hi, thanks for the modified program!! it's working! thank you so much!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.