I have run into an obstacle with our ERP software (Commerce Center). Our software is an SQL 2000 based system with a front end created with PowerBuilder, which I cannot modify at all. My problem is that when someone tries to create a new Ship To record in the user interface, there is a particular field that is often left blank. Commerce Center does not require this field, but as a company policy I always want the field to be populated. I have tried changing the field to not null in enterprise manager, but because of the way commerce center is programmed, I get an error and it does not insert the record, but the user cannot go back and populate that field. I have tried a few other things, but ultimately the insert statement has to be allowed with corrective measures taken after the insert statement. I know I can create a trigger that will email the user who saved the record, but the user could then ignore the email. What I would like to have is an input box that will pop up on the user’s screen for them to enter the data for that field. I have no idea how to accomplish this. I tried to create a quick VB app that simply had a text box and submit button which would run an update statement. This VB app would then be executed through a trigger that used xp_cmdshell. I found that my program would run, but the interface was never seen. Does anyone have any suggestions for me?
Thanks,
Michael Dean
Thanks,
Michael Dean