Query troubles

  • Thread starter Thread starter mvdrumaboy
  • Start date Start date
M

mvdrumaboy

I am trying to build a query that uses the following to generate the
query:

UniqueID: Left([FlightID],3) & Left([Surname],3) & Right([PassID],3)

Which generates an output like "773wat1"

I would like to know how I can make the 'wat' into caps ('WAT) and how
I can force the '1' to become "001"

Your help is most appreciated
 
Sorry I didnt realise this was the forms section.

Apologies.

Please ignore this.
 
Left([FlightID],3) & Ucase(Left([Surname],3)) & Format(Right([PassID],3),"000")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top