Below is what I'm working with....
I'm trying to learn how to call a procedure/module from a query in VB...
Any suggestions or examples..?
Thanks...!!
jw5107
Below is the SQL from an append query created using the wizard - "RemoveSpaces" is the procedure/module I'm tryin' to call....
INSERT INTO WWRHistoryPrep ( WWRID, IID, AllocMstr )
SELECT WWReviewHistory.WWRID, WWReviewHistory.IID, IIf(nz([Allocated])<>"",[IID] & " " & RemoveSpaces([Allocated]),[IID] & " " & [Allocated]) AS AllocMstr
FROM WWReviewHistory
ORDER BY WWReviewHistory.WWRID DESC;
I'm trying to learn how to call a procedure/module from a query in VB...
Any suggestions or examples..?
Thanks...!!
jw5107
Below is the SQL from an append query created using the wizard - "RemoveSpaces" is the procedure/module I'm tryin' to call....
INSERT INTO WWRHistoryPrep ( WWRID, IID, AllocMstr )
SELECT WWReviewHistory.WWRID, WWReviewHistory.IID, IIf(nz([Allocated])<>"",[IID] & " " & RemoveSpaces([Allocated]),[IID] & " " & [Allocated]) AS AllocMstr
FROM WWReviewHistory
ORDER BY WWReviewHistory.WWRID DESC;