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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error received when transferring transaction to PT using DDE

Status
Not open for further replies.

skpolly2

Technical User
Mar 25, 2003
1
US
Error returned when using dde to interface my program with peachtree. sending a transaction for a customer in PT.
Error is this:

Topic: PTCOMPAN
Received: DDDE_INITIATE: PTCOMPAN.
REPLIED: DDE_ACK: PTCOMPAN
RECEIVED: DDE_POKE: file=salesjournal, CLEAR
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=Customer
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=invoice
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=date
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=datedue
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=firstdistribution
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,field=nextdistribution
REPLIED: DDE_ACK: ok
RECEIVED: DDE_POKE: file=salesjournal,SAVE
REPLIED: DDE_ACK: Cannot save when out of balance.

Here is the kicker. If I go into PT and remove a single character from the customer name field the transaction will go over. If I then max out the same field with numbers (39 character max.)It will process the transaction. What might be wrong???

Thank you in advance!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top