General information
Category:
Third party products
ix = pm.AddLineItem() &&where pm = CreateObjectEx("Progistics.Merchant") which is running on a remote server. ix = actually equals 0 because this scripting array begins at zero.
The example that I quoted was taken from VB Scripting. When I looked up the source code in regular VB5, it was displayed like this:
FormatWeight.Value=txtWeight1.Text
PMInstance.ProductAttribute(i,"WEIGHT")=CDbl(FormatWeight.Value)
Notice the CDbl? I thought this was causing a possible datatype error which would explain the 'Invalid Function, argument, or value' but I am also getting the same error for the "FALSE" statement (which is text, not a flag). Upon displaying their value and character types, I just receive .NULL.
I do believe that ix and i represent row 0 of an array because you can have multiple shipping packages per shipment which is the OrderAttribute vs. the many of ProductAttribute. When you perform the AddLineItem() it adds another line to the array (or index number which it is referred to in the documentation).
Thanx for your prompt response.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only