[Ri...] Posted yesterday at 02:32 PM Share Posted yesterday at 02:32 PM (edited) I have several variables I need written to a PiWeb report. I am bypassing Calypso's normal input screen "Input Parameter" for header data to control what gets entered. I am using vb.net in an interface where the Serial number, Mach center, operator and WOID will be collected for strict control of what is entered. Current para file variables to write to PiWeb. OpSerNo="SC-999" OpMachCtr=K999 OpOper=M999 OpWOID=45009999 Using OpSerNo for this exercise (Solve one should solve all) with PCM. u_SerNumb=OpSerNo (works and resolves to "SC-999") But this resolves to nothing OpSerNumb=getRecordHead("u_SerNumb") Once that is solved, how do I pass the OpSerNumb to Piweb's "Incremental Counter"? (I use the Incremental Counter as a Counter and or Serial Number) (Interface shown in the image) Edited yesterday at 02:34 PM Link to comment Share on other sites More sharing options...
[Ri...] Posted yesterday at 06:43 PM Author Share Posted yesterday at 06:43 PM I figured it out, I forgot (again) about the userfields.ini file. Oops. 1 Link to comment Share on other sites More sharing options...
[Ri...] Posted 9 hours ago Author Share Posted 9 hours ago Also note, to pass the variables they did require to be wrapped in quotes. OpSerNo="SC-999" OpMachCtr="K999" OpOper="M999" OpWOID="45009999" 1 Link to comment Share on other sites More sharing options...
[Ri...] Posted 6 hours ago Share Posted 6 hours ago String variables should be wrapped in quotes. I'm not certain why the last one that is clearly an integer didn't like it; unless you initialized it as a string. Link to comment Share on other sites More sharing options...
[Ri...] Posted 5 hours ago Author Share Posted 5 hours ago I am using all of them as a string. Link to comment Share on other sites More sharing options...
[Ri...] Posted 5 hours ago Share Posted 5 hours ago OK - then yes, always wrap the input in quotes. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in