J
Jacinto
I'd like to display the result of the query below
on a text box, named "bidNumber", after an update event.
I've put the "First" function so the result is only one.
But it does not seem to display. Any help will be very
appreciated!
Dim bidDisplay As String
Me.Refresh
If Bid = True Then
BidDisplay = "SELECT First(IIf([Opportunity].[bid],
[industryTypeId]+ Format([Opportunity].
[opportunityId],""000""),"""")) AS Bid_Reference FROM
Company INNER JOIN Opportunity ON Company.companyId =
Opportunity.companyId GROUP BY Opportunity.Description,
Opportunity.opportunityId, Opportunity.Bid HAVING
(((Opportunity.opportunityId)=[Forms]![frmCompany]!
[Child14].[Form]![opportunityId]) AND ((Opportunity.Bid)
=Yes))"
BidNumber = bidDisplay
Me.Refresh
End If
Thanks for your help and sorry for making this a new post
while its a continuation of an existing post.
Jacinto
on a text box, named "bidNumber", after an update event.
I've put the "First" function so the result is only one.
But it does not seem to display. Any help will be very
appreciated!
Dim bidDisplay As String
Me.Refresh
If Bid = True Then
BidDisplay = "SELECT First(IIf([Opportunity].[bid],
[industryTypeId]+ Format([Opportunity].
[opportunityId],""000""),"""")) AS Bid_Reference FROM
Company INNER JOIN Opportunity ON Company.companyId =
Opportunity.companyId GROUP BY Opportunity.Description,
Opportunity.opportunityId, Opportunity.Bid HAVING
(((Opportunity.opportunityId)=[Forms]![frmCompany]!
[Child14].[Form]![opportunityId]) AND ((Opportunity.Bid)
=Yes))"
BidNumber = bidDisplay
Me.Refresh
End If
Thanks for your help and sorry for making this a new post
while its a continuation of an existing post.
Jacinto