this seems to work:
on the debug:
name2 = "1234 Pheasant Street, Wherever CA 94587"
les22 = mid(name2,instr(1,name2," ")+1)
? les22
Pheasant Street, Wherever CA 94587
on a query:
select mid([address],instr(1,[address]," ")+1) As ADDSORT, *
from wherever
this seems to work:
IIf(InStr(InStr([address]," ")+1,[address]," ")<>0,Right([address],Len([address])-InStr(InStr([address],"")+1,[address]," ")),Right([address],Len([address])-InStr([address]," "))) AS SORTORD
ty,
=)
Raskew,
Your reply looks interesting. Can you give a step-by-step instruction to an obvious rookie on how to see this work.
Attaching a file would help.
Can anyone please help me with my current dillema.
I'm creating a billing form and i need to breakdown the monthly payments (date). I have a field where users enter the first payment [firstpayment] and another field where they enter the number of months [MonthsToPay]. Now, I breakdown the...
Can anyone please help me with my current dillema.
I'm creating a billing form and i need to breakdown the monthly payments (date). I have a field where users enter the first payment [firstpayment] and another field where they enter the number of months [MonthsToPay]. Now, I breakdown the...
Thanks for the suggestion. However, I need to be able to query out records based on the textboxes with expression for monthly billing.
The fom I've created is a Billing form that breaksdown when the dates of the payments based on [FirstPaymentDue] by using...
As a work around, since IsNothing works on the converted database from 97 (so the wizard says), I copied and pasted all of my forms, databases, queries and reports into the converted one. Re: IsNothing being a built-in function in 97 or 2k is uhm... hmmm. I'll have to go with the saying "if it...
Finally got this working by creating a search form using a yes/no buttons based on a previous post :
http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=36145&highlight=searchhttp://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=36145&highlight=search
For some...