Got it crackt now...
You where 100% right..
I changed the "Flag" to "Y" and "N" and it flys.
Now I know the why I got all the "Data Mismatch" errors.
THX for all your great help..
best regards
THX Mark...
The code runs, but will not come up with the Goods.
It stops with the first Record of the Table that matches the Part No, ignoring the second criteria of the query.
It shows the right Par, but this entry is long booked in to stock and not Outstaending no more.
I use the...
I have an Order Table where the "In" field is ether 1= Outstanding or 0=Arrived
I like to run a Query on Part Numbers of Parts on order, witch are still outstanding.
But all mutations on the SQL syntax give me grief.
Any pointers?
Regards
My String is like this:(not a jocke, lol)...
Hi..
Yes you can do this in VB.
All you need is a existing Querie, and the code to export the results to Exel.
code is like this:
Private Sub Command_Click()
Dim strExcelFile As String
Dim strWorksheet As String
Dim strTable As String
Dim objDB As Database
'Change Based on your needs, or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.