We are trying to use comments for them to display on the excel report that is created. We have some code to do that, however we need it to be a drop down list so that they cannot put wrong labels on the report. I want it so that when they start up the program it prompts them to input the machine number and shift from drop down lists and have them be labeled on the excel report that is created. What is the best way to go about this?
How can I use a drop down list for Comments on a report?
Collapse
X
-
Use a form.
File > Reporting > New > Form Report
Place a combo box on it.
Right click on form to open properties window
Add your items to the ListItems propertiy
Repeat as necessary for shift / machine / operator etc
Save the form
In part program...
Insert > Report Command > form and select your saved form.
To link pc-dmis assignments with comboboxes do this....
Code:ASSIGN/MY_SHIFT="" CS1 =FORM/FILENAME= C:\USERS\JON.WOOD\DESKTOP\MYFORM.FORM PARAM/COMBOBOX1.TEXTVALUE=MY_SHIFT PARAM/= ENDFORM/ COMMENT/REPT, MY_SHIFT
Applications Engineer
Hexagon UK
- Likes 2
Related Topics
Collapse
-
by zachzwpWe currently have a form for our programs that lets us choose machine/shift and it reports out to the excel report that is created. How would I go about...
-
Channel: PC-DMIS for CMMs
05-02-2019, 10:28 AM -
-
by panelbeater1Afternoon all.
I'm having a few issues with the excel form report that was introduced in 2019
Ive come to realise conditional...-
Channel: PC-DMIS for CMMs
05-03-2020, 12:57 PM -
-
by Spencer_23I've got a few custom forms I have created that the operators fill out before they start the program, I would like to add the forms to my report after...
-
Channel: PC-DMIS for CMMs
03-07-2013, 07:23 PM -
-
Hi techs:
I am working 4.0, and have a quesion on inserting a picture into a program...
When I go thru the usual procedure...-
Channel: PC-DMIS for CMMs
06-03-2011, 06:17 AM -
-
by Ray HarveyI am looking to add the time stamp and date on my excel form report. I have a form that I am using that i created. I am able to get all the information...
-
Channel: PC-DMIS for CMMs
11-19-2020, 07:41 AM -
Comment