SpeedyGonza
Technical User
I have added a custom text field using VBA and Modifier and store it as a DUOS object. It uses a combinedID like this:
ObjectID = VBADynamics.DUOSObjectCombineID(ItemTransactionEntry.Number, ItemTransactionEntryDetail.LineSEQNumber)
Now when I click delete on the main window it will be able to find the ItemTransactionEntry.Number but it doesn't know anything about the LineSEQNumber. Is there something like a wildcard character that I can use and tell the program to delete anything that contains the first part of the combinedID?
If I cannot do this programmatically in VB...can anyone offer some help in how to invoke a stored MSSQL procedure to do this?
I have installed RetrieveGlobals.dll and ado add-on for GP. I couldn't get my connection string working:
cn.ConnectionString = "Provider=SQLOLEDB;Driver={SQL Server};Server=MyServerName;Database=MyDatabase;Trusted_Connection=yes;"
cn.CursorLocation = adUseNone
cn.Open
cmd.ActiveConnection = cn
cmd.CommandType = adCmdText
But I get an error saying "Invalid connection string attribute"
Thank you very much.
ObjectID = VBADynamics.DUOSObjectCombineID(ItemTransactionEntry.Number, ItemTransactionEntryDetail.LineSEQNumber)
Now when I click delete on the main window it will be able to find the ItemTransactionEntry.Number but it doesn't know anything about the LineSEQNumber. Is there something like a wildcard character that I can use and tell the program to delete anything that contains the first part of the combinedID?
If I cannot do this programmatically in VB...can anyone offer some help in how to invoke a stored MSSQL procedure to do this?
I have installed RetrieveGlobals.dll and ado add-on for GP. I couldn't get my connection string working:
cn.ConnectionString = "Provider=SQLOLEDB;Driver={SQL Server};Server=MyServerName;Database=MyDatabase;Trusted_Connection=yes;"
cn.CursorLocation = adUseNone
cn.Open
cmd.ActiveConnection = cn
cmd.CommandType = adCmdText
But I get an error saying "Invalid connection string attribute"
Thank you very much.