W
Wayne Livingstone
Hi...
I've gotten this far with my code:
'Start
Dim strSqlSelect4 As String
Dim strSqlOrder4 As String
Dim strSqlWhere4 As String
'Create SQL Query
strSqlSelect4 = "SELECT PrintFeeID " & _
"FROM [PrintingFees] "
'Where
strSqlWhere4 = " WHERE [PrintingFees].Plotter =" _
& Chr$(34) & [Forms]![PlotSelect]![Plotter] & Chr$(34) _
& " AND [PrintingFees].Paper =" _
& Chr$(34) & [Forms]![PlotSelect]![Paper] & Chr$(34) _
& " AND [PrintingFees].Colour =" _
& Chr$(34) & [Forms]![PlotSelect]![Colour] & Chr$(34)
This code will produce a unique PrintFeeID. I need to put
this PrintFeeID into a text field on my form or possibly
directly into the table.
I would also like to make an expression of the values from
Plotter, Paper and Colour in the form of "Plotter : Paper :
Colour" and place this into a text field or directly into
the table.
I hope someone can show me how this can be done.
Thanks
I've gotten this far with my code:
'Start
Dim strSqlSelect4 As String
Dim strSqlOrder4 As String
Dim strSqlWhere4 As String
'Create SQL Query
strSqlSelect4 = "SELECT PrintFeeID " & _
"FROM [PrintingFees] "
'Where
strSqlWhere4 = " WHERE [PrintingFees].Plotter =" _
& Chr$(34) & [Forms]![PlotSelect]![Plotter] & Chr$(34) _
& " AND [PrintingFees].Paper =" _
& Chr$(34) & [Forms]![PlotSelect]![Paper] & Chr$(34) _
& " AND [PrintingFees].Colour =" _
& Chr$(34) & [Forms]![PlotSelect]![Colour] & Chr$(34)
This code will produce a unique PrintFeeID. I need to put
this PrintFeeID into a text field on my form or possibly
directly into the table.
I would also like to make an expression of the values from
Plotter, Paper and Colour in the form of "Plotter : Paper :
Colour" and place this into a text field or directly into
the table.
I hope someone can show me how this can be done.
Thanks