pullmyefinger
Registered User.
- Local time
- Today, 08:19
- Joined
- Feb 26, 2011
- Messages
- 37
1. been reading on here trying to find out what to use to solve a 3464 data type mismatch. I understand the error but have tried to fix it with 3-5 conversion functions including CInt, Val, Eval(Left(... etc. and nothing works.
DoCmd.OpenReport "hieronly", , , "[hierarchy] = " & Chr$(34) & CInt(Left((Me.hirep), 1)) & Chr$(34)
Hierarchy is Number/Integer and hirep is a textbox, so I know the text must be conv to a number first, then evaluated. Not working.
I even tried Me.hirep.value with the functions and still no luck. Ideas??
2. Edit form, table attached to form. Form will edit and delete records via cmd buttons. How do I get the records in the form to display in SORTED Order by a particular field? I tried a select query with the field listed and in ASC order but that does not work either.
Also tried OnOrderby or whatever that is called, but don't know how to apply it.
Any Help?
DoCmd.OpenReport "hieronly", , , "[hierarchy] = " & Chr$(34) & CInt(Left((Me.hirep), 1)) & Chr$(34)
Hierarchy is Number/Integer and hirep is a textbox, so I know the text must be conv to a number first, then evaluated. Not working.
I even tried Me.hirep.value with the functions and still no luck. Ideas??
2. Edit form, table attached to form. Form will edit and delete records via cmd buttons. How do I get the records in the form to display in SORTED Order by a particular field? I tried a select query with the field listed and in ASC order but that does not work either.
Also tried OnOrderby or whatever that is called, but don't know how to apply it.
Any Help?